Add the cortex-m0 support for XiUOS & Fix bugs on M3 and serial device #113
Loading…
Reference in New Issue
No description provided.
Delete Branch "Kiritoy/xiuos:develop"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
此MR是为XiUOS增加cortex-m0支持,由上海交通大学IPADS实验室提交。
增加
xiuos\Ubiquitous\XiUOS\board\cortex-m0-emulator 文件夹
修改了 xiuos\Ubiquitous\XiUOS 文件夹下的 path_kernel.mk and Makefile
把
xiuos/Ubiquitous/XiUOS/arch/arm/shared文件夹中armv7-m(cortex-m3、m4、m7均是armv7-m架构)的代码拿出来作为单独文件夹,并且添加armv6-m文件夹(cortex-m0是armv6-m架构)(此项已应要求修改为原来的目录结构)编译命令
make BOARD=cortex-m0-emulator menuconfig
make BOARD=cortex-m0-emulator
运行命令
qemu-system-arm -machine microbit -nographic -kernel build/XiUOS_cortex-m0-emulator.elf
另:
修复
XiUOS原本HwInterruptcontextSwitch等函数的bug:未保存和恢复callee-save registers。之前的代码未触发该bug,如果在shell中增加register变量,已验证可以触发。
修复
读取方向键等组合字符的BUG。
此次修改基于 prepare_for_master