将idle_profile demo添加到自己的工程里面,调用platform_init()时出现如下错误:
unable to allocate space for sections/blocks with a total estimated minimum size of 0x3c0d4 bytes (max align 0x400) in <[0x20004000-0x2003c000]> (total uncommitted space 0x37c01).请问,这个问题要如何解决? 或者 是否有其他方式,配置系统进入LPDS模式并可通过网络或按键唤醒?
Alvin Chen:
你试着去修改一下cmd的文件,这个报错是超出了分配的空间。
MCU LPDS mode State information is lost and only certain MCU-specific register configurations are retained. The MCU
can wake up from external events or by using an internal timer. (The wake-up time is less than 3 ms.)
Certain parts of memory can be retained while the MCU is in LPDS mode. The amount of memory
retained is configurable. Users can choose to preserve code and the MCU-specific setting. The MCU
can be configured to wake up using the RTC timer or by an external event on specific GPIOs defined in
Table 3-1 as the wake-up source.
www.ti.com/…/cc3200.pdf
Alvin Chen:
回复 Alvin Chen:
参考一下下面的
e2echina.ti.com/…/101937
sherlock ding:
回复 Alvin Chen:
我将cc3200.icf 里面的SRAM段修改为[0x20004000-0x2003ffff], 编译的时候,依然会出现LP011错误,如下:unable to allocate space for sections/blocks with a total estimated minimum size of 0x3c0dc bytes (max align 0x400) in <[0x20004000-0x2003ffff]> (total uncommitted space 0x3bc00).
请问是修改的地方错误了吗?
Alvin Chen:
回复 sherlock ding:
那就是可能两个合并太大了,导致不能共存,你可以在下面英文版咨询一下是否有提供相应demo
e2e.ti.com/…/968