EZBL issue: undefined reference to `_EZBL_ModifyROM'
I'm working with the EZBL on PIC24FJ128GB406 and the bootloader works fine. Now I'd like to use the emulated data EEPROM in flash
as shown in the EZBL Hands-on Bootloading Exercise,
but when compiling I get the following error:
build/bootloader/production/commands.o(.text+0x122): In function `.LBE9':
: undefined reference to `_EZBL_ModifyROM'
make: *** [dist/bootloader/production/gravity.X.production.hex] Error 255
make: *** [.build-conf] Error 2
make: *** [.build-impl] Error 2
function is in the EZBL_WriteROMObj
define and I get the error above only if I try to use it. I don't think that it's a "include .h" problem cause all the other functions in the ezbl.h file work fine.