-
• #2
it is better to use the provision script with your board name
. ./scripts/provision.sh boardname
it will download and patch sdk15 and also add good compiler to the path, your gcc 5.4 is not the best choice -
• #3
I just tried another build using
BOARD=NRF52840DK
and that works fine here - so as @fanoush says I'd definitely look at doing provision (you may have to delete all extra files intargetlibs/nrf5x_15
beforehand to get it to work them out again).I can't find BLEP_BONDING_STATUS in any *.h file!
It's there:
./libs/bluetooth/bluetooth.h: BLEP_BONDING_STATUS, //< Bonding negotiation status (data is one of BLEBondingStatus)
So I think likely when you did
git pull
maybe there was some merge error? I'm not sure what changes you have made yourself but I'd consider checking out fresh from the Espruino repo and then trying to re-apply your changes on top of what's there now -
• #4
Just realised what this is - in whatever build you're doing you're compiling with the peer manager but with no central connections enabled. I'll try and sort the build out properly soon but the easy method would be to copy the lines from NRF52840DK that ensure you have central connections enabled
-
• #5
That makes sense, as I did start with the NRF52840DK board file and removed the central defines, but I just made a fresh clone, copied my board file as-is, and it built fine (after provisioning).
That tree may indeed have some issues, good to start fresh.
Thank you!
jv
I've done a git pull to get 2v19. I'm seeing this on all NRF52840 boards that previously compiled OK (I'm guessing circa 2v16 or so)...
I can't find BLEP_BONDING_STATUS in any *.h file!
I'm also getting a FLASH overrun error trying to compile BANGLEJS2: