rust based raspberry pi os
選択できるのは25トピックまでです。 トピックは、先頭が英数字で、英数字とダッシュ('-')を使用した35文字以内のものにしてください。
 
 
 

15 行
491 B

  1. # build the OS
  2. build-os:
  3. rm build/*
  4. arm-none-eabi-gcc -mcpu=cortex-a7 -fpic -ffreestanding -c asm/boot.s -o build/boot.o
  5. cargo xbuild --target armv7a-none-eabi
  6. arm-none-eabi-gcc -T linker.ld -o build/grove.img -ffreestanding -O2 -nostdlib build/boot.o target/armv7a-none-eabi/debug/libgrove.rlib
  7. # build the OS and run it on QEMU
  8. run: build-os
  9. qemu-system-arm -M raspi2 -kernel build/grove.img -serial stdio
  10. # build just the rust binary
  11. build:
  12. cargo xbuild --target armv7a-none-eabi