https://github.com/xpack-dev-tools/qemu-eclipse-test-hello
A small "Hello World!" semihosting test running on QEMU
https://github.com/xpack-dev-tools/qemu-eclipse-test-hello
Last synced: 8 months ago
JSON representation
A small "Hello World!" semihosting test running on QEMU
- Host: GitHub
- URL: https://github.com/xpack-dev-tools/qemu-eclipse-test-hello
- Owner: xpack-dev-tools
- License: mit
- Created: 2022-06-07T10:12:32.000Z (about 4 years ago)
- Default Branch: master
- Last Pushed: 2022-06-08T20:46:11.000Z (about 4 years ago)
- Last Synced: 2024-12-27T08:44:11.511Z (over 1 year ago)
- Language: Assembly
- Homepage:
- Size: 54.7 KB
- Stars: 0
- Watchers: 3
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- Changelog: CHANGELOG.md
- Funding: .github/FUNDING.yml
- License: LICENSE
Awesome Lists containing this project
README
# qemu-eclipse-test-hello
## Overall
A small "Hello World!" application to test QEMU in bare-metal configurations.
The supported platforms are:
- Cortex-M3
- Cortex-A15 (32-bit)
- Cortex-A72 (64-bit)
For each one see the corresponding `platform-*` folder.
## Arm semihosting
The application uses Arm semihosting to communicate with QEMU.
For newlib, the options added to the linker line are:
```console
--specs=rdimon.specs -Wl,--start-group -lgcc -lc -lc -lm -lrdimon -Wl,--end-group
```
## initialised `.data`
The librdimon startup assumes the code will run from RAM,
and does not copy initialised data from FLASH to RAM; to fix
this, manually copy the memory area before `_start()`.