1 Star 0 Fork 0

做更强/binutils-esp32ulp

加入 Gitee
与超过 1200万 开发者一起发现、参与优秀开源项目,私有仓库也完全免费 :)
免费加入
文件
克隆/下载
ulp_readm.me 876 Bytes
一键复制 编辑 原始数据 按行查看 历史
The main idea, that assembler is always the same.
All ULP cores have one esp32ulp-parse.y file that must be updated if new commands added.
This file will be converted to the *.c file and will be linkedd to the project.
For each assembler command in common tc-esp32ulp_common.c file the processing function (command function) will be called.
Inside of the command function the switch have to shoose the target core.
To include new ULP core to the binutils, please follow the next steps:
1. In file tc-esp32ulp in md_parse_option() define your ULP version.
2. Add new instructions into esp32ulp-parse.y and esp32ulp-lex.l files.
3. Add new files with instructions processing into the project in the same way as tc-esp32ulp_esp32.c (just search text tc-esp32ulp_esp32.).
4. Add mew command processing into the elf32-esp32ulp.c and not forget to increase ESP32ULP_RELOC_MAX
...
Loading...
马建仓 AI 助手
尝试更多
代码解读
代码找茬
代码优化
1
https://gitee.com/qzq01/binutils-esp32ulp.git
[email protected]:qzq01/binutils-esp32ulp.git
qzq01
binutils-esp32ulp
binutils-esp32ulp
master

搜索帮助