mbed-bootloader icon indicating copy to clipboard operation
mbed-bootloader copied to clipboard

Readme instructions for compile unclear

Open maclobdell opened this issue 5 years ago • 1 comments

The readme specifies the following command for compile.

mbed compile -t GCC_ARM -m [target] --profile release --app-config=configs/.json

This doesn't work because you need to explicitly specify the configuration file to use.

It would be of great help to the user to include an intermediate step that asks them to choose the flash layout and other configuration choices.

maclobdell avatar Jan 23 '20 18:01 maclobdell

also, from experimentation, the way to get the smallest code size is with GCC_ARM compiler and the tiny.json profile.

So, I recommend the documenation be updated to something like this:

mbed compile -t GCC_ARM -m [target] --profile tiny.json --app-config=configs/[your chosen config].json

maclobdell avatar Jan 24 '20 15:01 maclobdell