This thread has been locked.

If you have a related question, please click the "Ask a related question" button in the top right corner. The newly created question will be automatically linked to this question.

求BLE主从一体的程序

Other Parts Discussed in Thread: CC2540, CC2541

目前我用开发板上的主从一体程序,是可行的,但是增加HAL_UART=TRUE后,显示程序溢出。

求TI原版主从一体程序。

  • yunfei,

    请看 http://processors.wiki.ti.com/index.php/MasterSlaveSwitch

  • Hello Yan:

    我下载了这个例子,编译没有错误,但是增加了HAL_UART=TRUE之后,扔然提示溢出错误。

    Error[e104]: Failed to fit all segments into specified ranges. Problem discovered in segment XDATA_N. Unable to place 2 block(s) (0xaf2 byte(s) total) in 0x9b9 byte(s) of memory. The problem occurred while processing the segment placement command "-P(XDATA)XDATA_N=_XDATA_START-_XDATA_END", where at the moment of placement the available memory ranges were "XDATA:1547-1eff"

    这个错误和我原来使用的文件编译产生的错误一样,但是我的xcl文件也是采用的原始文件,并没有更改过,请问应该如何解决?

    以下是我采用的定义:

    INT_HEAP_LEN=2800
    HALNODEBUG
    OSAL_CBTIMER_NUM_TASKS=1
    HAL_AES_DMA=TRUE
    HAL_DMA=TRUE
    POWER_SAVING
    xPLUS_BROADCASTER
    HAL_LCD=FALSE
    HAL_LED=TRUE
    CC2540_MINIDK
    CC2541
    HAL_UART=TRUE

  • 关注主从一体。

  • Hi David wei:

    不太清楚您说的“关注主从一体”是什么意思,能更加具体一些吗?