diff --git a/MSP-EXP430F5438-CC256x/example-ble/Makefile b/MSP-EXP430F5438-CC256x/example-ble/Makefile index 1b3709bf4..a279f346e 100644 --- a/MSP-EXP430F5438-CC256x/example-ble/Makefile +++ b/MSP-EXP430F5438-CC256x/example-ble/Makefile @@ -7,7 +7,7 @@ BTSTACK_ROOT = ../.. CC = msp430-gcc -CFLAGS = -mmcu=msp430f5438a -Os -Wall -I. -I../src -I../firmware -I${BTSTACK_ROOT} -I${BTSTACK_ROOT}/chipset-cc256x -I${BTSTACK_ROOT}/src -I${BTSTACK_ROOT}/ble -I${BTSTACK_ROOT}/include +CFLAGS = -mmcu=msp430f5438a -Os -Wall -fno-toplevel-reorder -I. -I../src -I../firmware -I${BTSTACK_ROOT} -I${BTSTACK_ROOT}/chipset-cc256x -I${BTSTACK_ROOT}/src -I${BTSTACK_ROOT}/ble -I${BTSTACK_ROOT}/include LDFLAGS = -mmcu=msp430f5438a CORE = \ diff --git a/MSP-EXP430F5438-CC256x/example/Makefile b/MSP-EXP430F5438-CC256x/example/Makefile index a6c37aba7..2fce4eece 100644 --- a/MSP-EXP430F5438-CC256x/example/Makefile +++ b/MSP-EXP430F5438-CC256x/example/Makefile @@ -9,7 +9,7 @@ BTSTACK_ROOT = ../.. CC = msp430-gcc -CFLAGS = -mmcu=msp430f5438a -Os -Wall -I. -I../src -I../firmware -I${BTSTACK_ROOT} -I${BTSTACK_ROOT}/chipset-cc256x -I${BTSTACK_ROOT}/src -I${BTSTACK_ROOT}/include +CFLAGS = -mmcu=msp430f5438a -Os -Wall -fno-toplevel-reorder -I. -I../src -I../firmware -I${BTSTACK_ROOT} -I${BTSTACK_ROOT}/chipset-cc256x -I${BTSTACK_ROOT}/src -I${BTSTACK_ROOT}/include LDFLAGS = -mmcu=msp430f5438a CORE = \ @@ -27,7 +27,7 @@ CORE = \ COMMON = \ ../src/hal_uart_dma.c \ ${BTSTACK_ROOT}/chipset-cc256x/bt_control_cc256x.c \ - ${BTSTACK_ROOT}/chipset-cc256x/bluetooth_init_cc2560A_2.1.c \ + ${BTSTACK_ROOT}/chipset-cc256x/bluetooth_init_cc2564_2.5.c \ ${BTSTACK_ROOT}/src/hci.c \ ${BTSTACK_ROOT}/src/hci_cmds.c \ ${BTSTACK_ROOT}/src/hci_dump.c \ diff --git a/eZ430-RF2560/example/Makefile b/eZ430-RF2560/example/Makefile index 1def80e90..8ceac781c 100644 --- a/eZ430-RF2560/example/Makefile +++ b/eZ430-RF2560/example/Makefile @@ -9,7 +9,7 @@ BTSTACK_ROOT = ../.. MCU = msp430bt5190 CC = msp430-gcc -CFLAGS = -mmcu=${MCU} -Os -Wall -I. -I../src -I../firmware -I${BTSTACK_ROOT} -I${BTSTACK_ROOT}/chipset-cc256x -I${BTSTACK_ROOT}/src -I${BTSTACK_ROOT}/include +CFLAGS = -mmcu=${MCU} -Os -Wall -fno-toplevel-reorder -I. -I../src -I../firmware -I${BTSTACK_ROOT} -I${BTSTACK_ROOT}/chipset-cc256x -I${BTSTACK_ROOT}/src -I${BTSTACK_ROOT}/include LDFLAGS = -mmcu=${MCU} CORE = \ @@ -27,7 +27,7 @@ CORE = \ COMMON = \ ../src/hal_uart_dma.c \ ${BTSTACK_ROOT}/chipset-cc256x/bt_control_cc256x.c \ - ${BTSTACK_ROOT}/chipset-cc256x/bluetooth_init_cc2560_2.42.c \ + ${BTSTACK_ROOT}/chipset-cc256x/bluetooth_init_cc2564_2.5.c \ ${BTSTACK_ROOT}/src/hci.c \ ${BTSTACK_ROOT}/src/hci_cmds.c \ ${BTSTACK_ROOT}/src/hci_dump.c \