bluetooth: hci: place tx/rx message buffer in .noinit section
This change relocates the tx/rx message buffer from the .bss section to the .noinit section. This adjustment is aimed at reducing boot time by lowering the size of the .bss section, without impacting the operational functionality of the buffer. Signed-off-by: Pisit Sawangvonganan <pisit@ndrsolution.com>
This commit is contained in:
parent
358f1ff934
commit
61e301a059
4 changed files with 6 additions and 6 deletions
|
@ -71,8 +71,8 @@ LOG_MODULE_REGISTER(bt_driver);
|
|||
be transmitted across this HCI link
|
||||
#endif /* CONFIG_BT_L2CAP_TX_MTU > MAX_MTU */
|
||||
|
||||
static uint8_t rxmsg[SPI_MAX_MSG_LEN];
|
||||
static uint8_t txmsg[SPI_MAX_MSG_LEN];
|
||||
static uint8_t __noinit rxmsg[SPI_MAX_MSG_LEN];
|
||||
static uint8_t __noinit txmsg[SPI_MAX_MSG_LEN];
|
||||
|
||||
static const struct gpio_dt_spec irq_gpio = GPIO_DT_SPEC_INST_GET(0, irq_gpios);
|
||||
static const struct gpio_dt_spec rst_gpio = GPIO_DT_SPEC_INST_GET(0, reset_gpios);
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue