example/arm: rename to channel

This commit is contained in:
Zack Buhman 2024-02-29 17:32:54 +08:00
parent 150a415433
commit 57721c485f
4 changed files with 11 additions and 5 deletions

View File

@ -4,8 +4,8 @@
#include "systembus.hpp"
#include "systembus_bits.hpp"
extern void * _binary_start __asm("_binary_example_arm_main_bin_start");
extern void * _binary_size __asm("_binary_example_arm_main_bin_size");
extern void * _binary_start __asm("_binary_example_arm_channel_bin_start");
extern void * _binary_size __asm("_binary_example_arm_channel_bin_size");
void wait()
{

View File

@ -18,8 +18,14 @@ TARGET = arm-none-eabi-
include base.mk
main.elf: LDSCRIPT = main.lds
main.elf: start.o main.o audio.pcm.o
channel.elf: LDSCRIPT = main.lds
channel.elf: start.o channel.o audio.pcm.o
clean:
find -P \
-regextype posix-egrep \
-regex '.*\.(o|d|bin|elf|gch)$$' \
-exec rm {} \;
.SUFFIXES:
.INTERMEDIATE:

View File

@ -368,7 +368,7 @@ example/gdrom_iso9660.elf: $(START_OBJ) $(GDROM_ISO9660_OBJ)
AICA_OBJ = \
example/aica.o \
sh7091/serial.o \
example/arm/main.bin.o \
example/arm/channel.bin.o \
example/aica.elf: LDSCRIPT = $(LIB)/alt.lds
example/aica.elf: $(START_OBJ) $(AICA_OBJ)