Commit graph

40 commits

Author SHA1 Message Date
Zihao Yu
6ce926d1ae bsp,am,integrate-am-apps: refactor generated code 2024-01-18 19:50:14 +08:00
Zihao Yu
6761ddf7f8 bsp,am,integrate-am-apps: destroy thread when calling halt() 2024-01-18 19:50:14 +08:00
Zihao Yu
dea61ce9d9 bsp,am,integrate-am-apps: replace '-' with '_' in app name 2024-01-18 19:50:14 +08:00
Zihao Yu
7c420032e2 bsp,am: fix warning message about RTC device 2024-01-13 00:29:05 +08:00
Zihao Yu
9c8b8c3289 bsp,am,integrate-am-apps: fix heap smash
* now pass microbench
2024-01-13 00:28:51 +08:00
Zihao Yu
f08882db2c bsp,am,integrate-am-apps: fix linking error for microbench
* do not change the name of symbol in libraries
* run microbench, but trigger segmentation fault
2024-01-12 20:20:48 +08:00
Zihao Yu
839ab63edf bsp,am,integrate-am-apps: automatically fix the symbol name of AM libraries
* pass hello
2024-01-12 20:20:48 +08:00
Zihao Yu
0fd10d5b22 bsp,am: add basic python script to integrate other AM apps
* but we should manually fix the symbol name of AM libraries
2024-01-12 20:20:48 +08:00
Zihao Yu
5944cfb90c bsp,am,init: add ioe_init() 2024-01-11 23:33:07 +08:00
Zihao Yu
6249bf3509 bsp,am,extra.h: rename posix API to avoid conflict with glibc in native 2024-01-11 23:31:41 +08:00
Zihao Yu
31be4bd348 components,finsh,shell: do not sleep when there is no input 2024-01-11 01:48:19 +08:00
Zihao Yu
ef2f35cee7 bsp,am,config: fix self recursion for strstr() 2024-01-11 01:48:19 +08:00
Zihao Yu
251692a139
Merge pull request #1 from Wenz-jam/master
fix bugs when using make -B
2024-01-02 04:53:53 +08:00
Zihao Yu
27b738b54c components,libc,ctime: fix misaligned memory access on RV64 2023-12-04 22:54:30 +08:00
wenz-jam
a7c2db4e63 fix bugs when using make -B
修复在make -B 时产生的错误
2023-10-17 23:14:37 +08:00
Zihao Yu
69040366c7 components: fix segfault on native by larger stack 2023-10-03 15:21:46 +08:00
Zihao Yu
64e349a5f1 bsp,abstract-machine,extra.ld: use INSERT BEFORE command 2023-10-03 15:21:32 +08:00
Zihao Yu
4b1e2858ae bsp,abstract-machine,Makefile: fix remake issue
* do not set a included Makefile as the target of a rule
2023-10-03 15:21:25 +08:00
Zihao Yu
e6aa8c45f8 bsp,abstract-machine: compile to x86-nemu successfully 2023-10-03 15:21:20 +08:00
Zihao Yu
475f866a45 bsp,abstract-machine,uart: add more preset commands 2023-10-03 15:21:13 +08:00
Zihao Yu
4ed46aca44 bsp,abstract-machine,libc: add more dummy functions to pass linking 2023-10-03 15:21:07 +08:00
Zihao Yu
5cd97fe3f3 bsp,abstract-machine,Makefile: ignore warning of nonnull-compare 2023-10-03 15:21:01 +08:00
Zihao Yu
4586aafb06 bsp,abstract-machine: fix shell command table during linking 2023-10-03 15:19:36 +08:00
Zihao Yu
7e91ba791e bsp,abstract-machine,uart: add preset command in _uart_getc()
* but it is not parsed
2023-10-03 15:19:26 +08:00
Zihao Yu
e5eb90efca components,finsh,shell: poll the console 2023-10-03 15:19:10 +08:00
Zihao Yu
0a091fd303 bsp,abstract-machine: add hello application through initcall 2023-10-03 15:19:04 +08:00
Zihao Yu
624077b98c bsp,abstract-machine: fix the order of .rti_fn* sections
* now initcall can work successfully, and msh can show prompt
2023-10-03 15:18:55 +08:00
Zihao Yu
fed1897b98 components: fix re-entry issue for main() 2023-10-03 15:18:14 +08:00
Zihao Yu
79c8ec519a bsp,abstract-machine,interrupt: implement rt_hw_interrupt_enable() 2023-05-24 14:05:36 +08:00
Zihao Yu
eabba3f39a bsp,abstract-machine,uart: simply and use putch() 2023-05-24 14:04:27 +08:00
Zihao Yu
6097cc54ee bsp,abstract-machine: add rt_hw_board_init() and uart
* uart should be simplified
2023-05-24 13:57:51 +08:00
Zihao Yu
4e2ce927ef bsp,abstract-machine: init CTE 2023-05-24 12:49:11 +08:00
Zihao Yu
d646fbfe58 bsp,abstract-machine: add dummy functions to pass linking 2023-05-24 12:44:34 +08:00
Zihao Yu
0369aa35c7 bsp,abstract-machine: add main() to call entry()
* this flow is similar with qemu-riscv-virt64
* there is still a lot of linking error
2023-05-24 12:36:43 +08:00
Zihao Yu
1f4c0995bf components,libc,compilers,common,ctime: fix compile error
* `__isleap` is defined as a macro in glibc
2023-05-24 12:28:37 +08:00
Zihao Yu
29b3356427 bsp,am: fix missing type definition 2023-05-24 10:37:02 +08:00
Zihao Yu
e5c449a67d bsp,am,Makefile: generate files.mk from scons commands 2023-05-24 10:35:39 +08:00
Zihao Yu
397bc03c19 bsp,am: add basic Makefile to generate rtconfig.h from .config 2023-05-24 10:26:39 +08:00
Zihao Yu
072b83d547 bsp: add basic configure files for abstract-machine 2023-05-24 09:50:02 +08:00
Zihao Yu
e2376a3709 import RT-Thread@9217865c without bsp, libcpu and components/net 2023-05-20 16:26:38 +08:00