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)...
targets/nrf5x/bluetooth.c: In function 'jsble_exec_pending':
targets/nrf5x/bluetooth.c:445:9: error: 'BLEP_BONDING_STATUS' undeclared (first use in this function)
case BLEP_BONDING_STATUS: {
^
targets/nrf5x/bluetooth.c:445:9: note: each undeclared identifier is reported only once for each function it appears in
targets/nrf5x/bluetooth.c:542:33: error: implicit declaration of function 'bleGetActiveBluetoothGattServer' [-Werror=implicit-function-declaration]
JsVar *gattServer = bleGetActiveBluetoothGattServer(centralIdx);
^
targets/nrf5x/bluetooth.c:542:33: warning: initialization makes pointer from integer without a cast [-Wint-conversion]
targets/nrf5x/bluetooth.c: In function 'pm_evt_handler':
targets/nrf5x/bluetooth.c:1735:31: error: 'BLEP_BONDING_STATUS' undeclared (first use in this function)
jsble_queue_pending(BLEP_BONDING_STATUS, BLE_BOND_START);
^
targets/nrf5x/bluetooth.c: In function 'services_init':
targets/nrf5x/bluetooth.c:2449:17: error: 'ble_nus_init_t {aka struct <anonymous>}' has no member named mitmProtect'
nus_init.mitmProtect = true;
^
targets/nrf5x/bluetooth.c: In function 'jsble_startBonding':
targets/nrf5x/bluetooth.c:3223:23: error: 'BLEP_BONDING_STATUS' undeclared (first use in this function)
jsble_queue_pending(BLEP_BONDING_STATUS, BLE_BOND_REQUEST); // report that we've requested bonding
^
targets/nrf5x/bluetooth.c: In function 'jsble_set_tx_power':
targets/nrf5x/bluetooth.c:3383:9: error: 'm_central_conn_handles' undeclared (first use in this function)
if (m_central_conn_handles[i] != BLE_CONN_HANDLE_INVALID)
I can't find BLEP_BONDING_STATUS in any *.h file!
I'm also getting a FLASH overrun error trying to compile BANGLEJS2:
/usr/local/gcc-arm-none-eabi-5_4-2016q3/bin/../lib/gcc/arm-none-eabi/5.4.1/../../../../arm-none-eabi/bin/ld: bin/bootloader_espruino_2v19.179_banglejs2.elf section `.text' will not fit in region `FLASH'
/usr/local/gcc-arm-none-eabi-5_4-2016q3/bin/../lib/gcc/arm-none-eabi/5.4.1/../../../../arm-none-eabi/bin/ld: region FLASH overflowed with .data and user data
/usr/local/gcc-arm-none-eabi-5_4-2016q3/bin/../lib/gcc/arm-none-eabi/5.4.1/../../../../arm-none-eabi/bin/ld: region `FLASH' overflowed by 1892 bytes
collect2: error: ld returned 1 exit status
make: *** [make/targets/ARM.make:3: bin/bootloader_espruino_2v19.179_banglejs2.elf] Error 1
In file included from targetlibs/nrf5x_15/modules/nrfx/mdk/nrf_peripherals.h:63:0,
from targetlibs/nrf5x_15/modules/nrfx/drivers/nrfx_common.h:49,
from targetlibs/nrf5x_15/modules/nrfx/nrfx.h:45,
from targetlibs/nrf5x_15/modules/nrfx/hal/nrf_gpio.h:44,
from targets/nrf5x_dfu/hardware.h:18,
from targets/nrf5x_dfu/lcd.c:15:
Espruino is a JavaScript interpreter for low-power Microcontrollers. This site is both a support community for Espruino and a place to share what you are working on.
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: