11 months, 1 week ago.

How to create a ".mbedignore" file with the online compiler?

As described in the Mbed OS build rules section of Mbed documentation, the .mbedignore file enables to exclude files from a build. It works nicely when building offline with mbed-cli but I was not able to figure out how to create such file with the online compiler. In addition, after importing a project that included .mbedignore no such file was listed in the online compiler. Can anyone point me to the right direction?

Thank you and best regards, Zoltan.

1 Answer

11 months, 1 week ago.

Hi Zoltan,

Well, technically it's not possible because you can only create files with known extensions, but there is a tricky way.

https://github.com/ARMmbed/mbed-os-5-docs/issues/546#issuecomment-394007623

We already file this request in ticket, but just don't have a target date.

Regards, Desmond

Accepted Answer

Thank you Desmond for the tip! It works.

posted by Zoltan Hudak 03 Sep 2019