diff options
Diffstat (limited to 'Makefile')
-rw-r--r-- | Makefile | 6 |
1 files changed, 3 insertions, 3 deletions
@@ -1,4 +1,4 @@ -CFLAGS=-mcpu=cortex-a7 -ffreestanding -std=gnu99 -Wall -Wextra -I. +CFLAGS=-mcpu=cortex-a7 -ffreestanding -std=gnu11 -Wall -Wextra -I. ELFFLAGS=-ffreestanding -O2 -nostdlib -lgcc -I. @@ -45,10 +45,10 @@ qemu-elf : kernel.elf qemu-system-arm -m 256 -M raspi2 -serial stdio -kernel $^ qemu-bin : loader.elf kernel7.img pipe_image - ./pipe_image && qemu-system-arm -m 256 -M raspi2 -serial stdio -kernel $< + ./pipe_image --stdout | qemu-system-arm -m 256 -M raspi2 -serial stdio -kernel $< run-on-rpi : kernel7.img pipe_image - ./pipe_image | socat FILE:/dev/ttyUSB0,b115200,raw - + ./pipe_image --stdout | socat FILE:/dev/ttyUSB0,b115200,raw - sleep 1 screen /dev/ttyUSB0 115200,cs8,-parenb,-cstopb,-hupcl |