Skip to content

Commit 4cf4ae6

Browse files
committed
test: use memory mapped address if CONFIG_LLEXT_STORAGE_WRITABLE=n
1 parent e797f2b commit 4cf4ae6

File tree

11 files changed

+7
-8
lines changed

11 files changed

+7
-8
lines changed
-192 Bytes
Binary file not shown.
-824 Bytes
Binary file not shown.
-24 Bytes
Binary file not shown.
-56 Bytes
Binary file not shown.

loader/boards/arduino_giga_r1_m7.conf

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -9,6 +9,8 @@ CONFIG_USB_CDC_ACM_RINGBUF_SIZE=512
99
CONFIG_UART_LINE_CTRL=y
1010
CONFIG_CDC_ACM_DTE_RATE_CALLBACK_SUPPORT=y
1111

12+
CONFIG_LLEXT_STORAGE_WRITABLE=n
13+
1214
CONFIG_FPU=y
1315

1416
CONFIG_ADC=y

loader/main.c

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -68,7 +68,9 @@ static int loader(const struct shell *sh)
6868
return rc;
6969
}
7070
#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));
7274
uint8_t* sketch_buf = (uint8_t*)(offset+header_len);
7375
#endif
7476

variants/arduino_giga_r1_m7/llext-edk/include/zephyr/include/generated/zephyr/autoconf.h

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -381,7 +381,6 @@
381381
#define CONFIG_LLEXT_HEAP_SIZE 32
382382
#define CONFIG_LLEXT_SHELL 1
383383
#define CONFIG_LLEXT_SHELL_MAX_SIZE 8192
384-
#define CONFIG_LLEXT_STORAGE_WRITABLE 1
385384
#define CONFIG_LLEXT_EXPORT_DEVICES 1
386385
#define CONFIG_LLEXT_LOG_LEVEL_ERR 1
387386
#define CONFIG_LLEXT_LOG_LEVEL 1

variants/arduino_giga_r1_m7/llext-edk/include/zephyr/include/generated/zephyr/version.h

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -19,7 +19,7 @@
1919
#define KERNEL_VERSION_EXTENDED_STRING "3.7.0+0"
2020
#define KERNEL_VERSION_TWEAK_STRING "3.7.0+0"
2121

22-
#define BUILD_VERSION 381ed731c0a7
22+
#define BUILD_VERSION fbc79e8814e1
2323

2424

2525
#endif /* _KERNEL_VERSION_H_ */

variants/arduino_giga_r1_m7/llext-edk/include/zephyr/include/zephyr/bluetooth/buf.h

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -44,8 +44,6 @@ enum bt_buf_type {
4444
BT_BUF_ISO_IN,
4545
/** H:4 data */
4646
BT_BUF_H4,
47-
/** RAW data */
48-
BT_BUF_RAW,
4947
};
5048

5149
/** @brief This is a base type for bt_buf user data. */

variants/arduino_nano_33_ble_sense/llext-edk/include/zephyr/include/generated/zephyr/autoconf.h

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -544,7 +544,7 @@
544544
#define CONFIG_BT_CTLR_SCHED_ADVANCED_SUPPORT 1
545545
#define CONFIG_BT_CTLR_TIFS_HW_SUPPORT 1
546546
#define CONFIG_BT_CTLR_ULL_LLL_PRIO_SUPPORT 1
547-
#define CONFIG_BT_CTLR_RX_PRIO_STACK_SIZE 1024
547+
#define CONFIG_BT_CTLR_RX_PRIO_STACK_SIZE 448
548548
#define CONFIG_BT_CTLR_RX_STACK_SIZE 768
549549
#define CONFIG_BT_CTLR_COMPANY_ID 0x05F1
550550
#define CONFIG_BT_CTLR_SUBVERSION_NUMBER 0xFFFF

0 commit comments

Comments
 (0)