mirror of
https://github.com/bluekitchen/btstack.git
synced 2025-01-01 00:28:18 +00:00
port/stm32-wb55xx-nucleo-freertos: update README
This commit is contained in:
parent
d7fec25aef
commit
8e8577aa2e
@ -8,10 +8,12 @@ For easy development, Ozone project files are generated as well.
|
||||
## Hardware
|
||||
|
||||
In this port, the Nucelo68 or the USB Dongle from the P-NUCLEO-WB55 can be used.
|
||||
Development was done using FUS v1.0.1 and v1.0.2 and Full BLE Stack v1.3.1.
|
||||
See STM32Cube_FW_WB_V1.3.0/Projects/STM32WB_Copro_Wireless_Binaries/Release_Notes.html for update instructions.
|
||||
|
||||
Note: Segger RTT currently doesn't work as output stops after CPU2 (radio controller) has started up.
|
||||
Last test was done using FUS v1.2 and HCI BLE Firmware v1.13 on Nucleo68
|
||||
See STM32Cube_FW_WB_V1.13.0/Projects/STM32WB_Copro_Wireless_Binaries/Release_Notes.html for firmware install instructions.
|
||||
|
||||
Note: Segger RTT is currently not really usable. When sleep modes ared disabled for debuggin (see port_thread())
|
||||
RTT works, but the output buffer quickly overflows. In Block mode, radio stops working.
|
||||
|
||||
### Nucleo68
|
||||
|
||||
|
@ -583,15 +583,24 @@ static void packet_handler (uint8_t packet_type, uint16_t channel, uint8_t *pack
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
extern int btstack_main(int argc, const char * argv[]);
|
||||
void port_thread(void* args){
|
||||
|
||||
// enable packet logger
|
||||
// uncomment to enable packet logger
|
||||
// #define ENABLE_HCI_DUMP
|
||||
|
||||
// config packet logger
|
||||
#ifdef ENABLE_HCI_DUMP
|
||||
#ifdef ENABLE_SEGGER_RTT
|
||||
// hci_dump_init(hci_dump_segger_rtt_stdout_get_instance());
|
||||
// Disable sleep modes as shown here:
|
||||
// https://github.com/STMicroelectronics/STM32CubeWB/blob/master/Projects/P-NUCLEO-WB55.Nucleo/Applications/BLE/BLE_HeartRate/Core/Src/app_debug.c#L180
|
||||
HAL_DBGMCU_EnableDBGSleepMode();
|
||||
HAL_DBGMCU_EnableDBGStopMode();
|
||||
// with this, RTT works in Skip mode but in Block mode
|
||||
hci_dump_init(hci_dump_segger_rtt_stdout_get_instance());
|
||||
#else
|
||||
// hci_dump_init(hci_dump_embedded_stdout_get_instance());
|
||||
hci_dump_init(hci_dump_embedded_stdout_get_instance());
|
||||
#endif
|
||||
#endif
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user