- add P1.14 as NEOPIXEL_POWER_PIN for feather nrf52840 revE
- remove linkermap from ci
This commit is contained in:
parent
78b39b4347
commit
0bc8a8993f
2 changed files with 4 additions and 14 deletions
15
.github/workflows/githubci.yml
vendored
15
.github/workflows/githubci.yml
vendored
|
|
@ -65,7 +65,7 @@ jobs:
|
||||||
|
|
||||||
steps:
|
steps:
|
||||||
- name: Setup Python
|
- name: Setup Python
|
||||||
uses: actions/setup-python@v3
|
uses: actions/setup-python@v5
|
||||||
|
|
||||||
- name: Checkout Code
|
- name: Checkout Code
|
||||||
uses: actions/checkout@v4
|
uses: actions/checkout@v4
|
||||||
|
|
@ -73,12 +73,6 @@ jobs:
|
||||||
fetch-depth: 0
|
fetch-depth: 0
|
||||||
submodules: true
|
submodules: true
|
||||||
|
|
||||||
- name: Checkout linkermap
|
|
||||||
uses: actions/checkout@v4
|
|
||||||
with:
|
|
||||||
repository: hathach/linkermap
|
|
||||||
path: linkermap
|
|
||||||
|
|
||||||
- name: Install ARM GCC
|
- name: Install ARM GCC
|
||||||
uses: carlosperate/arm-none-eabi-gcc-action@v1
|
uses: carlosperate/arm-none-eabi-gcc-action@v1
|
||||||
with:
|
with:
|
||||||
|
|
@ -87,18 +81,13 @@ jobs:
|
||||||
- name: Install Tools
|
- name: Install Tools
|
||||||
run: |
|
run: |
|
||||||
pip3 install adafruit-nrfutil uritemplate requests intelhex setuptools
|
pip3 install adafruit-nrfutil uritemplate requests intelhex setuptools
|
||||||
pip3 install linkermap/
|
|
||||||
|
|
||||||
- name: Build
|
- name: Build
|
||||||
run: |
|
run: |
|
||||||
arm-none-eabi-gcc --version
|
|
||||||
make BOARD=${{ matrix.board }} all
|
make BOARD=${{ matrix.board }} all
|
||||||
make BOARD=${{ matrix.board }} copy-artifact
|
make BOARD=${{ matrix.board }} copy-artifact
|
||||||
|
|
||||||
- name: Linker Map
|
- uses: actions/upload-artifact@v4
|
||||||
run: make BOARD=${{ matrix.board }} linkermap
|
|
||||||
|
|
||||||
- uses: actions/upload-artifact@v3
|
|
||||||
with:
|
with:
|
||||||
name: ${{ matrix.board }}
|
name: ${{ matrix.board }}
|
||||||
path: _bin/${{ matrix.board }}
|
path: _bin/${{ matrix.board }}
|
||||||
|
|
|
||||||
|
|
@ -36,6 +36,7 @@
|
||||||
#define LED_STATE_ON 1
|
#define LED_STATE_ON 1
|
||||||
|
|
||||||
#define LED_NEOPIXEL _PINNUM(0, 16)
|
#define LED_NEOPIXEL _PINNUM(0, 16)
|
||||||
|
#define NEOPIXEL_POWER_PIN _PINNUM(1, 14)
|
||||||
#define NEOPIXELS_NUMBER 1
|
#define NEOPIXELS_NUMBER 1
|
||||||
#define BOARD_RGB_BRIGHTNESS 0x040404
|
#define BOARD_RGB_BRIGHTNESS 0x040404
|
||||||
|
|
||||||
|
|
@ -63,7 +64,7 @@
|
||||||
//------------- UF2 -------------//
|
//------------- UF2 -------------//
|
||||||
#define UF2_PRODUCT_NAME "Adafruit Feather nRF52840 Express"
|
#define UF2_PRODUCT_NAME "Adafruit Feather nRF52840 Express"
|
||||||
#define UF2_VOLUME_LABEL "FTHR840BOOT"
|
#define UF2_VOLUME_LABEL "FTHR840BOOT"
|
||||||
#define UF2_BOARD_ID "nRF52840-Feather-revD"
|
#define UF2_BOARD_ID "nRF52840-Feather-revE"
|
||||||
#define UF2_INDEX_URL "https://www.adafruit.com/product/4062"
|
#define UF2_INDEX_URL "https://www.adafruit.com/product/4062"
|
||||||
|
|
||||||
#endif // _FEATHER_NRF52840_H
|
#endif // _FEATHER_NRF52840_H
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue