Skip to content

Commit e6fd25d

Browse files
committed
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.
1 parent 96e19af commit e6fd25d

File tree

1 file changed

+1
-0
lines changed
  • platform/FEATURE_EXPERIMENTAL_API/FEATURE_PSA/TARGET_TFM/TARGET_TFM_LATEST/include/os_wrapper

1 file changed

+1
-0
lines changed
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
1+
*

0 commit comments

Comments
 (0)