fyxed typos
This commit is contained in:
@@ -67,10 +67,10 @@ STRIP = $(CROSS_COMPILE)strip
|
|||||||
|
|
||||||
# General flags
|
# General flags
|
||||||
CFLAGS ?= $(INCLUDES) -std=c99 #-fdiagnostics-color=always
|
CFLAGS ?= $(INCLUDES) -std=c99 #-fdiagnostics-color=always
|
||||||
#CFLAGS += -Wall -Wextra -Wpedantic -Wlogical-op -Winline
|
CFLAGS += -Wall -Wextra -Wpedantic -Wlogical-op -Winline
|
||||||
#CFLAGS += -Wformat-nonliteral -Winit-self -Wstack-protector
|
CFLAGS += -Wformat-nonliteral -Winit-self -Wstack-protector
|
||||||
#CFLAGS += -Wconversion -Wsign-conversion -Wformat-security
|
CFLAGS += -Wconversion -Wsign-conversion -Wformat-security
|
||||||
#CFLAGS += -Wstrict-prototypes -Wmissing-prototypes
|
CFLAGS += -Wstrict-prototypes -Wmissing-prototypes
|
||||||
|
|
||||||
# Flags for MCU
|
# Flags for MCU
|
||||||
MCU_CFLAGS += -mlittle-endian -mcpu=cortex-m4 -march=armv7e-m -mthumb
|
MCU_CFLAGS += -mlittle-endian -mcpu=cortex-m4 -march=armv7e-m -mthumb
|
||||||
@@ -99,7 +99,7 @@ release: clean
|
|||||||
$(SOURCES) $(MAIN_MODULE_SRC) -o $(OUT_DIR)/release.host/$(TARGET)
|
$(SOURCES) $(MAIN_MODULE_SRC) -o $(OUT_DIR)/release.host/$(TARGET)
|
||||||
$(STRIP) $(OUT_DIR)/release.host/$(TARGET)
|
$(STRIP) $(OUT_DIR)/release.host/$(TARGET)
|
||||||
|
|
||||||
tests: clean
|
tests:
|
||||||
mkdir -p $(OUT_DIR)/tests.host/
|
mkdir -p $(OUT_DIR)/tests.host/
|
||||||
for unit_test in $(UNITTESTS); \
|
for unit_test in $(UNITTESTS); \
|
||||||
do \
|
do \
|
||||||
@@ -116,6 +116,7 @@ clean:
|
|||||||
rm -f $(TARGET).map
|
rm -f $(TARGET).map
|
||||||
rm -f $(TARGET).hex
|
rm -f $(TARGET).hex
|
||||||
rm -f $(TARGET).lst
|
rm -f $(TARGET).lst
|
||||||
|
rm -f js.files
|
||||||
|
|
||||||
check: tests
|
check: tests
|
||||||
@mkdir -p $(OUT_DIR)
|
@mkdir -p $(OUT_DIR)
|
||||||
|
|||||||
@@ -32,12 +32,12 @@ gen_bytecode ()
|
|||||||
wait(500);
|
wait(500);
|
||||||
}
|
}
|
||||||
*/
|
*/
|
||||||
save_op_data (0, getop_loop_inf (1));
|
// save_op_data (0, getop_loop_inf (1));
|
||||||
save_op_data (1, getop_call_1 (0, 12));
|
// save_op_data (1, getop_call_1 (0, 12));
|
||||||
save_op_data (2, getop_call_1 (0, 13));
|
// save_op_data (2, getop_call_1 (0, 13));
|
||||||
save_op_data (3, getop_call_1 (0, 14));
|
// save_op_data (3, getop_call_1 (0, 14));
|
||||||
save_op_data (4, getop_call_1 (0, 15));
|
// save_op_data (4, getop_call_1 (0, 15));
|
||||||
save_op_data (5, getop_jmp (0));
|
// save_op_data (5, getop_jmp (0));
|
||||||
|
|
||||||
#ifdef __MCU
|
#ifdef __MCU
|
||||||
// It's mandatory to restart app!
|
// It's mandatory to restart app!
|
||||||
|
|||||||
Reference in New Issue
Block a user