example/arm/Makefile: remove implicit "circular dependency"
This commit is contained in:
parent
3338b611c1
commit
150a415433
@ -20,3 +20,14 @@ include base.mk
|
||||
|
||||
main.elf: LDSCRIPT = main.lds
|
||||
main.elf: start.o main.o audio.pcm.o
|
||||
|
||||
.SUFFIXES:
|
||||
.INTERMEDIATE:
|
||||
.SECONDARY:
|
||||
.PHONY: all clean
|
||||
|
||||
%: RCS/%,v
|
||||
%: RCS/%
|
||||
%: %,v
|
||||
%: s.%
|
||||
%: SCCS/s.%
|
||||
|
@ -2,7 +2,7 @@
|
||||
|
||||
extern void * _sine_start __asm("_binary_audio_pcm_start");
|
||||
|
||||
extern volatile uint32_t * dram __asm("dram");
|
||||
extern volatile uint32_t dram[0x200000] __asm("dram");
|
||||
|
||||
extern "C"
|
||||
void main()
|
||||
@ -46,6 +46,8 @@ void main()
|
||||
aica.common.TIMA(0);
|
||||
aica.channel[0].KYONEX(1);
|
||||
|
||||
dram[0] = 0x11223344;
|
||||
|
||||
while (1) {
|
||||
if (aica.common.TIMA() >= 1) {
|
||||
aica.common.TIMA(0);
|
||||
|
Loading…
x
Reference in New Issue
Block a user