forked from beckus/qemu_stm32
QEMU with an STM32 microcontroller implementation
License
Unknown and 2 other licenses found
Licenses found
Unknown
LICENSE
GPL-2.0
COPYING
LGPL-2.1
COPYING.LIB
hankhank/qemu_stm32
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
stm32
Could not load branches
Nothing to show
Could not load tags
Nothing to show
{{ refName }}
default
Name already in use
A tag already exists with the provided branch name. Many Git commands accept both tag and branch names, so creating this branch may cause unexpected behavior. Are you sure you want to create this branch?
Code
-
Clone
Use Git or checkout with SVN using the web URL.
Work fast with our official CLI. Learn more about the CLI.
- Open with GitHub Desktop
- Download ZIP
Sign In Required
Please sign in to use Codespaces.
Launching GitHub Desktop
If nothing happens, download GitHub Desktop and try again.
Launching GitHub Desktop
If nothing happens, download GitHub Desktop and try again.
Launching Xcode
If nothing happens, download Xcode and try again.
Launching Visual Studio Code
Your codespace will open once ready.
There was a problem preparing your codespace, please try again.
This branch is 1 commit ahead, 60 commits behind beckus:stm32.
Latest commit
Git stats
Files
Failed to load latest commit information.
Type
Name
Latest commit message
Commit time
dtc @ 65cc4d2
pixman @ 97336fa
QEMU with STM32 Microcontroller Implementation Official Homepage: http://beckus.github.io/qemu_stm32/ OVERVIEW This is a copy of QEMU that has been modified to include an implementation of the STM32 microcontroller. It also implements an Olimex STM32_P103 developmentvboard. This project runs the demos located in the stm32_p103_demos project located at: https://github.com/beckus/stm32_p103_demos . Commands for a typical build: ./configure --enable-debug --target-list="arm-softmmu" make Useful make commands when rebuilding: make defconfig make clean The generated executable is arm-softmmu/qemu-system-arm . Other configure options which control the STM32 implementation: --extra-cflags=-DDEBUG_CLKTREE Print out clock tree debug statements. --extra-cflags=-DDEBUG_STM32_RCC --extra-cflags=-DDEBUG_STM32_UART --extra-cflags=-DDEBUG_STM32_TIMER Print debug statements for specific peripherals. --extra-cflags=-DSTM32_UART_NO_BAUD_DELAY Disable the BAUD rate timing simulation (i.e. the UART will transmit or receive as fast as possible, rather than using a realistic delay). --extra-cflags=-DSTM32_UART_ENABLE_OVERRUN Enable setting of the overrun flag if a character is received before the last one is processed. If this is not set, the UART will not receive the next character until the previous one is read by software. Although less realisitic, this is safer in case the VM is running slow. Other QEMU configure options which are useful for troubleshooting: --extra-cflags=-DDEBUG_GIC qemu-system-arm options which are useful for trobuleshooting: -d ? To see available log levels -d cpu,in_asm Enable logging to view the CPU state during execution and the ARM instructions which are being executed. I believe --enable-debug must be used for this to work. By default, you can find the output in /tmp/qemu.log: UNIT TESTING Unit test scripts are included for the STM32 implementation. These test will be executed when running "make" with the standard check targets (see tests/Makefile for documentation of QEMU's unit testing features): make check make check-qtest-arm The original QEMU README follows: Read the documentation in qemu-doc.html or on http://wiki.qemu-project.org - QEMU team
About
QEMU with an STM32 microcontroller implementation
Resources
License
Unknown and 2 other licenses found
Licenses found
Unknown
LICENSE
GPL-2.0
COPYING
LGPL-2.1
COPYING.LIB
Stars
Watchers
Forks
Packages 0
No packages published
Languages
- C 93.1%
- C++ 1.8%
- Python 1.6%
- Shell 1.0%
- Haxe 0.8%
- Assembly 0.6%
- Other 1.1%