Skip to content

mbed-ce-libraries-examples/Custom-target-example-Extended

Repository files navigation

Custom-target-example-Extended

This example is based on mbed-ce-custom-targets and demonstrate how to run custom targets under MbedCE. For example BluePill STM32F103

How to start

This guide assumes you are familiar with the MbedCE build system, if not, please visit https://github.com/mbed-ce/mbed-os/wiki

  1. Open OS Command line and navigate to your workspace, for exampe C:\MbedCE_projects\
  2. Into Command line type
  • git clone --no-recurse-submodules https://github.com/mbed-ce-libraries-examples/Custom-target-example-Extended.git HerePlaceMyProjectName
  • cd HerePlaceMyProjectName && git submodule update --init -- mbed-os custom_targets
  • if you want to move MbedOS to the latest tracked commit without fetching nested submodules inside mbed-os, use git submodule update --remote -- mbed-os
  • nested submodules inside mbed-os are intentionally not downloaded here because the build system handles them automatically
  1. On the last line of cmake-variants.yaml file set your upload method. Default is NONE = it generates just .bin file. Optimal for external loaders like DFU method and so on (I personaly prefer STM32CUBE).
  2. Build the project

About

No description, website, or topics provided.

Resources

License

Stars

Watchers

Forks

Packages

 
 
 

Contributors