Skip to content

Commit 97baad0

Browse files
authored
Merge pull request firefly#6 from yuetloo/fix/ci-branch
Fix CI failure due to checking out non-existent branch
2 parents 8bdd695 + ccabef5 commit 97baad0

2 files changed

Lines changed: 17 additions & 2 deletions

File tree

.github/workflows/build.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,7 @@
11
name: Build
2-
on:
2+
on:
33
push:
4+
pull_request:
45
workflow_dispatch:
56
inputs:
67
memory:
@@ -17,7 +18,6 @@ jobs:
1718
- name: Checkout pixie-firmware
1819
uses: actions/checkout@v3
1920
with:
20-
ref: chore/add-submodules
2121
submodules: 'recursive'
2222
- name: Setup node version
2323
uses: actions/setup-node@v4

README.md

Lines changed: 15 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -33,6 +33,21 @@ Use [docker](https://docs.docker.com/engine/install) to build the project:
3333
docker run --rm -v $PWD:/project -w /project -e HOME=/tmp espressif/idf idf.py build
3434
```
3535

36+
Troubleshooting
37+
---------------
38+
39+
1. If you get `error: implicit declaration of function x; did you mean function y? [-Wimplicit-function-declaration]`, check and update the `firefly-scene` and `firefly-display` submodules in the components folder:
40+
41+
```sh
42+
# check the submodules are from the correct branch
43+
git submodule status
44+
45+
# update the submodules
46+
git submodule update --init --recursive
47+
48+
# pull submodules changes from the remote repositories
49+
git pull --recurse-submodules
50+
```
3651

3752

3853
Hardware Specifications

0 commit comments

Comments
 (0)