Jump to content

RTOS: Hello World

From Haidhi Wiki
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