mirror of
https://github.com/bluekitchen/btstack.git
synced 2025-03-31 01:20:44 +00:00
chipset/nxp: add btstack_chipset_nxp_get_initial_baudrate
This commit is contained in:
parent
ffa921b13e
commit
a57c424f36
@ -483,3 +483,12 @@ static btstack_chipset_t btstack_chipset_nxp = {
|
||||
const btstack_chipset_t *btstack_chipset_nxp_instance(void){
|
||||
return &btstack_chipset_nxp;
|
||||
}
|
||||
|
||||
uint32_t btstack_chipset_nxp_get_initial_baudrate(void){
|
||||
switch (nxp_chip_id){
|
||||
case NXP_CHIP_ID_IW612:
|
||||
return 3000000;
|
||||
default:
|
||||
return 115200;
|
||||
}
|
||||
}
|
||||
|
@ -75,6 +75,12 @@ void btstack_chipset_nxp_set_firmware(const uint8_t * fw_data, uint32_t fw_size)
|
||||
*/
|
||||
void btstack_chipset_nxp_download_firmware_with_uart(const btstack_uart_t *uart_driver, void (*callback)(uint8_t status));
|
||||
|
||||
/**
|
||||
* @brief Get baudrate after firmware download
|
||||
* @note iw612 with current firmware is set to 3mbps instead of 115200. to be called after firmware download complete
|
||||
*/
|
||||
uint32_t btstack_chipset_nxp_get_initial_baudrate(void);
|
||||
|
||||
/**
|
||||
* Get chipset instance for NXP chipsets
|
||||
*/
|
||||
|
Loading…
x
Reference in New Issue
Block a user