Removed bad compiler option that was causing crash.

This commit is contained in:
claudiol 2015-11-06 11:01:48 -05:00
parent d2c4449c3d
commit 6092392619
2 changed files with 19 additions and 9 deletions

View file

@ -20,14 +20,14 @@ extern void __keyb_update();
// KEYBOARD, LOW LEVEL GLOBAL VARIABLES
extern unsigned short int __keyb_buffer[KEYB_BUFFER] __SYSTEM_GLOBAL__;
extern volatile int __keyb_lock __SYSTEM_GLOBAL__;
extern int __keyflags __SYSTEM_GLOBAL__;
extern int __kused __SYSTEM_GLOBAL__,__kcurrent __SYSTEM_GLOBAL__;
extern keymatrix __kmat __SYSTEM_GLOBAL__;
extern int __keyplane __SYSTEM_GLOBAL__;
extern int __keynumber __SYSTEM_GLOBAL__,__keycount __SYSTEM_GLOBAL__;
extern int __keyb_repeattime,__keyb_longpresstime __SYSTEM_GLOBAL__,__keyb_debounce __SYSTEM_GLOBAL__;
extern unsigned short int __keyb_buffer[KEYB_BUFFER];
extern volatile int __keyb_lock;
extern int __keyflags;
extern int __kused,__kcurrent ;
extern keymatrix __kmat ;
extern int __keyplane ;
extern int __keynumber ,__keycount ;
extern int __keyb_repeattime,__keyb_longpresstime ,__keyb_debounce ;

View file

@ -51,7 +51,6 @@ SOURCES +=\
newrpl/lib-28-dirs.c \
newrpl/lib-30-complex.c \
newrpl/lib-32-lam.c \
newrpl/units.c \
newrpl/lib-52-matrix.c \
newrpl/lib-54-units.c \
newrpl/lib-56-symbolic.c \
@ -161,7 +160,18 @@ QMAKE_CXX = arm-none-eabi-g++
QMAKE_LINK = arm-none-eabi-gcc
#QMAKE_AR_CMD = arm-none-eabi-ar -cqs $(TARGET) $(OBJECTS)
#QMAKE_AR_CMD = arm-none-eabi-ld --verbose -T$$PWD/firmware/ld.script -nodefaultlibs -nostdlib -L$$GCC_LIBDIR $(OBJECTS) -lgcc -o $(TARGET).elf
QMAKE_CFLAGS_DEBUG =
QMAKE_CFLAGS_RELEASE =
QMAKE_CFLAGS_SHLIB =
QMAKE_CFLAGS_MT =
QMAKE_CFLAGS_MT_DBG =
QMAKE_CFLAGS_THREAD =
QMAKE_CFLAGS = -mtune=arm920t -mcpu=arm920t -mlittle-endian -fomit-frame-pointer -fno-toplevel-reorder -msoft-float -Os -pipe -mthumb-interwork -nostdinc
QMAKE_CFLAGS_APP =
QMAKE_LFLAGS_DEBUG =
QMAKE_LFLAGS_SHAPP =
QMAKE_LFLAGS_THREAD =
QMAKE_LFLAGS = -T$$PWD/firmware/ld.script -nodefaultlibs -nostdlib -L$$GCC_LIBDIR
QMAKE_POST_LINK = $$PWD/firmware/elf2rom $(TARGET)