Enforce full-qualified path for `os_wrapper/*.h`

Some host operating systems are case-insensitive and cannot
distinguish (for example) `semaphore.h` in `os_wrapper` from
`Semaphore.h` from Mbed OS `rtos`. This causes the wrong header to be
included.

By adding `os_wrapper/.mbedignore`, we guarantee that

    #include "Semaphore.h"

always points to `rtos/Semaphore.h`, while the fully-qualified include

    #include "os_wrapper/semaphore.h"

continues to work because its parent directory is still in the include
path.
pull/14455/head
Lingkai Dong 2021-03-22 16:41:48 +00:00
parent 96e19afdd1
commit e6fd25df83
1 changed files with 1 additions and 0 deletions