Skip to content

Instantly share code, notes, and snippets.

@good5dog5
Created March 17, 2015 01:29
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save good5dog5/e84b123eea0d6f04938f to your computer and use it in GitHub Desktop.
Save good5dog5/e84b123eea0d6f04938f to your computer and use it in GitHub Desktop.
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