Compile error when updating SDK

Dear all,

Been postponing this for a while but now is the time to update to the latest SDK. 

Currently using the SDK 2.0.2 (can compile without any erorrs) but when trying to update to latest release 2.2.0  and/or release 2.1.0 i get some compile errors.

I have deleted the build folder before trying the pristine build option but with no success.

When trying to build my central device with an updated SDK I get the following error:

"fatal error: zephyr.h: No such file or directory" i.e. it's complaining about the included header file. Is there another path for it in the new SDK's?

When trying to build my peripheral device with an updated SDK i get the following error:

error: 'DT_N_S_soc_S_uart_40028000_P_label' undeclared (first use in this function); did you mean 'DT_N_S_soc_S_uart_40028000_P_reg'?

Thanks in advance,

Parents Reply Children
Related