diff --git a/qiboot/Makefile b/qiboot/Makefile index 1a620f9..5276ea3 100644 --- a/qiboot/Makefile +++ b/qiboot/Makefile @@ -68,10 +68,5 @@ ${UDFU_IMAGE}:${OBJS} -d ${IMAGE} ${UDFU_IMAGE} @$(OBJDUMP) -d ${TARGET} >${IMAGE}.dis -blink_led:src/led_on.S - $(CC) $(CFLAGS) led_on.o led_on.S - $(LD) -g led_on.o -o led_on_temp.o - $(OBJCOPY) -O binary -S led_on_temp.o $(IMAGE)/led_on - clean: @rm -f src/*.o src/*~ include/*~ ${IMAGE}* ${TARGET} ${UDFU_IMAGE} diff --git a/qiboot/src/led_on.S b/qiboot/src/led_on.S deleted file mode 100644 index 1ebcaa9..0000000 --- a/qiboot/src/led_on.S +++ /dev/null @@ -1,37 +0,0 @@ -_start: - mov ip, sp - stmfd sp!, {fp, ip, lr, pc} - sub fp, ip, #4 - ldr r2, .L4 - mov r3, #5 - str r3, [r2, #0] - ldr r2, .L4+4 - ldr r3, .L4+8 - str r3, [r2, #0] -.L2: - ldr r2, .L4+12 - ldr r3, .L4+12 - ldr r3, [r3, #0] - bic r3, r3, #1 - str r3, [r2, #0] - ldr r0, .L4+8 - bl delay - ldr r2, .L4+12 - ldr r3, .L4+12 - ldr r3, [r3, #0] - orr r3, r3, #1 - str r3, [r2, #0] - ldr r0, .L4+8 - bl delay - b .L2 -.L5: - .align 2 -.L4: - .word 1442840592 - .word 1442840600 - .word 65535 - .word 1442840596 - delay: - subs r0,r0,#0x1 - bne delay - mov pc,lr