• Home
  • History
  • Annotate
Name Date Size #Lines LOC

..01-Sep-2021-

test-frzmpy/H01-Sep-2021-1710

MakefileH A D01-Sep-20214 KiB153109

Makefile.testH A D01-Sep-20211.1 KiB3220

README.mdH A D01-Sep-20211.2 KiB2923

imx6.ldH A D01-Sep-2021796 4841

main.cH A D01-Sep-20211.5 KiB6151

modmachine.cH A D01-Sep-20212 KiB4816

moduos.cH A D01-Sep-20212.4 KiB5421

mpconfigport.hH A D01-Sep-20212.7 KiB8162

mphalport.hH A D01-Sep-2021139 64

mps2.ldH A D01-Sep-2021582 3934

nrf51.ldH A D01-Sep-2021627 4035

qstrdefsport.hH A D01-Sep-202147 30

startup.cH A D01-Sep-20212.8 KiB12189

stm32.ldH A D01-Sep-2021627 4035

test_main.cH A D01-Sep-20211.2 KiB5545

uart.cH A D01-Sep-20212.1 KiB10680

uart.hH A D01-Sep-202170 32

README.md

1This is experimental, community-supported port for Cortex-M emulation as
2provided by QEMU (http://qemu.org).
3
4The purposes of this port are to enable:
5
61. Continuous integration
7    - run tests against architecture-specific parts of code base
82. Experimentation
9    - simulation & prototyping of anything that has architecture-specific
10      code
11    - exploring instruction set in terms of optimising some part of
12      MicroPython or a module
133. Streamlined debugging
14    - no need for JTAG or even an MCU chip itself
15    - no need to use OpenOCD or anything else that might slow down the
16      process in terms of plugging things together, pressing buttons, etc.
17
18This port will only work with the [GNU ARM Embedded Toolchain](
19https://developer.arm.com/tools-and-software/open-source-software/developer-tools/gnu-toolchain/gnu-rm)
20 and not with CodeSourcery toolchain. You will need to modify
21`LDFLAGS` if you want to use CodeSourcery's version of `arm-none-eabi`.
22The difference is that CodeSourcery needs `-T generic-m-hosted.ld` while
23ARM's version  requires `--specs=nano.specs --specs=rdimon.specs` to be
24passed to the linker.
25
26To build and run image with builtin testsuite:
27
28    make -f Makefile.test test
29