Skip to content

Commit 41530a7

Browse files
committed
Change to use test builds for verification instead of examples builds
1 parent 66dec12 commit 41530a7

File tree

9 files changed

+135
-207
lines changed

9 files changed

+135
-207
lines changed

.github/workflows/ArduinoBuild_2.yml

Lines changed: 0 additions & 81 deletions
This file was deleted.

.github/workflows/ArduinoBuild_3.yml

Lines changed: 0 additions & 95 deletions
This file was deleted.

.github/workflows/platformio-build-check.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -103,7 +103,7 @@ jobs:
103103
ref: ${{ github.event.pull_request.head.sha }}
104104

105105
- name: Build examples
106-
uses: m5stack/M5Utility/.github/actions/pio_build_test@develop
106+
uses: m5stack/M5Utility/.github/actions/pio_test_build@develop
107107
with:
108108
environments: test_${{ matrix.board }}
109109
# targets:

boards/m5stack-atoms3r.json

Lines changed: 41 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,41 @@
1+
{
2+
"build": {
3+
"arduino": {
4+
"memory_type": "qio_opi",
5+
"ldscript": "esp32s3_out.ld",
6+
"partitions": "default_8MB.csv"
7+
},
8+
"core": "esp32",
9+
"extra_flags": [
10+
"-DARDUINO_M5STACK_ATOMS3R",
11+
"-DBOARD_HAS_PSRAM",
12+
"-DARDUINO_USB_MODE=1",
13+
"-DARDUINO_USB_CDC_ON_BOOT=1",
14+
"-DARDUINO_RUNNING_CORE=1",
15+
"-DARDUINO_EVENT_RUNNING_CORE=1"
16+
],
17+
"f_cpu": "240000000L",
18+
"f_flash": "80000000L",
19+
"flash_mode": "dio",
20+
"mcu": "esp32s3",
21+
"variant": "m5stack_atoms3"
22+
},
23+
"connectivity": [
24+
"bluetooth",
25+
"wifi"
26+
],
27+
"frameworks": [
28+
"arduino",
29+
"espidf"
30+
],
31+
"name": "M5Stack AtomS3R",
32+
"upload": {
33+
"flash_size": "8MB",
34+
"maximum_ram_size": 327680,
35+
"maximum_size": 8388608,
36+
"require_upload_port": true,
37+
"speed": 460800
38+
},
39+
"url": "https://docs.m5stack.com/en/core/AtomS3R",
40+
"vendor": "M5Stack"
41+
}

boards/m5stack-nanoc6.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22
"build": {
33
"core": "esp32",
44
"extra_flags": [
5-
"-DARDUINO_M5Stack_NanoC6"
5+
"-DARDUINO_M5STACK_NANOC6"
66
],
77
"f_cpu": "160000000L",
88
"f_flash": "80000000L",

boards/m5stick-cplus2.json

Lines changed: 40 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,40 @@
1+
{
2+
"build": {
3+
"arduino":{
4+
"ldscript": "esp32_out.ld",
5+
"partitions": "default_8MB.csv"
6+
},
7+
"core": "esp32",
8+
"extra_flags": [
9+
"-DM5STACK_M5STICK_CPLUS2",
10+
"-DBOARD_HAS_PSRAM",
11+
"-mfix-esp32-psram-cache-issue",
12+
"-mfix-esp32-psram-cache-strategy=memw",
13+
"-DARDUINO_RUNNING_CORE=1",
14+
"-DARDUINO_EVENT_RUNNING_CORE=1"
15+
],
16+
"f_cpu": "240000000L",
17+
"f_flash": "80000000L",
18+
"flash_mode": "dio",
19+
"mcu": "esp32",
20+
"variant": "m5stick_c"
21+
},
22+
"connectivity": [
23+
"wifi",
24+
"bluetooth"
25+
],
26+
"frameworks": [
27+
"arduino",
28+
"espidf"
29+
],
30+
"name": "M5Stick-CPlus2",
31+
"upload": {
32+
"flash_size": "8MB",
33+
"maximum_ram_size": 327680,
34+
"maximum_size": 8388608,
35+
"require_upload_port": true,
36+
"speed": 1500000
37+
},
38+
"url": "https://docs.m5stack.com/en/core/M5StickC%20PLUS2",
39+
"vendor": "M5Stack"
40+
}

examples/workflow/build_test/build_test.ino

Lines changed: 0 additions & 3 deletions
This file was deleted.

examples/workflow/build_test/main/build_test.cpp

Lines changed: 0 additions & 13 deletions
This file was deleted.

0 commit comments

Comments
 (0)