stsquad/arm-m-profile-tests
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Folders and files
Name | Name | Last commit message | Last commit date | |
---|---|---|---|---|
Repository files navigation
= Build Needs a cross GCC ARM tool chain supporting cortex-m3. Since -ffreestanding is used, any GCC should be usable, regardless of the target OS. Debian users can install apt-get install gcc-arm-none-eabi gdb-arm-none-eabi The gcc-arm-linux-gnueabihf packages will also work. If your compiler isn't in /usr/bin, then specify PREFIX=/where/it/is to Make. = Run tests The 'runtests.sh' script takes two optional arguments: the first is the QEMU binary to use (default "qemu-system-arm") and the second is the PREFIX to pass to make, if any. The tests run by runtests.sh are: test1-kern.bin: basic load test test9-kern.bin: check initial register states test10-kern.bin: check register exception handling register states test4-kern.bin: handling of external (NVIC) exceptions test5-kern.bin: thread mode unprivileged and process stack handling test13-kern.bin: UsageFaults Tests which aren't currently run: test3-kern.bin: exception masking and escalation test6-kern.bin: unrecoverable exception test7-kern.bin: magic exception return from thread mode test8-kern.bin: test MPU test11-kern.bin: various access fault handling and recovery test12-kern.bin: invalid exception table entry (not Thumb mode) These are not run by runtests.sh because either: (1) they haven't been updated to use the TAP test output format (2) they don't yet pass on QEMU You can hand-run a test with the command qemu-system-arm -no-reboot -M lm3s6965evb -m 16 -serial stdio -display none -net nic -net user,restrict=on -d guest_errors,unimp -kernel test-whatever-kern.bin
About
My copy of https://git.linaro.org/people/peter.maydell/m-profile-tests.git
Resources
Security policy
Stars
Watchers
Forks
Releases
No releases published
Packages 0
No packages published