File tree Expand file tree Collapse file tree 4 files changed +52
-10
lines changed Expand file tree Collapse file tree 4 files changed +52
-10
lines changed Original file line number Diff line number Diff line change 1
1
CONFIG_BT=y
2
- CONFIG_BT_SMP=y
3
- CONFIG_BT_PERIPHERAL=y
4
- CONFIG_BT_CENTRAL=y
5
- CONFIG_BT_DIS=y
6
- CONFIG_BT_DIS_PNP=n
7
- CONFIG_BT_BAS=y
8
- CONFIG_BT_HRS=y
2
+
3
+ CONFIG_BT_HCI_RAW=y
4
+ CONFIG_BT_HCI_RAW_H4=y
5
+ CONFIG_BT_HCI_RAW_H4_ENABLE=y
6
+ CONFIG_BT_BUF_ACL_RX_SIZE=255
7
+ CONFIG_BT_BUF_CMD_TX_SIZE=255
8
+ CONFIG_BT_BUF_EVT_DISCARDABLE_SIZE=255
9
+ CONFIG_BT_MAX_CONN=4
10
+ CONFIG_BT_TINYCRYPT_ECC=n
11
+ CONFIG_BT_CTLR_ADV_EXT=y
12
+ CONFIG_BT_CTLR_ADV_PERIODIC=y
13
+
14
+ CONFIG_SYSTEM_WORKQUEUE_STACK_SIZE=2048
15
+
16
+ # Workaround: Unable to allocate command buffer when using K_NO_WAIT since
17
+ # Host number of completed commands does not follow normal flow control.
18
+ CONFIG_BT_BUF_CMD_TX_COUNT=10
19
+
9
20
10
21
CONFIG_USB_DEVICE_STACK=y
11
22
CONFIG_USB_DEVICE_PRODUCT="Arduino Nano 33 BLE"
@@ -19,4 +30,17 @@ CONFIG_UART_LINE_CTRL=y
19
30
CONFIG_CDC_ACM_DTE_RATE_CALLBACK_SUPPORT=y
20
31
21
32
CONFIG_ADC=y
22
- CONFIG_PWM=y
33
+ CONFIG_PWM=y
34
+
35
+ CONFIG_LLEXT_STORAGE_WRITABLE=n
36
+ CONFIG_SHELL_STACK_SIZE=1024
37
+ CONFIG_HEAP_MEM_POOL_SIZE=32000
38
+ CONFIG_LLEXT_HEAP_SIZE=96
39
+ CONFIG_MAIN_STACK_SIZE=64768
40
+
41
+ CONFIG_BT_RX_STACK_SIZE=4096
42
+ CONFIG_BT_HCI_TX_STACK_SIZE=4096
43
+
44
+ CONFIG_STACK_USAGE=y
45
+ CONFIG_STACK_SENTINEL=n
46
+ CONFIG_STACK_CANARIES=y
Original file line number Diff line number Diff line change 1
1
#include <string.h>
2
+ #include <strings.h>
2
3
#include <zephyr/llext/symbol.h>
3
4
#include <zephyr/usb/usb_device.h>
4
5
#include <ctype.h>
@@ -14,6 +15,8 @@ EXPORT_SYMBOL(strrchr);
14
15
EXPORT_SYMBOL (strstr );
15
16
EXPORT_SYMBOL (strncmp );
16
17
EXPORT_SYMBOL (strncpy );
18
+ EXPORT_SYMBOL (strcasecmp );
19
+ EXPORT_SYMBOL (strtoul );
17
20
EXPORT_SYMBOL (strcmp );
18
21
EXPORT_SYMBOL (strlen );
19
22
EXPORT_SYMBOL (strchr );
@@ -56,6 +59,17 @@ FORCE_EXPORT_SYM(net_dhcpv4_add_option_callback);
56
59
FORCE_EXPORT_SYM (net_mgmt_add_event_callback );
57
60
#endif
58
61
62
+ #if defined(CONFIG_BT )
63
+ FORCE_EXPORT_SYM (bt_enable_raw );
64
+ FORCE_EXPORT_SYM (bt_hci_raw_set_mode );
65
+ FORCE_EXPORT_SYM (bt_send );
66
+ FORCE_EXPORT_SYM (net_buf_get );
67
+ FORCE_EXPORT_SYM (bt_buf_get_tx );
68
+ FORCE_EXPORT_SYM (net_buf_simple_pull );
69
+ FORCE_EXPORT_SYM (net_buf_simple_add_mem );
70
+ FORCE_EXPORT_SYM (net_buf_simple_pull_mem );
71
+ FORCE_EXPORT_SYM (net_buf_unref );
72
+ #endif
59
73
60
74
#if defined(CONFIG_NET_SOCKETS )
61
75
FORCE_EXPORT_SYM (getaddrinfo );
Original file line number Diff line number Diff line change @@ -14,13 +14,13 @@ CONFIG_MAIN_STACK_SIZE=32768
14
14
CONFIG_ARDUINO_API=n
15
15
16
16
CONFIG_SHELL=y
17
- CONFIG_SHELL_STACK_SIZE=32768
17
+ CONFIG_SHELL_STACK_SIZE=2048
18
18
CONFIG_SHELL_CMD_BUFF_SIZE=2048
19
19
CONFIG_SHELL_LOG_LEVEL_DBG=n
20
20
21
21
CONFIG_LLEXT=y
22
22
CONFIG_LLEXT_LOG_LEVEL_ERR=y
23
- CONFIG_LLEXT_HEAP_SIZE=64
23
+ CONFIG_LLEXT_HEAP_SIZE=32
24
24
CONFIG_LLEXT_SHELL=y
25
25
CONFIG_LLEXT_STORAGE_WRITABLE=y
26
26
CONFIG_LLEXT_EXPORT_DEVICES=y
Original file line number Diff line number Diff line change @@ -53,6 +53,10 @@ SECTIONS {
53
53
KEEP(*(.init_array))
54
54
}
55
55
56
+ .fini_array : {
57
+ KEEP(*(.fini_array))
58
+ }
59
+
56
60
.symtab : {
57
61
KEEP(*(.symtab))
58
62
}
You can’t perform that action at this time.
0 commit comments