Skip to content

Commit

Permalink
Merge pull request #6 from yuetloo/fix/ci-branch
Browse files Browse the repository at this point in the history
Fix CI failure due to checking out non-existent branch
  • Loading branch information
yuetloo authored Dec 7, 2024
2 parents 8bdd695 + ccabef5 commit 97baad0
Show file tree
Hide file tree
Showing 2 changed files with 17 additions and 2 deletions.
4 changes: 2 additions & 2 deletions .github/workflows/build.yml
Original file line number Diff line number Diff line change
@@ -1,6 +1,7 @@
name: Build
on:
on:
push:
pull_request:
workflow_dispatch:
inputs:
memory:
Expand All @@ -17,7 +18,6 @@ jobs:
- name: Checkout pixie-firmware
uses: actions/checkout@v3
with:
ref: chore/add-submodules
submodules: 'recursive'
- name: Setup node version
uses: actions/setup-node@v4
Expand Down
15 changes: 15 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -33,6 +33,21 @@ Use [docker](https://docs.docker.com/engine/install) to build the project:
docker run --rm -v $PWD:/project -w /project -e HOME=/tmp espressif/idf idf.py build
```

Troubleshooting
---------------

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:

```sh
# check the submodules are from the correct branch
git submodule status

# update the submodules
git submodule update --init --recursive

# pull submodules changes from the remote repositories
git pull --recurse-submodules
```


Hardware Specifications
Expand Down

0 comments on commit 97baad0

Please sign in to comment.