diff --git a/libraries/nffs/src/crc/crc16.h b/libraries/nffs/src/util/crc/include/crc/crc16.h similarity index 100% rename from libraries/nffs/src/crc/crc16.h rename to libraries/nffs/src/util/crc/include/crc/crc16.h diff --git a/libraries/nffs/src/crc/crc8.h b/libraries/nffs/src/util/crc/include/crc/crc8.h similarity index 100% rename from libraries/nffs/src/crc/crc8.h rename to libraries/nffs/src/util/crc/include/crc/crc8.h diff --git a/libraries/nffs/src/crc/pkg.yml b/libraries/nffs/src/util/crc/pkg.yml similarity index 100% rename from libraries/nffs/src/crc/pkg.yml rename to libraries/nffs/src/util/crc/pkg.yml diff --git a/libraries/nffs/src/crc/src/crc16.c b/libraries/nffs/src/util/crc/src/crc16.c similarity index 100% rename from libraries/nffs/src/crc/src/crc16.c rename to libraries/nffs/src/util/crc/src/crc16.c diff --git a/libraries/nffs/src/crc/src/crc8.c b/libraries/nffs/src/util/crc/src/crc8.c similarity index 100% rename from libraries/nffs/src/crc/src/crc8.c rename to libraries/nffs/src/util/crc/src/crc8.c diff --git a/platform.txt b/platform.txt index bb2aa3ee..97b5227a 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/fs/include" +nffs.includes="-I{nffs.path}/fs/nffs/include" "-I{nffs.path}/fs/fs/include" "-I{nffs.path}/util/crc/include" # These can be overridden in platform.local.txt compiler.c.extra_flags=