6 years, 3 months ago.

How to force SW4STM32 CLI export to use mbed folder instead of mbed-os folder (9.2MO vs 500MO)

I can export SW4STM32 project from CLI with the dedicated command, it works fine except that the resulting project weights around 500Mo and take several lminute to compile and it uses the whole mbed-os folder, which is wrong.

I also found how to build mbed library which creates a compact mbed folder, of 9.2mo, which is also tailored to my target.

I note this folder is identical to what the online compiler export when we chose : export SW4STM32 project. This is what i would like to use when i export the project from mbed CLI.

How to export the SWSTM32 project from CLI with the mbed folder instead of the mbed-os folder, and thus avoiding ending up with a 500MO ultra slow to compile project?

Be the first to answer this question.