Skip to content

Commit 5c0b73a

Browse files
authored
Re-Enable ci for m0/m4/rp2040/s2/s3 (#14)
* try to re-add ci * enable USE_SPI_ARRAY_TRANSFER and USE_UTF8_LONG_NAMES (if not avr) * add skip test and slightly update examples for passing ci for all platforms * add feather s3 * install RTClib for ci * install SD lib
1 parent d63799c commit 5c0b73a

File tree

42 files changed

+180
-25
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

42 files changed

+180
-25
lines changed
Lines changed: 92 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,92 @@
1+
name: Bug Report
2+
description: Report a problem
3+
labels: 'Bug'
4+
body:
5+
- type: markdown
6+
attributes:
7+
value: |
8+
Thanks for taking the time to fill out this bug report!
9+
It's okay to leave some blank if it doesn't apply to your problem.
10+
11+
- type: dropdown
12+
attributes:
13+
label: Operating System
14+
options:
15+
- Linux
16+
- MacOS
17+
- RaspberryPi OS
18+
- Windows 7
19+
- Windows 10
20+
- Windows 11
21+
- Others
22+
validations:
23+
required: true
24+
25+
- type: input
26+
attributes:
27+
label: IDE version
28+
placeholder: e.g Arduino 1.8.15
29+
validations:
30+
required: true
31+
32+
- type: input
33+
attributes:
34+
label: Board
35+
placeholder: e.g Feather nRF52840 Express
36+
validations:
37+
required: true
38+
39+
- type: input
40+
attributes:
41+
label: BSP version
42+
description: Can be found under "Board Manager" menu
43+
validations:
44+
required: true
45+
46+
- type: input
47+
attributes:
48+
label: SPIFlash Library version
49+
placeholder: "Release version or github latest"
50+
validations:
51+
required: true
52+
53+
- type: textarea
54+
attributes:
55+
label: Sketch
56+
placeholder: |
57+
e.g examples/flash_info
58+
If it is custom sketch, please provide links to your minimal sources or as attached files.
59+
validations:
60+
required: true
61+
62+
- type: textarea
63+
attributes:
64+
label: What happened ?
65+
placeholder: A clear and concise description of what the bug is.
66+
validations:
67+
required: true
68+
69+
- type: textarea
70+
attributes:
71+
label: How to reproduce ?
72+
placeholder: |
73+
1. Go to '...'
74+
2. Click on '....'
75+
3. See error
76+
validations:
77+
required: true
78+
79+
- type: textarea
80+
attributes:
81+
label: Debug Log
82+
placeholder: |
83+
Debug log where the issue occurred as attached txt file, best with comments to explain the actual events.
84+
validations:
85+
required: false
86+
87+
- type: textarea
88+
attributes:
89+
label: Screenshots
90+
description: If applicable, add screenshots to help explain your problem.
91+
validations:
92+
required: false

.github/ISSUE_TEMPLATE/config.yml

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,4 @@
1+
contact_links:
2+
- name: Adafruit Support Forum
3+
url: https://forums.adafruit.com
4+
about: If you have other questions or need help, post it here.
Lines changed: 20 additions & 0 deletions

.github/workflows/githubci.yml

Lines changed: 41 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,41 @@
1+
name: Build
2+
3+
on: [pull_request, push, repository_dispatch]
4+
5+
jobs:
6+
build:
7+
strategy:
8+
fail-fast: false
9+
matrix:
10+
arduino-platform:
11+
- 'feather_esp32s2'
12+
- 'feather_esp32s3'
13+
- 'feather_rp2040'
14+
- 'metro_m0'
15+
- 'metro_m4'
16+
- 'nrf52840'
17+
18+
runs-on: ubuntu-latest
19+
steps:
20+
- name: Setup Python
21+
uses: actions/setup-python@v3
22+
with:
23+
python-version: '3.x'
24+
25+
- name: Checkout code
26+
uses: actions/checkout@v3
27+
28+
- name: Checkout adafruit/ci-arduino
29+
uses: actions/checkout@v3
30+
with:
31+
repository: adafruit/ci-arduino
32+
path: ci
33+
34+
- name: pre-install
35+
run: bash ci/actions_install.sh
36+
37+
- name: Install Libraries for building examples
38+
run: arduino-cli lib install RTClib SD
39+
40+
- name: test platforms
41+
run: python3 ci/build_platform.py ${{ matrix.arduino-platform }}

examples/AvrAdcLogger/.none.test.only

Whitespace-only changes.

examples/BackwardCompatibility/.feather_rp2040.test.skip

Whitespace-only changes.

examples/BufferedPrint/BufferedPrint.ino

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@
66

77
// SD_FAT_TYPE = 0 for SdFat/File as defined in SdFatConfig.h,
88
// 1 for FAT16/FAT32, 2 for exFAT, 3 for FAT16/FAT32 and exFAT.
9-
#define SD_FAT_TYPE 0
9+
#define SD_FAT_TYPE 1
1010
/*
1111
Change the value of SD_CS_PIN if you are using SPI and
1212
your hardware does not use the default value, SS.
@@ -232,4 +232,4 @@ void setup() {
232232
}
233233
//------------------------------------------------------------------------------
234234
void loop() {
235-
}
235+
}

examples/DirectoryFunctions/DirectoryFunctions.ino

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@
66

77
// SD_FAT_TYPE = 0 for SdFat/File as defined in SdFatConfig.h,
88
// 1 for FAT16/FAT32, 2 for exFAT, 3 for FAT16/FAT32 and exFAT.
9-
#define SD_FAT_TYPE 0
9+
#define SD_FAT_TYPE 1
1010
/*
1111
Change the value of SD_CS_PIN if you are using SPI and
1212
your hardware does not use the default value, SS.

examples/OpenNext/OpenNext.ino

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@
55

66
// SD_FAT_TYPE = 0 for SdFat/File as defined in SdFatConfig.h,
77
// 1 for FAT16/FAT32, 2 for exFAT, 3 for FAT16/FAT32 and exFAT.
8-
#define SD_FAT_TYPE 0
8+
#define SD_FAT_TYPE 1
99
/*
1010
Change the value of SD_CS_PIN if you are using SPI and
1111
your hardware does not use the default value, SS.
@@ -102,4 +102,4 @@ void setup() {
102102
}
103103
}
104104
//------------------------------------------------------------------------------
105-
void loop() {}
105+
void loop() {}

examples/ReadCsvFile/ReadCsvFile.ino

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22

33
// SD_FAT_TYPE = 0 for SdFat/File as defined in SdFatConfig.h,
44
// 1 for FAT16/FAT32, 2 for exFAT, 3 for FAT16/FAT32 and exFAT.
5-
#define SD_FAT_TYPE 0
5+
#define SD_FAT_TYPE 1
66
/*
77
Change the value of SD_CS_PIN if you are using SPI and
88
your hardware does not use the default value, SS.

0 commit comments

Comments
 (0)