-
stm32 内存分配管理
应用背景内存管理,是指软件运行时对计算机内存资源的分配和使用的技术。其最主要的目的是如
何高效,快速的分配,并且在适当的时候释放和回收内存资源。内存管理的实现方法有很多种,
他们其实最终都是要实现2 个函数:malloc 和free;malloc 函数用于内存申请,free 函数用于
内存释放。
关键技术当指针p 调用malloc 申请内存的时候,先判断p 要分配的内存块数(m),然后从第n 项开
始,向下查找,直到找到m 块连续的空内存块(即对应内存管理表项为0),然后将这m 个内
存管理表项的值都设置为m(标记被占用),最后,把最后的这个空内存块的地址返回指针p,
完成一次分配。注意,如果当内存不够的时候(找到最后也没找到连续的m 块空闲内存),则
返回NULL 给p,表示分配失败。
- 2022-02-10 14:18:07下载
- 积分:1
-
12864 LCD Module use, master chip 89C51, should give just a little help a friend...
12864液晶显示模块的使用,主控芯片为89C51,应该会给刚学51的朋友一点帮助-12864 LCD Module use, master chip 89C51, should give just a little help a friend study 51
- 2022-01-26 14:10:37下载
- 积分:1
-
Mitsubishi PLC
三菱PLC的学习的入学的一参考课件
供大家学习参考-Mitsubishi PLC-learning courseware for admission to one reference for everyone learning reference
- 2023-01-28 21:50:04下载
- 积分:1
-
Ip of the liquid crystal display NIOSII nuclear, containing all underlying sourc...
NIOSII的液晶显示ip 核,含有所有底层源代码-Ip of the liquid crystal display NIOSII nuclear, containing all underlying source code
- 2022-01-27 11:38:12下载
- 积分:1
-
以视频为例,嵌入式处理器。
for linux 的video 例子,嵌入式处理器。-the video for example, embedded processors.
- 2022-07-24 20:56:05下载
- 积分:1
-
飞凌嵌入式ok2440开发板鼠标驱动,直接烧写,即可。检测可用...
飞凌嵌入式ok2440开发板鼠标驱动,直接烧写,即可。检测可用-Feiling embedded development board ok2440 mouse-driven, had tested already.
- 2023-06-29 15:20:06下载
- 积分:1
-
嵌入式linux设计与应用,嵌入式linux设计与应用
嵌入式linux设计与应用,嵌入式linux设计与应用-Design and application of embedded linux, embedded linux design and application of
- 2023-01-13 02:20:04下载
- 积分:1
-
kfs 1.0.1release Embedded File System Version Author : Eagle Source : http://www...
kfs嵌入式文件系统1.0.1release版
作者:Eagle
来源:http://www.embseek.com
由embseek开发,专门针对小容量的EEPROM和FLASH等存储器,应用于无操作系统的嵌入式系统中。实现了类似于标准文件操作的接口。压缩包内有在pc下使用ram调试的示例代码。
1.0.1release版本更新内容
修改文件系统初始化api,使用开始地址和结束地址作为参数
修正了文件创建api,添加文件打开模式开关
修正文件碎片管理功能,现在已经不会出现文件碎片啦!
修正了文件系统当前首地址存放方式.-kfs 1.0.1release Embedded File System Version Author : Eagle Source : http://www.embseek.com by embseek development, specifically aimed at small capacity, such as EEPROM and FLASH memory, No operating system for embedded systems. Achieve similar to the standard file manipulation interface. Compressed within the pc use of the ram debugging code examples. 1.0.1release updated version to modify the file system initialization api. use starting address and ending address as a parameter that the file creation api. Add open mode switch that debris document management functions, it is now no document debris! That the first file system addresses the current storage methods.
- 2022-09-19 19:00:03下载
- 积分:1
-
tcp/ip的嵌入式开发 基于pic微控制器,原自tcp/ip lean
tcp/ip的嵌入式开发 基于pic微控制器,原自tcp/ip lean-tcp/ip-based embedded microcontroller pic, since the original tcp/ip lean
- 2022-02-05 00:25:06下载
- 积分:1
-
24c02的c语言源代码,经测试可以运行,在atmel80C51运行无误
24c02的c语言源代码,经测试可以运行,在atmel80C51运行无误-24C02 of c language source code, have been tested and can run in the correct operation of atmel80C51
- 2022-06-14 11:44:20下载
- 积分:1