I extracted the necessary defs from an old/v1.42 XC32 install:grep _CNCON._SIDL_ /Applications/microchip/xc32/v1.42/pic32-libs/include/proc/p32mz2048efm144.hThen jammed them into the top of the offending old Harmony generated file:gateway/firmware/vendor/harmony/framework/peripheral/ports/processor/ports_p32mz2048efm144.h
iMac5k:firmware scott$ /Applications/microchip/xc32/v2.10/bin/xc32-objdump -t TTN_Gateway.X/dist/TTN_Gateway_v1/production/TTN_Gateway.X.production.elf grep ssidString8007ef8c l O .bss00000021 ssidString.815478007ef68 l O .bss00000021 ssidString.81555
mplab xc32 keygen 14
iMac5k:firmware scott$ /Applications/microchip/xc32/v2.10/bin/xc32-objdump -t TTN_Gateway.X/dist/TTN_Gateway_v1/debug/TTN_Gateway.X.debug.elf grep ssidString80000424 l O .bss00000021 ssidString.8154780000400 l O .bss00000021 ssidString.81555
iMac5k:firmware scott$ /Applications/microchip/xc32/v2.10/bin/xc32-objdump -t TTN_Gateway.X/dist/TTN_Gateway_v1/debug/TTN_Gateway.X.debug.elf grep 8000040080000400 l d .bss00000000 .bss80000400 l O .bss00000021 ssidString.8155580000400 g O .sbss00000002 uartrx_len
Debug w/ "data in own sections"iMac5k:firmware scott$ /Applications/microchip/xc32/v2.10/bin/xc32-objdump -t TTN_Gateway.X/dist/TTN_Gateway_v1/debug/TTN_Gateway.X.debug.elf grep ssidString8007ee6c l d .bss.ssidString.81555.ssidString00000000 .bss.ssidString.81555.ssidString8007ee90 l d .bss.ssidString.81547.ssidString00000000 .bss.ssidString.81547.ssidString8007ee90 l O .bss.ssidString.81547.ssidString00000021 ssidString.815478007ee6c l O .bss.ssidString.81555.ssidString00000021 ssidString.81555iMac5k:firmware scott$ 2ff7e9595c
Comments