This commit is contained in:
2024-04-10 14:10:42 +02:00
parent fef3f69f63
commit 2fb12f8af0
4 changed files with 3 additions and 1187 deletions

View File

@ -11,7 +11,7 @@ CFLAGS=-Wall -mmcu=$(MCU) -std=gnu99 -I $(TOOLCHAIN_PREFIX)/include -O1 -g0
LDFLAGS=-mmcu=$(MCU) -L $(TOOLCHAIN_PREFIX)/include
$(ARTIFACT).elf: main.o scheduler.o spi.o sequencer.o melody.o ay_3_8913.o
$(ARTIFACT).elf: main.o scheduler.o spi.o sequencer.o melody_tetris.o melody_tusch1.o ay_3_8913.o
$(CC) -o $@ $(LDFLAGS) $^
$(OBJDUMP) -D $(ARTIFACT).elf > $(ARTIFACT).txt

View File

@ -6,7 +6,7 @@
#include "psg.h"
#include "scheduler.h"
#include "sequencer.h"
#include "melody.h"
#include "melody_tetris.h"
int main() {
WDTCTL = WDTPW | WDTHOLD;
@ -28,7 +28,7 @@ int main() {
__enable_interrupt();
melodyInit();
playMelodyTetris();
while (1) {

File diff suppressed because it is too large Load Diff

View File

@ -1,8 +0,0 @@
#ifndef _MELODY_H_
#define _MELODY_H_
void melodyInit();
#endif // _MELODY_H_