This example flashes available LEDs on supported boards, one by one.
See theCore documentation for blinky example for more information.
Target name | Configuration file | Description |
---|---|---|
stm32f4_disc | stm32f4_discovery.json | STM32F4 discovery board |
tiva_tm4c_launchpad | tiva_tm4c_launchpad.json | TM4C123G LaunchPad Evaluation Kit |
Install theCore (this may take a while):
pip3 install tcore tcore bootstrap
Download this example:
tcore init --remote https://github.com/theCore-embedded/example_blinky
Step into the project directory:
cd example_blinky
Compile:
For STM32 Discovery board:
tcore compile --target stm32f4_disc
For Tiva TM4C LaunchPad:
tcore compile --target tiva_tm4c_launchpad
Connect your board.
Run:
For TivaC launchpad:
tcore flash --sudo
For old STM32F407G-DISC boards, with STLINK/V2:
tcore flash --sudo
For new STM32F407G-DISC1 boards, with STLINK/V2.1:
tcore flash --sudo --debugger-config stlink-v2.1
Observe LEDs blinking on your board.
Let it out! File an issue or create a pull-request, if you already have an idea how to fix it.