diff --git a/BaS_gcc.files b/BaS_gcc.files index f18b5a4..4608d31 100644 --- a/BaS_gcc.files +++ b/BaS_gcc.files @@ -197,3 +197,4 @@ util/printf_helper.S util/wait.c bas.lk.in i2c/i2c.c +Makefile diff --git a/Makefile b/Makefile index 93091e2..0d9a7ec 100644 --- a/Makefile +++ b/Makefile @@ -1,4 +1,4 @@ -# # Makefile for Firebee BaS +# Makefile for Firebee BaS # # This Makefile is meant for cross compiling the BaS with Vincent Riviere's cross compilers. # If you want to compile native on an Atari (you will need at least GCC 4.6.3), set @@ -9,7 +9,7 @@ # can be either "Y" or "N" (without quotes). "Y" for using the m68k-elf-, "N" for using the m68k-atari-mint # toolchain -COMPILE_ELF=N +COMPILE_ELF=Y ifeq (Y,$(COMPILE_ELF)) TCPREFIX=m68k-elf- @@ -41,7 +41,7 @@ CFLAGS=-mcpu=5474 \ CFLAGS_OPTIMIZED = -mcpu=5474 \ -Wall \ -O2 \ - -g \ + -g \ -fomit-frame-pointer \ -ffreestanding \ -fleading-underscore \ diff --git a/i2c/i2c.c b/i2c/i2c.c index 94e0cb8..ce0e3a2 100644 --- a/i2c/i2c.c +++ b/i2c/i2c.c @@ -10,7 +10,7 @@ void i2c_set_frequency(int hz) { } -int i2c_read(int address, char *data, int lengt, bool repeated) +int i2c_read(int address, char *data, int length, bool repeated) { return 0; }