8 years, 6 months ago.

How to exclude a folder from exporter?

I want to have the bootloader code in the same repo as the rest of the application.

The tree looks like this: - bootloader/ - mbed-os/ - source/ - mbed_app.json

I can compile the bootloader using: mbed compile -t GCC_ARM -m <target> -c source=./bootloader source=./mbed-os

Then if I add bootloader/* in .mbedignore I can compile the application: mbed compile -t GCC_ARM -m <target>

But I couldn't find a way to exclude the bootloader/ directory from the exporter (gnuarmeclipse).

I have tried: - adding bootloader/* in .mbedignore - adding .mbedignore in bootloader/ with * - renaming bootloader/ to .bootloader/

Be the first to answer this question.