What is the problem with this error, I think the problem is not getting #include <zephyr.h> liberary, if it is how to fix it. any recommendation is appreciated
What is the problem with this error, I think the problem is not getting #include <zephyr.h> liberary, if it is how to fix it. any recommendation is appreciated
Hello,
I'm not sure what you are trying to build, so it's hard to say what is causing this. Can you try to give some more information about the problem?
the board i am using is actinius_icarus_ns, i am using mqtt, lte modem and gps at the same time.
Where did you get this sample? Is it based on a Nordic SDK sample? What makes you think this should build in the first place?
Also, NCS 1.5 is really old. You might consider upgrading to a more recent release.
Thanks. i am using version 1 of the board. so 1.5 is recommended i guess.
i got this error when i put the gps code line before mqtt. The main problem i am facing is connecting the gps and lte modem and working together. codes are taken from sample gps and sample mqtt from actinius_icarus_ns
*** Booting Zephyr OS build v2.4.99-ncs1 ***
Flash regions Domain Permissions
00 00 0x00000 0x08000 Secure rwxl
01 31 0x08000 0x100000 Non-Secure rwxl
Non-secure callable region 0 placed in flash region 0 with size 32.
SRAM region Domain Permissions
00 07 0x00000 0x10000 Secure rwxl
08 31 0x10000 0x40000 Non-Secure rwxl
Peripheral Domain Status
00 NRF_P0 Non-Secure OK
01 NRF_CLOCK Non-Secure OK
02 NRF_RTC0 Non-Secure OK
03 NRF_RTC1 Non-Secure OK
04 NRF_NVMC Non-Secure OK
05 NRF_UARTE1 Non-Secure OK
06 NRF_UARTE2 Secure SKIP
07 NRF_TWIM2 Non-Secure OK
08 NRF_SPIM3 Non-Secure OK
09 NRF_TIMER0 Non-Secure OK
10 NRF_TIMER1 Non-Secure OK
11 NRF_TIMER2 Non-Secure OK
12 NRF_SAADC Non-Secure OK
13 NRF_PWM0 Non-Secure OK
14 NRF_PWM1 Non-Secure OK
15 NRF_PWM2 Non-Secure OK
16 NRF_PWM3 Non-Secure OK
17 NRF_WDT Non-Secure OK
18 NRF_IPC Non-Secure OK
19 NRF_VMC Non-Secure OK
20 NRF_FPU Non-Secure OK
21 NRF_EGU1 Non-Secure OK
22 NRF_EGU2 Non-Secure OK
23 NRF_DPPIC Non-Secure OK
24 NRF_REGULATORS Non-Secure OK
25 NRF_GPIOTE1 Non-Secure OK
SPM: NS image at 0xc000
SPM: NS MSP at 0x20019da0
SPM: NS reset vector at 0x11211
SPM: prepare to jump to Non-Secure image.
*** Booting Zephyr OS build v2.4.99-ncs1 ***
Starting GPS application
GPS Socket created
[00:00:00.201,263] <inf> board_control: External SIM is selected
[00:00:00.231,231] <inf> mqtt_simple: The MQTT simple sample started
[00:00:00.231,231] <inf> mqtt_simple: Disabling PSM and eDRX
[00:00:00.250,366] <inf> mqtt_simple: LTE Link Connecting...
[00:00:00.251,556] <err> lte_lc: Could not send AT command, error: -8
[00:00:00.251,556] <err> lte_lc: Could not set system mode, error: -8
[00:00:00.251,556] <inf> mqtt_simple: Failed to establish LTE connection: -8
[00:00:00.251,556] <inf> mqtt_simple: Retrying in 120 seconds