Skip to content

Commit a5c0e0e

Browse files
feat: add seeed-xiao-s3
1 parent f23770c commit a5c0e0e

File tree

2 files changed

+32
-6
lines changed

2 files changed

+32
-6
lines changed

.github/workflows/build-tastic.yml

Lines changed: 8 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -10,18 +10,18 @@ on:
1010
boards:
1111
description: 'Boards to build (comma-separated)'
1212
required: false
13-
default: 'tracker-t1000-e,seeed_xiao_nrf52840_kit,heltec-v3,rak4631,tracker-t1000-e_csra,seeed_xiao_nrf52840_kit_csra,heltec-v3_csra,rak4631_csra'
13+
default: 'tracker-t1000-e,seeed_xiao_nrf52840_kit,heltec-v3,rak4631,seeed-xiao-s3,tracker-t1000-e_csra,seeed_xiao_nrf52840_kit_csra,heltec-v3_csra,rak4631_csra,seeed-xiao-s3_csra'
1414

1515
env:
16-
DEFAULT_BOARDS: 'tracker-t1000-e,seeed_xiao_nrf52840_kit,heltec-v3,rak4631,tracker-t1000-e_csra,seeed_xiao_nrf52840_kit_csra,heltec-v3_csra,rak4631_csra'
16+
DEFAULT_BOARDS: 'tracker-t1000-e,seeed_xiao_nrf52840_kit,heltec-v3,rak4631,seeed-xiao-s3,tracker-t1000-e_csra,seeed_xiao_nrf52840_kit_csra,heltec-v3_csra,rak4631_csra,seeed-xiao-s3_csra'
1717

1818
jobs:
1919
build:
2020
runs-on: ubuntu-latest
2121
strategy:
2222
fail-fast: false
2323
matrix:
24-
board: [tracker-t1000-e, seeed_xiao_nrf52840_kit, heltec-v3, rak4631, tracker-t1000-e_csra, seeed_xiao_nrf52840_kit_csra, heltec-v3_csra, rak4631_csra]
24+
board: [tracker-t1000-e, seeed_xiao_nrf52840_kit, heltec-v3, rak4631, seeed-xiao-s3, tracker-t1000-e_csra, seeed_xiao_nrf52840_kit_csra, heltec-v3_csra, rak4631_csra, seeed-xiao-s3_csra]
2525

