新增一个led测试代码
This commit is contained in:
parent
cdd09da18d
commit
ab8f1aee3e
@ -1,6 +1,9 @@
|
|||||||
|
|
||||||
|
|
||||||
|
.global _start
|
||||||
|
|
||||||
|
_start:
|
||||||
|
ldr r0, =0x40000000
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|||||||
7
driver/board_driver/01-led/makefile
Normal file
7
driver/board_driver/01-led/makefile
Normal file
@ -0,0 +1,7 @@
|
|||||||
|
|
||||||
|
led:led.s
|
||||||
|
arm-linux-gnueabihf-gcc -c -v led.s
|
||||||
|
arm-linux-gnueabihf-gcc -o led led.o
|
||||||
|
|
||||||
|
clean:
|
||||||
|
rm -f *.o
|
||||||
Loading…
Reference in New Issue
Block a user