File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change 1+ name : Build port / build(push)
2+
3+ on : [push, pull_request]
4+
5+ jobs :
6+ build :
7+ runs-on : ubuntu-latest
8+
9+ steps :
10+ - name : Checkout Repository
11+ uses : actions/checkout@v4
12+
13+ - name : Install Special SDK Tool
14+ run : |
15+ curl -L "https://github.com/QuecPython/toolchain/releases/download/V1.1.0/helios-toolchain" -o $HOME/helios-toolchain
16+ chmod +x $HOME/helios-toolchain
17+ cd $HOME/
18+ ./helios-toolchain
19+ echo "$HOME/helios/bin" >> $GITHUB_PATH
20+
21+ - name : Build Firmware
22+ run : |
23+ make -C mpy-cross
24+ cd ports/quectel
25+ make submodules
26+ cd ../../lib/helios
27+ helios make $HOME @EC600UCN_LB
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