rust based raspberry pi os
Du kan inte välja fler än 25 ämnen
Ämnen måste starta med en bokstav eller siffra, kan innehålla bindestreck ('-') och vara max 35 tecken långa.
|
-
- # build the OS
- build-os:
- rm build/*
- arm-none-eabi-gcc -mcpu=cortex-a7 -fpic -ffreestanding -c asm/boot.s -o build/boot.o
- cargo xbuild --target armv7a-none-eabi
- arm-none-eabi-gcc -T linker.ld -o build/grove.img -ffreestanding -O2 -nostdlib build/boot.o target/armv7a-none-eabi/debug/libgrove.rlib
-
- # build the OS and run it on QEMU
- run: build-os
- qemu-system-arm -M raspi2 -kernel build/grove.img -serial stdio
-
- # build just the rust binary
- build:
- cargo xbuild --target armv7a-none-eabi
|