diff --git a/libraries/nffs/src/hal/hal_flash.h b/libraries/nffs/src/hw/hal/include/hal/hal_flash.h similarity index 100% rename from libraries/nffs/src/hal/hal_flash.h rename to libraries/nffs/src/hw/hal/include/hal/hal_flash.h diff --git a/libraries/nffs/src/hal/hal_flash_int.h b/libraries/nffs/src/hw/hal/include/hal/hal_flash_int.h similarity index 100% rename from libraries/nffs/src/hal/hal_flash_int.h rename to libraries/nffs/src/hw/hal/include/hal/hal_flash_int.h diff --git a/libraries/nffs/src/hal/hal_flash.c b/libraries/nffs/src/hw/hal/src/hal_flash.c similarity index 100% rename from libraries/nffs/src/hal/hal_flash.c rename to libraries/nffs/src/hw/hal/src/hal_flash.c diff --git a/platform.txt b/platform.txt index 6f091416..97a22b06 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" "-I{nffs.path}/kernel/os/include" "-I{nffs.path}/kernel/os/include/os/arch/cortex_m4" +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" "-I{nffs.path}/hw/hal/include" # These can be overridden in platform.local.txt compiler.c.extra_flags=