huyuan7494 / huyuan7494.github.io Goto Github PK
View Code? Open in Web Editor NEWThis is my personal blog repository.
This is my personal blog repository.
本节中使用的IDE为Kei MDK 1. 汇编、编译和链接先上一张老图,然后我们仔细看下这个器、那个器的都是干啥的:你可能会问,这东西了解了又能怎样?有什么用吗?那么好,我们就来看一下了解编译原理是不是真的就那么没用?对于Keil来说,这几个东西在“keil根目录\ARM\ARMCC\bin”里面,如下图所示: 这几个东东就是keil编译器的内核,他们可以完成从C代码到可以烧写进MCU的二进
理解RO、RW、ZI 要理解RO、RW、ZI需要先了解以下背景知识: 1.ARM程序的组成 此处所说的“ARM程序”是指在ARM系统中正在运行的程序,而非保存在ROM中的二进制映像文件(image),这点类似于进程和程序之间的关系。 一个ARM程序包含3部分:RO、RW和ZI: RO是指令和常量 RW是具有初值的全局或静态变量 ZI是没有初值的全局或静态变量(也包括初值为0) 一般其
什么是分散加载? 简单来说就是让编译器告诉MCU内核哪里存的是代码、哪里存的是数据,去哪个特定的地址找到下一步需要运行的函数的东东,就是告诉编译器把每一个编译好的函数、数据放到具体的哪一个物理地址的东东。当然你可以对链接器的工作漠不关心,但经常你的工程比较复杂时,你就需要指导你下属的具体工作了。 分散加载能做什么? 还记得我们之前的文章中讲过的,一般来说在Keil MDK工程中的默认程序各个部
我们先来做一个最简单的示例,然后逐步深入。 这里我们用STM32F103ZET6作为示例,我们先来看其默认的分散加载(位于Object目录下自动生成的.sct文件): 加载域地址从0x08000000地址开始,大小为0x80000(512KB),运行域(RO)从0x08000000开始,运行域(RW+ZI)从片内SRAM地址开始0x20000000。 有的同学可能会问,《Cortex-M3权
这是description
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.