File tree 4 files changed +47
-324
lines changed
4 files changed +47
-324
lines changed Original file line number Diff line number Diff line change @@ -205,7 +205,7 @@ CONFIG_APP_LOG_LEVEL_DBG=y
205
205
206
206
# Task Watchdog
207
207
CONFIG_TASK_WDT=y
208
- CONFIG_TASK_WDT_CHANNELS=9
208
+ CONFIG_TASK_WDT_CHANNELS=8
209
209
CONFIG_TASK_WDT_MIN_TIMEOUT=10000
210
210
211
211
# Device power management
Original file line number Diff line number Diff line change @@ -316,8 +316,10 @@ static void state_polling_for_update_entry(void *o)
316
316
SEND_FATAL_ERROR ();
317
317
}
318
318
break ;
319
+ case - ENOTRECOVERABLE :
320
+ __fallthrough ;
319
321
case - ENETUNREACH :
320
- LOG_WRN ("Network is unreachable" );
322
+ LOG_WRN ("Failed to poll for a FOTA update, network is unreachable" );
321
323
break ;
322
324
case - ENOENT :
323
325
LOG_DBG ("FOTA job finished, status reported to nRF Cloud" );
Original file line number Diff line number Diff line change @@ -11,40 +11,10 @@ menuconfig APP_SHELL
11
11
imply AT_SHELL
12
12
default y
13
13
help
14
- Adds a zbus shell. The shell command is called
15
- "zbus" and will interpret arguments as zbus commands, and print back the
16
- response.
14
+ Shell that adds usefaul commands to control certain aspects of the application.
17
15
18
16
if APP_SHELL
19
17
20
- config APP_SHELL_THREAD_STACK_SIZE
21
- int "Thread stack size"
22
- default 1024
23
-
24
- config APP_SHELL_WATCHDOG_TIMEOUT_SECONDS
25
- int "Watchdog timeout"
26
- default 120
27
- help
28
- Timeout in seconds for the shell module watchdog.
29
- The timeout given in this option covers both:
30
- * Waiting for an incoming message in zbus_sub_wait_msg().
31
- * Time spent processing the message, defined by
32
- CONFIG_APP_SHELL_MSG_PROCESSING_TIMEOUT_SECONDS.
33
- Ensure that this value exceeds CONFIG_APP_SHELL_MSG_PROCESSING_TIMEOUT_SECONDS.
34
- A small difference between the two can mean more frequent watchdog feeds, which increases
35
- power consumption.
36
-
37
- config APP_SHELL_MSG_PROCESSING_TIMEOUT_SECONDS
38
- int "Maximum message processing time"
39
- default 3
40
- help
41
- Maximum time allowed for processing a single message in the module's state machine.
42
- The value must be smaller than CONFIG_APP_SHELL_WATCHDOG_TIMEOUT_SECONDS.
43
-
44
- config APP_SHELL_UART_PM_ENABLE
45
- bool "Enable UART power management feature"
46
- default y
47
-
48
18
module = APP_SHELL
49
19
module-str = SHELL
50
20
source "subsys/logging/Kconfig.template.log_config"
You can’t perform that action at this time.
0 commit comments