Skip to content

Fix ESP32C6 compilation error #1

Fix ESP32C6 compilation error

Fix ESP32C6 compilation error #1

Workflow file for this run

name: PlatformIO CI
on:
workflow_dispatch:
pull_request:
push:
paths:
- "examples/**"
- "lib/**"
- ".github/workflows/platformio.yml"
- "platformio.ini"
jobs:
build:
runs-on: ubuntu-latest
strategy:
matrix:
envs:
- T3_V1_3_SX1276
- T3_V1_3_SX1278
- T3_V1_6_SX1276
- T3_V1_6_SX1278
- T3_V1_6_SX1276_TCXO
- T3_V3_0_SX1276_TCXO
- T_BEAM_SX1262
- T_BEAM_SX1276
- T_BEAM_SX1278
- T_BEAM_S3_SUPREME
- T3_S3_V1_2_SX1262
- T3_S3_V1_2_SX1276
- T3_S3_V1_2_SX1278
- T3_S3_V1_2_SX1280
- T3_S3_V1_2_SX1280_PA
- T3_S3_V1_2_LR1121
- T_MOTION
# - T3_C6
examples:
- examples/ArduinoLoRa/LoRaReceiver
- examples/ArduinoLoRa/LoRaSender
- examples/Display/Free_Font_Demo
- examples/Display/TBeam_TFT_Shield
- examples/Display/TFT_Char_times
- examples/Display/UTFT_demo
- examples/GPS/TinyGPS_Example
- examples/GPS/TinyGPS_FullExample
- examples/GPS/TinyGPS_KitchenSink
- examples/GPS/UBlox_BasicNMEARead
- examples/GPS/UBlox_NMEAParsing
- examples/GPS/UBlox_OutputRate
- examples/GPS/UBlox_Recovery
- examples/LoRaWAN/LMIC_Library_OTTA
- examples/LoRaWAN/RadioLib_ABP
- examples/OLED/SH1106FontUsage
- examples/OLED/SH1106GraphicsTest
- examples/OLED/SH1106IconMenu
- examples/OLED/SH1106PrintUTF8
- examples/OLED/SSD1306SimpleDemo
- examples/OLED/SSD1306UiDemo
- examples/PMU
- examples/RadioLibExamples/Receive_Interrupt
- examples/RadioLibExamples/Transmit_Interrupt
- examples/Sensor/BME280_AdvancedsettingsExample
- examples/Sensor/BME280_TestExample
- examples/Sensor/BME280_UnifiedExample
- examples/Sensor/PCF8563_AlarmByUnits
- examples/Sensor/PCF8563_SimpleTime
- examples/Sensor/PCF8563_TimeLib
- examples/Sensor/PCF8563_TimeSynchronization
- examples/Sensor/QMC6310_CalibrateExample
- examples/Sensor/QMC6310_CompassExample
- examples/Sensor/QMC6310_GetDataExample
- examples/Sensor/QMC6310_GetPolarExample
- examples/Sensor/QMI8658_BlockExample
- examples/Sensor/QMI8658_GetDataExample
- examples/Sensor/QMI8658_InterruptBlockExample
- examples/Sensor/QMI8658_InterruptExample
- examples/Sensor/QMI8658_LockingMechanismExample
- examples/Sensor/QMI8658_MadgwickAHRS
- examples/Sensor/QMI8658_PedometerExample
- examples/Sensor/QMI8658_ReadFromFifoExample
- examples/Sensor/QMI8658_WakeOnMotion
- examples/T3S3Factory
steps:
- uses: actions/checkout@v3
- uses: actions/cache@v3
with:
path: |
~/.cache/pip
~/.platformio/.cache
key: ${{ runner.os }}-pio
- uses: actions/setup-python@v4
with:
python-version: "3.9"
- name: Install PlatformIO Core
run: pip install --upgrade platformio
- name: Run PlatformIO
run: |
if [ -f "${{ matrix.examples }}/.skip."${{ matrix.envs }} ];then
echo "Skip" ${{ matrix.examples }}
else
export PLATFORMIO_SRC_DIR=${{ matrix.examples }}
pio run -e ${{ matrix.envs }}
fi