Operating System
Windows 11
INFO_UF2.TXT
None yet, looking to create for new device.
What happened ?
Trying initial builds to learn about the OTAFIX bootloader variant (looking to add another board after confirming local build tree.)
I've pulled newer nRF5 SDK and arm gcc, which look to be setup ok, as initial few files are compiling. Are there any specific build setup requirements for the OTAFIX branch? I didn't see them in the base README.
Now with make I see:
$ make MCU_SUB_VARIANT=nrf52840 BOARD=lilygo_techo all
CC main.c
src/main.c: In function 'main':
: error: invalid suffix 'c0ef40' on integer constant
src/main.c:171:34: note: in expansion of macro 'MK_BOOTLOADER_VERSION'
171 | BOOTLOADER_VERSION_REGISTER = (MK_BOOTLOADER_VERSION);
| ^~~~~~~~~~~~~~~~~~~~~
compilation terminated due to -Wfatal-errors.
make: *** [Makefile:422: _build/build-lilygo_techo/main.o] Error 1
I found a git report for the upstream bootloader that says 'git tags' are required to get the proper MK_BOOTLOADER_VERSION, but this does not seem to pull anything from the OTAFIX branch (see: adafruit#299 )
How to reproduce ?
Probably system specific, so I can provide additional test or info if needed. This is an initial new checkout of latest OTAFIX bootloader so could be setup issue. I did modify the Makefile to add SDK info like so:
(EDIT) -- don't do this, I thought these had to be overridden, but they are local paths --
SDK_PATH = C:/Users/cobra/Documents/Arduino/hardware/Adafruit/Adafruit_nRF52_Bootloader_OTAFIX/lib/sdk/components
SDK11_PATH = C:/Users/cobra/Documents/Arduino/hardware/Adafruit/Adafruit_nRF52_Bootloader_OTAFIX/lib/sdk11/components
TUSB_PATH = C:/Users/cobra/Documents/Arduino/hardware/Adafruit/Adafruit_nRF52_Bootloader_OTAFIX/lib/tinyusb/src
NRFX_PATH = C:/Users/cobra/Documents/Arduino/hardware/Adafruit/Adafruit_nRF52_Bootloader_OTAFIX/lib/nrfx
SD_PATH = C:/Users/cobra/Documents/Arduino/hardware/Adafruit/Adafruit_nRF52_Bootloader_OTAFIX/lib/softdevice/$(SD_FILENAME)
Are there any Makefile.user entries expected? This file didn't exist in the checkout and I have not added it.
Debug Log
No response
Screenshots
No response
Operating System
Windows 11
INFO_UF2.TXT
None yet, looking to create for new device.
What happened ?
Trying initial builds to learn about the OTAFIX bootloader variant (looking to add another board after confirming local build tree.)
I've pulled newer nRF5 SDK and arm gcc, which look to be setup ok, as initial few files are compiling. Are there any specific build setup requirements for the OTAFIX branch? I didn't see them in the base README.
Now with make I see:
$ make MCU_SUB_VARIANT=nrf52840 BOARD=lilygo_techo all
CC main.c
src/main.c: In function 'main':
: error: invalid suffix 'c0ef40' on integer constant
src/main.c:171:34: note: in expansion of macro 'MK_BOOTLOADER_VERSION'
171 | BOOTLOADER_VERSION_REGISTER = (MK_BOOTLOADER_VERSION);
| ^~~~~~~~~~~~~~~~~~~~~
compilation terminated due to -Wfatal-errors.
make: *** [Makefile:422: _build/build-lilygo_techo/main.o] Error 1
I found a git report for the upstream bootloader that says 'git tags' are required to get the proper MK_BOOTLOADER_VERSION, but this does not seem to pull anything from the OTAFIX branch (see: adafruit#299 )
How to reproduce ?
Probably system specific, so I can provide additional test or info if needed. This is an initial new checkout of latest OTAFIX bootloader so could be setup issue. I did modify the Makefile to add SDK info like so:
(EDIT) -- don't do this, I thought these had to be overridden, but they are local paths --
Are there any Makefile.user entries expected? This file didn't exist in the checkout and I have not added it.
Debug Log
No response
Screenshots
No response