- Better build system!
- Linux
$ python3 -m venv .venv $ source .venv/bin/activate $ pip install -r requirements.txt - Widows:
$ python3 -m venv .venv $ .venv\Scripts\activate.bat $ pip install -r requirements.txt
mbed-toolswill create thebuilddirectory if it doesn't exist- The default build directory is
cmake_buildinstead of the canonicalbuild - We fix that
- The default build directory is
- Some examples for targets would be:
NRF52840_DKorDISCO_F429ZIorDISCO_WB5MMG
$ mbed-tools deploy
$ mbed-tools configure -m <target> -t GCC_ARM -o build$ cd build
$ cmake -G Ninja ..$ ninja- To clean:
$ ninja clean
- Upload how you see fit
- ARM recommends drag-and-drop
- But it doesn't matter, as of right now, this builds ELF, hex, and bin