I got the BLE-CC254x-1.4.2.2.
Just now ,I want run the SimpleBLEPeripheral's on a self made board based on CC2541, which I have to use both UART ( connect to a GPS) and I2C port ( connect to a MPU-6050 + HMC5883L ).
But the SimpleBLEPeripheral's hal is based on the CC2540EB, which is only have the UART by default.
So I replaced the CC2540EB with CC2541ST, then add the CC2540EB‘ hal_uart.c,_hal_uart_isr.c , and made some change in the hal_board_cfg.h according to the CC2540EB's corresponding file.
Then encountering a link error:
Error[e27]: Entry "halUart0RxIsr" in module _hal_uart_isr ( J:\GPS\BLE-CC254x-1.4.2.2\Projects\ble\SimpleBLEPeripheral2\CC2541DB\CC2541\Obj\_hal_uart_isr.r51 ) redefined in module hal_uart
( J:\GPS\BLE-CC254x-1.4.2.2\Projects\ble\SimpleBLEPeripheral2\CC2541DB\CC2541\Obj\hal_uart.r51 )
Do I walk on the right way? How to fixed this error ? Thanks .