mirror of
https://github.com/bluekitchen/btstack.git
synced 2025-04-18 14:42:33 +00:00
posix-cc2564b: fix compile, use high uart speed
This commit is contained in:
parent
43d67bd1f5
commit
1fc2c15a29
@ -56,7 +56,7 @@
|
|||||||
#include "hci.h"
|
#include "hci.h"
|
||||||
#include "hci_dump.h"
|
#include "hci_dump.h"
|
||||||
#include "stdin_support.h"
|
#include "stdin_support.h"
|
||||||
#include "hal_led.h"
|
#include <btstack/hal_led.h>
|
||||||
#include "bt_control_cc256x.h"
|
#include "bt_control_cc256x.h"
|
||||||
|
|
||||||
int btstack_main(int argc, const char * argv[]);
|
int btstack_main(int argc, const char * argv[]);
|
||||||
@ -64,6 +64,7 @@ int btstack_main(int argc, const char * argv[]);
|
|||||||
static hci_uart_config_t hci_uart_config_cc256x = {
|
static hci_uart_config_t hci_uart_config_cc256x = {
|
||||||
NULL,
|
NULL,
|
||||||
115200,
|
115200,
|
||||||
|
921600
|
||||||
};
|
};
|
||||||
|
|
||||||
static void sigint_handler(int param){
|
static void sigint_handler(int param){
|
||||||
@ -96,7 +97,7 @@ int main(int argc, const char * argv[]){
|
|||||||
hci_dump_open("/tmp/hci_dump.pklg", HCI_DUMP_PACKETLOGGER);
|
hci_dump_open("/tmp/hci_dump.pklg", HCI_DUMP_PACKETLOGGER);
|
||||||
|
|
||||||
// pick serial port
|
// pick serial port
|
||||||
hci_uart_config_cc256x.device_name = "/dev/tty.usbserial-AD025KU2";
|
hci_uart_config_cc256x.device_name = "/dev/tty.usbserial-A900K0VK";
|
||||||
|
|
||||||
// init HCI
|
// init HCI
|
||||||
hci_transport_t * transport = hci_transport_h4_instance();
|
hci_transport_t * transport = hci_transport_h4_instance();
|
||||||
|
Loading…
x
Reference in New Issue
Block a user