diff --git a/port/msp432p401lp-cc256x/Makefile b/port/msp432p401lp-cc256x/Makefile index b4b95a596..8a288672e 100755 --- a/port/msp432p401lp-cc256x/Makefile +++ b/port/msp432p401lp-cc256x/Makefile @@ -118,7 +118,7 @@ uECC.c \ PORT_SOURCES = \ btstack_chipset_cc256x.o \ - bluetooth_init_cc2564B_1.6_BT_Spec_4.1.o \ + bluetooth_init_cc2564C_1.4.o \ hal_flash_bank_msp432.o \ main.o \ startup_msp432p401r_${COMPILER}.o \ diff --git a/port/msp432p401lp-cc256x/main.c b/port/msp432p401lp-cc256x/main.c index 6217c1390..21dd40486 100755 --- a/port/msp432p401lp-cc256x/main.c +++ b/port/msp432p401lp-cc256x/main.c @@ -205,6 +205,8 @@ Pin 36: BTRTS=GPIO-P6.6 Pin 37: BTCTS=GPIO-P5.6 */ +#if 0 +// Unclear #define BLUETOOTH_TX_PORT GPIO_PORT_P3 #define BLUETOOTH_TX_PIN GPIO_PIN2 #define BLUETOOTH_RX_PORT GPIO_PORT_P3 @@ -215,7 +217,19 @@ Pin 37: BTCTS=GPIO-P5.6 #define BLUETOOTH_CTS_PIN GPIO_PIN6 #define BLUETOOTH_nSHUTDOWN_PORT GPIO_PORT_P2 #define BLUETOOTH_nSHUTDOWN_PIN GPIO_PIN5 - +#else +// EM Wireless BoosterPack with CC256x module +#define BLUETOOTH_TX_PORT GPIO_PORT_P3 +#define BLUETOOTH_TX_PIN GPIO_PIN2 +#define BLUETOOTH_RX_PORT GPIO_PORT_P3 +#define BLUETOOTH_RX_PIN GPIO_PIN3 +#define BLUETOOTH_RTS_PORT GPIO_PORT_P3 +#define BLUETOOTH_RTS_PIN GPIO_PIN6 +#define BLUETOOTH_CTS_PORT GPIO_PORT_P5 +#define BLUETOOTH_CTS_PIN GPIO_PIN2 +#define BLUETOOTH_nSHUTDOWN_PORT GPIO_PORT_P6 +#define BLUETOOTH_nSHUTDOWN_PIN GPIO_PIN4 +#endif /* UART Configuration Parameter. These are the configuration parameters to * make the eUSCI A UART module to operate with a 115200 baud rate. These