Created
March 17, 2015 01:29
-
-
Save good5dog5/e84b123eea0d6f04938f to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
mkdir -p workspace | |
cd workspace | |
git clone git://github.com/beckus/stm32_p103_demos.git || git clone https://github.com/beckus/stm32_p103_demos.git | |
git clone git://github.com/beckus/qemu_stm32.git || git clone https://github.com/beckus/qemu_stm32.git | |
cd qemu_stm32 | |
git submodule update --init dtc || sudo apt-get install libfdt-dev | |
./configure --disable-werror --enable-debug \ | |
--target-list="arm-softmmu" \ | |
--extra-cflags=-DSTM32_UART_NO_BAUD_DELAY \ | |
--extra-cflags=-DSTM32_UART_ENABLE_OVERRUN \ | |
--disable-gtk | |
make | |
cd ../stm32_p103_demos | |
make all | |
make blink_flash_QEMURUN | |
make button_QEMURUN | |
make uart_echo_QEMURUN |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment