You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@nuttx.apache.org by "tmedicci (via GitHub)" <gi...@apache.org> on 2023/10/24 10:59:53 UTC
[PR] wireless/bluetooth: Add option to set the HCI TX thread affinity while running with SMP enabled [nuttx]
tmedicci opened a new pull request, #11013:
URL: https://github.com/apache/nuttx/pull/11013
## Summary
* wireless/bluetooth: Add an option to set the HCI TX thread affinity
By enabling the config `CONFIG_BLUETOOTH_TXCMD_PINNED_TO_CORE` and setting the value of `CONFIG_BLUETOOTH_TXCMD_CORE`, it's possible to pin the HCI TX thread to a specific core on an SMP-enabled setup. This is necessary for devices requiring the function that sends data (`bt_send`) to be called from a specific core.
For instance, this configuration is selected for ESP32's BLE: when ESP32's BLE is enabled, select the option to pin the HCI TX thread to a specific core. This is necessary to avoid problems with the BLE task pinned to the PRO CPU (core 0) while running with SMP enabled.
## Impact
Enable SMP + BLE for ESP32.
## Testing
Internal CI testing + ESP32 DevKitC v4 + NuttX CI.
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
To unsubscribe, e-mail: commits-unsubscribe@nuttx.apache.org
For queries about this service, please contact Infrastructure at:
users@infra.apache.org
Re: [PR] wireless/bluetooth: Add option to set the HCI TX thread affinity while running with SMP enabled [nuttx]
Posted by "xiaoxiang781216 (via GitHub)" <gi...@apache.org>.
xiaoxiang781216 merged PR #11013:
URL: https://github.com/apache/nuttx/pull/11013
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
To unsubscribe, e-mail: commits-unsubscribe@nuttx.apache.org
For queries about this service, please contact Infrastructure at:
users@infra.apache.org