Jump to content

RTOS: Hello World

From Haidhi Wiki
Revision as of 03:51, 12 May 2026 by SanzSkuy (talk | contribs) (Created page with "<syntaxhighlight lang=bash> sudo pacman -S arm-none-eabi-gcc arm-none-eabi-newlib arm-none-eabi-gdb git clone https://github.com/FreeRTOS/FreeRTOS.git cd FreeRTOS git submodule update --init --recursive cd FreeRTOS/Demo/CORTEX_MPS2_QEMU_IAR_GCC/build/gcc make -j$(nproc) qemu-system-arm \ -machine mps2-an385 \ -cpu cortex-m3 \ -kernel output/RTOSDemo.out \ -monitor none \ -nographic \ -serial stdio </syntaxhighlight>")
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
sudo pacman -S arm-none-eabi-gcc arm-none-eabi-newlib arm-none-eabi-gdb

git clone https://github.com/FreeRTOS/FreeRTOS.git
cd FreeRTOS
git submodule update --init --recursive
cd FreeRTOS/Demo/CORTEX_MPS2_QEMU_IAR_GCC/build/gcc
make -j$(nproc)

qemu-system-arm \
  -machine mps2-an385 \
  -cpu cortex-m3 \
  -kernel output/RTOSDemo.out \
  -monitor none \
  -nographic \
  -serial stdio