File tree Expand file tree Collapse file tree 4 files changed +17
-2
lines changed
src/boards/ledglasses_nrf52840 Expand file tree Collapse file tree 4 files changed +17
-2
lines changed Original file line number Diff line number Diff line change @@ -63,11 +63,18 @@ jobs:
6363 - name : Checkout Code
6464 uses : actions/checkout@v1
6565 with :
66- submodules : true
66+ submodules : true
67+
68+ - name : Checkout linkermap
69+ uses : actions/checkout@v2
70+ with :
71+ repository : hathach/linkermap
72+ path : linkermap
6773
6874 - name : Install Toolchains
6975 run : |
7076 pip3 install adafruit-nrfutil uritemplate requests intelhex
77+ pip3 install linkermap/
7178 npm install --global xpm
7279 # 9.3.1-1.2.1 is xpack modified version which significantly increased compiled size to 6-7KB and cause flash overflow.
7380 # Skip this version for now, we will try again with next official release from ARM
7885 run : |
7986 make BOARD=${{ matrix.board }} all
8087 make BOARD=${{ matrix.board }} copy-artifact
88+
89+ - name : Linker Map
90+ run : make BOARD=${{ matrix.board }} linkermap
8191
8292 - uses : actions/upload-artifact@v2
8393 with :
Original file line number Diff line number Diff line change @@ -373,6 +373,10 @@ clean:
373373 @$(RM ) $(BUILD )
374374 @$(RM ) $(BIN )
375375
376+ # linkermap must be install previously at https://github.com/hathach/linkermap
377+ linkermap : $(BUILD ) /$(OUT_NAME ) .out
378+ @linkermap -v $< .map
379+
376380# Create objects from C SRC files
377381$(BUILD ) /% .o : % .c
378382 @echo CC $(notdir $< )
Original file line number Diff line number Diff line change @@ -10,6 +10,7 @@ This is a CDC/DFU/UF2 bootloader for nRF52 boards.
1010- [ Adafruit Feather nRF52840 Express] ( https://www.adafruit.com/product/4062 )
1111- [ Adafruit Feather nRF52840 Sense] ( https://www.adafruit.com/product/4516 )
1212- [ Adafruit ItsyBitsy nRF52840 Express] ( https://www.adafruit.com/product/4481 )
13+ - [ Adafruit LED Glasses Driver nRF52840] ( https://www.adafruit.com/product/5217 )
1314- Adafruit Metro nRF52840 Express
1415- [ Akizukidenshi AE-BL652-BO] ( https://akizukidenshi.com/catalog/g/gK-15567/ )
1516- [ Electronut Labs Papyr] ( https://docs.electronut.in/papyr/ )
Original file line number Diff line number Diff line change 6363#define UF2_PRODUCT_NAME "Adafruit LED Glasses Driver nRF52840"
6464#define UF2_VOLUME_LABEL "GLASSESBOOT"
6565#define UF2_BOARD_ID "nRF52840-LedGlasses-revA"
66- #define UF2_INDEX_URL "https://www.adafruit.com/"
66+ #define UF2_INDEX_URL "https://www.adafruit.com/product/5217 "
6767
6868#endif // _LEDGLASSES_NRF52840_H
You can’t perform that action at this time.
0 commit comments