diff --git a/libraries/nffs/src/os/os_arch.h b/libraries/nffs/src/kernel/os/include/os/arch/cortex_m4/os/os_arch.h similarity index 100% rename from libraries/nffs/src/os/os_arch.h rename to libraries/nffs/src/kernel/os/include/os/arch/cortex_m4/os/os_arch.h diff --git a/libraries/nffs/src/os/os.h b/libraries/nffs/src/kernel/os/include/os/os.h similarity index 100% rename from libraries/nffs/src/os/os.h rename to libraries/nffs/src/kernel/os/include/os/os.h diff --git a/libraries/nffs/src/os/os_malloc.h b/libraries/nffs/src/kernel/os/include/os/os_malloc.h similarity index 100% rename from libraries/nffs/src/os/os_malloc.h rename to libraries/nffs/src/kernel/os/include/os/os_malloc.h diff --git a/libraries/nffs/src/os/os_mempool.h b/libraries/nffs/src/kernel/os/include/os/os_mempool.h similarity index 100% rename from libraries/nffs/src/os/os_mempool.h rename to libraries/nffs/src/kernel/os/include/os/os_mempool.h diff --git a/libraries/nffs/src/os/os_mutex.h b/libraries/nffs/src/kernel/os/include/os/os_mutex.h similarity index 100% rename from libraries/nffs/src/os/os_mutex.h rename to libraries/nffs/src/kernel/os/include/os/os_mutex.h diff --git a/libraries/nffs/src/os/queue.h b/libraries/nffs/src/kernel/os/include/os/queue.h similarity index 100% rename from libraries/nffs/src/os/queue.h rename to libraries/nffs/src/kernel/os/include/os/queue.h diff --git a/libraries/nffs/src/os/os_mempool.c b/libraries/nffs/src/kernel/os/src/os_mempool.c similarity index 100% rename from libraries/nffs/src/os/os_mempool.c rename to libraries/nffs/src/kernel/os/src/os_mempool.c diff --git a/platform.txt b/platform.txt index 97b5227a..6f091416 100644 --- a/platform.txt +++ b/platform.txt @@ -57,7 +57,7 @@ nffs.path={runtime.platform.path}/libraries/nffs/src compiler.nrf.flags=-DNRF5 "-I{nrf.sdk.path}/components/toolchain/" "-I{nrf.sdk.path}/components/toolchain/CMSIS/Include" "-I{nrf.sdk.path}/components/toolchain/gcc/" "-I{nrf.sdk.path}/components/device/" "-I{nrf.sdk.path}/components/drivers_nrf/delay/" "-I{nrf.sdk.path}/components/softdevice/s132/headers/" "-I{rtos.path}/source/include" "-I{rtos.path}/config" "-I{rtos.path}/portable/GCC/nrf52" "-I{rtos.path}/portable/CMSIS/nrf52" -nffs.includes="-I{nffs.path}/fs/nffs/include" "-I{nffs.path}/fs/fs/include" "-I{nffs.path}/util/crc/include" +nffs.includes="-I{nffs.path}/fs/nffs/include" "-I{nffs.path}/fs/fs/include" "-I{nffs.path}/util/crc/include" "-I{nffs.path}/kernel/os/include" "-I{nffs.path}/kernel/os/include/os/arch/cortex_m4" # These can be overridden in platform.local.txt compiler.c.extra_flags=