为了解决基于C*Core系列芯片嵌入式开发过程中,C*Core系统在某些情况下由于受操作系统、数据格式差异等因素影响,不能动态分配C*Core系列芯片内存的问题,采用数组与标志位相结合的方法,提出一种C*Core系列芯片在所有情况下都通用的动态内存分配方案。该方案利用C*Core C语言编写实现,程序在苏州国芯公司CS32XDV10开发板上运行后,成功实现了动态分配CCM3118芯片内存功能。%In the embedded development based on C*Core-chips,due to the operating system,data format differences and other factors, the C*Core system does not support the dynamic memory allocation function on C*Core series chips.In order to solve the problem,this a dynamic memory allocation scheme with the combination of array and flag is proposed,which can be generally used on C*Core series chips.The program used C*Core C to design and run in GuoXin CS32XDV10 development board, successfully implemented the dynamic allocation of memory on the CCM3118 chip.
展开▼