alexshilucky / osal Goto Github PK
View Code? Open in Web Editor NEWThis project forked from mcuwty/osal
OSAL移植完成版
This project forked from mcuwty/osal
OSAL移植完成版
移植说明 1、完成OSAL\hal\timer.c文件,为系统提供时钟; 2、修改OSAL\include\type.h文件中的全局中断开关宏定义(可空),添加芯片对应的头文件,根据需要修改数据类型宏定义,根据芯片字长修改halDataAlign_t类型; 3、根据需要修改OSAL\osal\osal_memory.h文件中的内存池大小定义,文件中osalMemHdr_t类型需要确保长度为16bit或以上,非8位单片机需要设定内存池的字节对齐; 4、添加任务函数中的任务优先级数值大的任务则优先级高; 5、根据需要修改OSAL\include\osal_memory.h文件中的OSALMEM_METRICS定义,有效则开启内存统计功能; 动态内存管理拓展说明 1、注释掉osal_memory.c中的内存大小编译限制; 2、替换osal_memory.c中的uint16为osalMemHdr_t; 3、替换osal_memory.h中的uint16为halDataAlign_t; 4、修改osal_memory.c中的宏定义OSALMEM_IN_USE为0x80000000;
A declarative, efficient, and flexible JavaScript library for building user interfaces.
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google ❤️ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.