[Zephyr] Compilation issues in NCS 2.1.2

Dear support,

It looks like there are 2 compilation issues in NCS 2.1.2:

  • ncs/zephyr/arch/arm/core/aarch32/cortex_m/fault.c: fault_show doesn't compile when CONFIG_FAULT_DUMP is 1, because symbols SCB_CFSR_MEMFAULTSR, SCB_CFSR_BUSFAULTSR and SCB_CFSR_USGFAULTSR are not defined. There might be typos above in the same file, as macros with a wrong prefix are defined: SCB_CFSR_*STR. Notice that when used without a cast, PR_EXC's format 0x%x gives warning due to the type mismatch.
  • ncs/zephyr/drivers/i2c/i2c_nrfx_twim.c: i2c_nrfx_twim_recover_bus does not compile when CONFIG_PINCTRL is not defined due to use of undefined dev_config->pcfg. This is fixed on the Zephyr's master branch though.

Best regards

Related