diff --git a/.github/workflows/githubci.yml b/.github/workflows/githubci.yml index f934971..4e7e197 100644 --- a/.github/workflows/githubci.yml +++ b/.github/workflows/githubci.yml @@ -63,11 +63,18 @@ jobs: - name: Checkout Code uses: actions/checkout@v1 with: - submodules: true + submodules: true + + - name: Checkout linkermap + uses: actions/checkout@v2 + with: + repository: hathach/linkermap + path: linkermap - name: Install Toolchains run: | pip3 install adafruit-nrfutil uritemplate requests intelhex + pip3 install linkermap/ npm install --global xpm # 9.3.1-1.2.1 is xpack modified version which significantly increased compiled size to 6-7KB and cause flash overflow. # Skip this version for now, we will try again with next official release from ARM @@ -78,6 +85,9 @@ jobs: run: | make BOARD=${{ matrix.board }} all make BOARD=${{ matrix.board }} copy-artifact + + - name: Linker Map + run: make BOARD=${{ matrix.board }} linkermap - uses: actions/upload-artifact@v2 with: diff --git a/Makefile b/Makefile index 4a4efa9..fc05dd0 100644 --- a/Makefile +++ b/Makefile @@ -373,6 +373,10 @@ clean: @$(RM) $(BUILD) @$(RM) $(BIN) +# linkermap must be install previously at https://github.com/hathach/linkermap +linkermap: $(BUILD)/$(OUT_NAME).out + @linkermap -v $<.map + # Create objects from C SRC files $(BUILD)/%.o: %.c @echo CC $(notdir $<) diff --git a/README.md b/README.md index 639efd6..4bbbe23 100644 --- a/README.md +++ b/README.md @@ -10,6 +10,7 @@ This is a CDC/DFU/UF2 bootloader for nRF52 boards. - [Adafruit Feather nRF52840 Express](https://www.adafruit.com/product/4062) - [Adafruit Feather nRF52840 Sense](https://www.adafruit.com/product/4516) - [Adafruit ItsyBitsy nRF52840 Express](https://www.adafruit.com/product/4481) +- [Adafruit LED Glasses Driver nRF52840](https://www.adafruit.com/product/5217) - Adafruit Metro nRF52840 Express - [Akizukidenshi AE-BL652-BO](https://akizukidenshi.com/catalog/g/gK-15567/) - [Electronut Labs Papyr](https://docs.electronut.in/papyr/) diff --git a/src/boards/ledglasses_nrf52840/board.h b/src/boards/ledglasses_nrf52840/board.h index e5a2f82..dd676d7 100644 --- a/src/boards/ledglasses_nrf52840/board.h +++ b/src/boards/ledglasses_nrf52840/board.h @@ -63,6 +63,6 @@ #define UF2_PRODUCT_NAME "Adafruit LED Glasses Driver nRF52840" #define UF2_VOLUME_LABEL "GLASSESBOOT" #define UF2_BOARD_ID "nRF52840-LedGlasses-revA" -#define UF2_INDEX_URL "https://www.adafruit.com/" +#define UF2_INDEX_URL "https://www.adafruit.com/product/5217" #endif // _LEDGLASSES_NRF52840_H