Skip to content

Commit

Permalink
IDF 5.0 Build System Updates (#91)
Browse files Browse the repository at this point in the history
* Added sdkconfig files to gitignore

* Update component dependencies in CMakeLists.txt

* Refractor I2C driver logging strings, remove sdk config file from
mpu6050 example.

* Update container image version to espressif/idf:release-v5.1.2
Update test-build-app.yaml to include workflow_dispatch event

* Update Github Actions checkout version

More info at: https://github.blog/changelog/2023-09-22-github-actions-transitioning-from-node-16-to-node-20/
  • Loading branch information
SuperChamp234 authored Jan 30, 2024
1 parent 7f31d65 commit d73559b
Show file tree
Hide file tree
Showing 5 changed files with 11 additions and 1,127 deletions.
6 changes: 3 additions & 3 deletions .github/workflows/test-build-app.yaml
Original file line number Diff line number Diff line change
@@ -1,12 +1,12 @@
name: SRA Board component
on: [push, pull_request]
on: [push, pull_request, workflow_dispatch]

jobs:
build-test:
name: Test Build of component
runs-on: ubuntu-latest
container:
image: espressif/idf:release-v4.4
image: espressif/idf:release-v5.1
strategy:
matrix:
test-apps: [bar_graph, lsa, motor_driver_normal, mpu6050, servos, switches, oled]
Expand All @@ -20,7 +20,7 @@ jobs:
&& apt-get update \
&& DEBIAN_FRONTEND=noninteractive apt-get install -y git
- name: Setup Github Actions
uses: actions/checkout@v2
uses: actions/checkout@v4
with:
submodules: recursive
fetch-depth: 1
Expand Down
11 changes: 5 additions & 6 deletions .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,9 @@
# Build folder
build/

#sdkconfig files
sdkconfig*

# Prerequisites
*.d

Expand Down Expand Up @@ -75,9 +78,5 @@ dkms.conf
# Executables

### vscode ###
.vscode/*
!.vscode/settings.json
!.vscode/tasks.json
!.vscode/launch.json
!.vscode/extensions.json
*.code-workspace
.vscode/
*.code-workspace
4 changes: 2 additions & 2 deletions CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -10,5 +10,5 @@ endif()

idf_component_register(SRCS "${srcs}"
INCLUDE_DIRS "${include_dirs}"
REQUIRES driver efuse esp32 esp_adc_cal esp_common esp_event
esp_rom freertos heap log soc spiffs)
REQUIRES driver efuse esp_adc esp_common esp_event
esp_rom esp_timer freertos heap log soc spiffs)
Loading

0 comments on commit d73559b

Please sign in to comment.