I am attempting to upgrade from nRF Connect SDK version 1.7 to version 1.9.1
My application is using the nrf52840 on a custom board.
I'm using Zephyr and created a board file based on the nrf52840-nrf52840-dk board (and an overlay file).
Everything seems to work using version 1.7 (Solution builds, etc.)
When I try to compile using version 1.9.1, I get two errors I haven't been able to resolve:
1. I'm using LittleFS and the following error occurs when compiling littlefs_fs.c:
2> Compiling ‘littlefs_fs.c’ 2> In file included from [01m[KE:/N/S/v1.9.1/zephyr/include/sys/util_macro.h:34[m[K, 2> from [01m[KE:/N/S/v1.9.1/zephyr/include/sys/atomic.h:16[m[K, 2> from [01m[KE:/N/S/v1.9.1/zephyr/include/kernel_includes.h:21[m[K, 2> from [01m[KE:/N/S/v1.9.1/zephyr/include/kernel.h:17[m[K, 2> from [01m[KE:/N/S/v1.9.1/zephyr/subsys/fs/littlefs_fs.c:10[m[K: 2> [01m[KE:/N/S/v1.9.1/zephyr/include/devicetree/fixed-partitions.h:53:9:[m[K [01;31m[Kerror: [m[K'[01m[KDT_COMPAT_fixed_partitions_LABEL_storage_PARTITION_ID[m[K' undeclared here (not in a function); did you mean '[01m[KDT_COMPAT_fixed_partitions_LABEL_image_1_EXISTS[m[K'?
I'm using the same prj.conf and board files (and overlay files) as used with version 1.7 (and I didn't see any documentation identifying needed changes to move beyond version 1.7)
2. I also use IRQ_CONNECT to capture interrupts from one of the TWIM devices. The line of code is:
IRQ_CONNECT(SPIM1_SPIS1_TWIM1_TWIS1_SPI1_TWI1_IRQn,6,nrfx_isr,nrfx_twim_1_irq_handler,0);
and produces an error:
1> [01m[K../src/main.c:436:7:[m[K [01;35m[Kwarning: [m[Kunused variable '[01m[Kerr[m[K' [[01;35m[K-Wunused-variable[m[K] 1> In file included from [01m[KE:/N/S/v1.9.1/zephyr/include/toolchain.h:50[m[K, 1> from [01m[KE:/N/S/v1.9.1/zephyr/lib/libc/minimal/include/string.h:13[m[K, 1> from [01m[K../src/include/Telemetry.h:7[m[K, 1> from [01m[K../src/main.c:9[m[K: 1> [01m[K../src/main.c:[m[K In function '[01m[Kmain[m[K': 1> [01m[KE:/N/S/v1.9.1/zephyr/include/arch/arm/aarch32/irq.h:97:2:[m[K [01;31m[Kerror: [m[Kstatic assertion failed: "Invalid interrupt priority. Values must not exceed IRQ_PRIO_LOWEST" 1> [01m[KE:/N/S/v1.9.1/zephyr/include/arch/arm/aarch32/irq.h:118:2:[m[K [01;36m[Knote: [m[Kin expansion of macro '[01m[K_CHECK_PRIO[m[K' 1> [01m[KE:/N/S/v1.9.1/zephyr/include/irq.h:49:2:[m[K [01;36m[Knote: [m[Kin expansion of macro '[01m[KARCH_IRQ_CONNECT[m[K' 1> [01m[K../src/main.c:644:3:[m[K [01;36m[Knote: [m[Kin expansion of macro '[01m[KIRQ_CONNECT[m[K'
Again, this works fine with version 1.7, but fails with version 1.9.1
Is there some new configuration setting needed?
Thanks!
P.S. Sorry for the weird formatting of the error messages from the copy/paste from the SES window...