melodies
This commit is contained in:
@ -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
|
||||
|
||||
|
@ -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
@ -1,8 +0,0 @@
|
||||
#ifndef _MELODY_H_
|
||||
#define _MELODY_H_
|
||||
|
||||
|
||||
void melodyInit();
|
||||
|
||||
|
||||
#endif // _MELODY_H_
|
Reference in New Issue
Block a user