File tree Expand file tree Collapse file tree 2 files changed +5
-1
lines changed Expand file tree Collapse file tree 2 files changed +5
-1
lines changed Original file line number Diff line number Diff line change @@ -9,6 +9,8 @@ CONFIG_USB_CDC_ACM_RINGBUF_SIZE=512
9
9
CONFIG_UART_LINE_CTRL=y
10
10
CONFIG_CDC_ACM_DTE_RATE_CALLBACK_SUPPORT=y
11
11
12
+ CONFIG_LLEXT_STORAGE_WRITABLE=n
13
+
12
14
CONFIG_FPU=y
13
15
14
16
CONFIG_ADC=y
Original file line number Diff line number Diff line change @@ -68,7 +68,9 @@ static int loader(const struct shell *sh)
68
68
return rc ;
69
69
}
70
70
#else
71
- uint32_t offset = FIXED_PARTITION_OFFSET (user_sketch );
71
+ // Assuming the sketch is stored in the same flash device as the loader
72
+ // uint32_t offset = DT_REG_ADDR(DT_CHOSEN(zephyr_flash)) + DT_REG_ADDR(DT_NODELABEL(user_sketch));
73
+ uint32_t offset = DT_REG_ADDR (DT_GPARENT (DT_NODELABEL (user_sketch ))) + DT_REG_ADDR (DT_NODELABEL (user_sketch ));
72
74
uint8_t * sketch_buf = (uint8_t * )(offset + header_len );
73
75
#endif
74
76
You can’t perform that action at this time.
0 commit comments