From 5895d8b38c17e8f1905c608a21de8eed473a30a1 Mon Sep 17 00:00:00 2001 From: hathach Date: Wed, 1 Mar 2017 14:29:07 +0700 Subject: [PATCH] move nffs hal --- libraries/nffs/src/{ => hw/hal/include}/hal/hal_flash.h | 0 libraries/nffs/src/{ => hw/hal/include}/hal/hal_flash_int.h | 0 libraries/nffs/src/{hal => hw/hal/src}/hal_flash.c | 0 platform.txt | 2 +- 4 files changed, 1 insertion(+), 1 deletion(-) rename libraries/nffs/src/{ => hw/hal/include}/hal/hal_flash.h (100%) rename libraries/nffs/src/{ => hw/hal/include}/hal/hal_flash_int.h (100%) rename libraries/nffs/src/{hal => hw/hal/src}/hal_flash.c (100%) 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=