File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -2,7 +2,7 @@ TOP := ../..
22ifneq ($(HeliosSDK_PATH ) ,)
33ROOT := $(HeliosSDK_PATH )
44else
5- ROOT := $(TOP ) /../..
5+ ROOT := $(TOP ) /lib/helios
66endif
77
88include ../../py/mkenv.mk
@@ -18,6 +18,9 @@ CFLAGS = $(INC) -Wall -Werror -Wdouble-promotion -Wfloat-conversion -std=c99 $(C
1818LDFLAGS = -Wl,-Map=$@ .map,--cref -Wl,--gc-sections
1919endif
2020
21+ CFLAGS += -mcpu=cortex-a5 -mtune=generic-armv7-a -mthumb \
22+ -mfpu=neon-vfpv4 -mfloat-abi=hard -mno-unaligned-access
23+
2124CSUPEROPT = -Os # save some code space
2225
2326GIT_SUBMODULES += lib/helios
@@ -107,5 +110,6 @@ $(BUILD)/_frozen_mpy.c: frozentest.mpy $(BUILD)/genhdr/qstrdefs.generated.h
107110$(BUILD ) /firmware.a : $(OBJ )
108111 $(ECHO ) " AR $@ "
109112 $(Q )$(AR ) -cr $@ $^
113+ cd $(ROOT ) && helios make ../../../micropython $(BOARD )
110114
111115include $(TOP ) /py/mkrules.mk
You can’t perform that action at this time.
0 commit comments