I am trying to use CC2530 with MAX3485 chip to interface RS485 device with the instructions in following discussion: http://e2e.ti.com/support/low_power_rf/f/158/t/131050.aspx
The code works perfectly when I use BasicRF as environment. However, the same code does not work with SampleApp in Z-Stack 2.5.1a. I have tried to set following options for the project (1) HAL_UART=TRUE, (2) UART_DMA=FALSE, and (3) UART_ISR=TRUE. The IAR compiler doesn’t seem to compile the hal_uart.c with _hal_uart_isr.c because it doesn’t show any message whenever I put an error code into _hal_uart_isr.c. I have tried to forcing hal_uart.c code to compile _hal_uart_isr.c and corresponding function by removing some #if .. #endif macros. But the code still doesn’t work. Any idea why? Thanks.