2626
steps:
2727
- uses: actions/checkout@v4
@@ -57,8 +57,8 @@ jobs:
5757
run: |
5858
mkdir -p release/${{ matrix.board }}
5959
60-
# Copy .bin files for ESP32 boards (heltec-v3)
61-
if [[ "${{ matrix.board }}" == "heltec-v3" ]] || [[ "${{ matrix.board }}" == "heltec-v3_csra" ]]; then
60+
# Copy .bin files for ESP32 boards (heltec-v3, seeed-xiao-s3)
61+
if [[ "${{ matrix.board }}" == "heltec-v3" ]] || [[ "${{ matrix.board }}" == "heltec-v3_csra" ]] || [[ "${{ matrix.board }}" == "seeed-xiao-s3" ]] || [[ "${{ matrix.board }}" == "seeed-xiao-s3_csra" ]]; then
6262
cp .pio/build/${{ matrix.board }}/*.bin release/${{ matrix.board }}/ || true
6363
cp .pio/build/${{ matrix.board }}/firmware.factory.bin release/${{ matrix.board }}/ || true
6464
cp .pio/build/${{ matrix.board }}/firmware.bin release/${{ matrix.board }}/ || true
@@ -131,10 +131,12 @@ jobs:
131131
- Seeed XIAO nRF52840 Kit (`seeed_xiao_nrf52840_kit`) - nRF52840
132132
- Seeed SenseCAP Card Tracker T1000-E (`tracker-t1000-e`) - nRF52840
133133
- Heltec WiFi LoRa 32 V3 (`heltec-v3`) - ESP32-S3
134+
- Seeed XIAO ESP32-S3 (`seeed-xiao-s3`) - ESP32-S3
134135
- RAK4631 WisBlock Core CSRA (`rak4631_csra`) - nRF52840
135136
- Seeed XIAO nRF52840 Kit CSRA (`seeed_xiao_nrf52840_kit_csra`) - nRF52840
136137
- Seeed SenseCAP Card Tracker T1000-E CSRA (`tracker-t1000-e_csra`) - nRF52840
137138
- Heltec WiFi LoRa 32 V3 CSRA (`heltec-v3_csra`) - ESP32-S3
139+
- Seeed XIAO ESP32-S3 CSRA (`seeed-xiao-s3_csra`) - ESP32-S3
138140
139141
### Installation:
140142
Flash using the Tastic Web Flasher or manually with the appropriate tool for your device.
@@ -242,7 +244,7 @@ jobs:
242244
243245
# Create index.json
244246
cd gh-pages-content
245-
echo "{\"version\":\"$version\",\"boards\":[\"tracker-t1000-e\",\"seeed_xiao_nrf52840_kit\",\"heltec-v3\",\"rak4631\",\"tracker-t1000-e_csra\",\"seeed_xiao_nrf52840_kit_csra\",\"heltec-v3_csra\",\"rak4631_csra\"],\"timestamp\":\"$(date -u +"%Y-%m-%dT%H:%M:%SZ")\"}" > index.json
247+
echo "{\"version\":\"$version\",\"boards\":[\"tracker-t1000-e\",\"seeed_xiao_nrf52840_kit\",\"heltec-v3\",\"rak4631\",\"seeed-xiao-s3\",\"tracker-t1000-e_csra\",\"seeed_xiao_nrf52840_kit_csra\",\"heltec-v3_csra\",\"rak4631_csra\",\"seeed-xiao-s3_csra\"],\"timestamp\":\"$(date -u +"%Y-%m-%dT%H:%M:%SZ")\"}" > index.json
246248
echo ""
247249
echo "Created index.json"
248250

platformio.ini

Lines changed: 24 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -311,3 +311,27 @@ build_flags =
311311

312312
; Timezone Configuration - EST5EDT (Eastern Time with DST)
313313
-D 'USERPREFS_TZ_STRING="EST5EDT,M3.2.0,M11.1.0"'
314+
315+
[env:seeed-xiao-s3_csra]
316+
extends = env:seeed-xiao-s3
317+
build_flags =
318+
${env:seeed-xiao-s3.build_flags}
319+
320+
; LoRa Configuration
321+
-D USERPREFS_LORACONFIG_MODEM_PRESET=meshtastic_Config_LoRaConfig_ModemPreset_LONG_FAST
322+
-D USERPREFS_CONFIG_LORA_IGNORE_MQTT=false
323+
324+
; Channel Configuration
325+
-D 'USERPREFS_CHANNEL_0_NAME="LongFast"'
326+
-D 'USERPREFS_CHANNEL_0_PSK="AQ=="'
327+
328+
; MQTT Configuration
329+
-D USERPREFS_MQTT_ENABLED=1
330+
-D 'USERPREFS_MQTT_ADDRESS="'mqtt.csramsh.net'"'
331+
-D 'USERPREFS_MQTT_USERNAME="csramsh"'
332+
-D 'USERPREFS_MQTT_PASSWORD="csramsh"'
333+
-D USERPREFS_MQTT_ENCRYPTION_ENABLED=true
334+
-D 'USERPREFS_MQTT_ROOT_TOPIC="msh/US/GA/csramsh"'
335+
336+
; Timezone Configuration - EST5EDT (Eastern Time with DST)
337+
-D 'USERPREFS_TZ_STRING="EST5EDT,M3.2.0,M11.1.0"'

0 commit comments

Comments
 (0)