Compare commits

...
6 Commits
Author SHA1 Message Date
Ha Thach a73fe207a8 Merge pull request #328 from adafruit/feather840-revE
add neopixl power pin for Feather840 revE
2024-05-09 20:25:30 +07:00
hathach ea3bb737de fix ci warning 2024-05-09 20:17:33 +07:00
hathach 0bc8a8993f - add P1.14 as NEOPIXEL_POWER_PIN for feather nrf52840 revE
- remove linkermap from ci
2024-05-09 20:15:16 +07:00
hathach 78b39b4347 bump up gcc to 12.3Rel1 2024-05-09 19:56:52 +07:00
Ha Thach e7450022a8 Merge pull request #321 from SaidAlvarado/fix-273-for-gcc-13
fix compilation issue 'array subscript 0 is outside array bounds' for arm-none-eabi-gcc version 13
2024-02-05 10:12:06 +07:00
Said Alvarado-Marin 4f8c2afabf fix compilation for arm-none-eabi-gcc version 13 2024-02-04 14:33:02 +01:00
4 changed files with 10 additions and 17 deletions

No files matched your search

+5 -14
View File
@@ -65,7 +65,9 @@ jobs:
steps:
- name: Setup Python
uses: actions/setup-python@v3
uses: actions/setup-python@v5
with:
python-version: '3.x'
- name: Checkout Code
uses: actions/checkout@v4
@@ -73,32 +75,21 @@ jobs:
fetch-depth: 0
submodules: true
- name: Checkout linkermap
uses: actions/checkout@v4
with:
repository: hathach/linkermap
path: linkermap
- name: Install ARM GCC
uses: carlosperate/arm-none-eabi-gcc-action@v1
with:
release: '10-2020-q4'
release: '12.3.Rel1'
- name: Install Tools
run: |
pip3 install adafruit-nrfutil uritemplate requests intelhex setuptools
pip3 install linkermap/
- name: Build
run: |
arm-none-eabi-gcc --version
make BOARD=${{ matrix.board }} all
make BOARD=${{ matrix.board }} copy-artifact
- name: Linker Map
run: make BOARD=${{ matrix.board }} linkermap
- uses: actions/upload-artifact@v3
- uses: actions/upload-artifact@v4
with:
name: ${{ matrix.board }}
path: _bin/${{ matrix.board }}
+1 -1
View File
@@ -167,7 +167,7 @@ target_compile_options(bootloader PUBLIC
-Wno-endif-labels
-Wunreachable-code
# Suppress warning caused by SDK
-Wno-unused-parameter -Wno-expansion-to-defined
-Wno-unused-parameter -Wno-expansion-to-defined -Wno-array-bounds
)
target_compile_definitions(bootloader PUBLIC
SOFTDEVICE_PRESENT
+2 -1
View File
@@ -342,7 +342,8 @@ endif
CFLAGS += -DDFU_APP_DATA_RESERVED=$(DFU_APP_DATA_RESERVED)
# https://gcc.gnu.org/bugzilla/show_bug.cgi?id=105523
ifneq ($(findstring 12.,$(shell $(CC) --version 2>/dev/null)),)
# Fixes for gcc version 12 and 13.
ifneq (,$(filter 12.% 13.%,$(shell $(CC) -dumpversion 2>/dev/null)))
CFLAGS += --param=min-pagesize=0
endif
+2 -1
View File
@@ -36,6 +36,7 @@
#define LED_STATE_ON 1
#define LED_NEOPIXEL _PINNUM(0, 16)
#define NEOPIXEL_POWER_PIN _PINNUM(1, 14)
#define NEOPIXELS_NUMBER 1
#define BOARD_RGB_BRIGHTNESS 0x040404
@@ -63,7 +64,7 @@
//------------- UF2 -------------//
#define UF2_PRODUCT_NAME "Adafruit Feather nRF52840 Express"
#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"
#endif // _FEATHER_NRF52840_H