Skip to content

Latest commit

 

History

History
85 lines (57 loc) · 1.27 KB

README.md

File metadata and controls

85 lines (57 loc) · 1.27 KB

stm32 MacOS Build Status Releases platform

Simple Yet Powerful SDK for stm32f1

Installation

$ git clone https://github.com/but0n/stm32_MacOS.git
$ cd stm32_MacOS && make install

Usage

Cross compile

$ make

Disassembly

$ make dump

Clean

$ make clean

USART Serial debug

$ make tty

In-System Programming

stm32flash (with USART):

  • Installation:
$ brew install autoconf
$ brew install automake
$ brew install pkg-config
$ git clone https://github.com/ARMinARM/stm32flash.git
$ cd stm32flash
$ make
  • Usage:
make tty

dfu-util (with USB):

Note: This way is only supply STM32F105xx/107xx devices. An external clock (8 MHz, 14.7456 MHz or 25 MHz.) is required for DFU and CAN bootloader execution after the selection phase.

  • Installation:
brew install dfu-util
  • Usage:
make dfu

You may need some tools as follows:

  • coreutils
    Read Path
$ brew install coreutils