Compiling error with RUI at Arduino

Please include the following information, in order for us to help you as effectively as possible.

  • What product do you wish to discuss? RAK4631

  • What firmware are you using? RUI3 & Arduino BSP

  • What firmware version? Can it be obtained with AT+VER=?

  • Computer OS? Windows 11

  • What Computer OS version?

  • How often does the problem happen? Always

  • How can we replicate the problem? Yes

Error messages in the compiling process:

exec: “C:\Users\Claudio Rosa\AppData\Local\Arduino15\packages\rak_rui\tools\arm-none-eabi-gcc\9-2019q4/bin/arm-none-eabi-g++”: file does not exist

The error seems to be g++ instead of c++

Blockquote
Arduino: 1.8.19 (Windows 10), Placa:“WisBlock Core RAK4631 Board, 0.3.2 SoftDevice s140 7.2.0, Level 0 (Release), Enable, On, Support LoRaWAN and LoRa P2P, Off, On, Off, Off, Off, Off, Off, Off, Off, Off, Off”

exec: “C:\Users\Claudio Rosa\AppData\Local\Arduino15\packages\rak_rui\tools\arm-none-eabi-gcc\9-2019q4/bin/arm-none-eabi-g++”: file does not exist

Erro compilando para a placa WisBlock Core RAK4631 Board

Blockquote

Hi Claudio,

I am thinking it is an incomplete installation. I am using RUI3 V4.1.0 without any errors.
Can you try to reinstall the BSP?

The arm-none-eabi-g++ is found in my installation:

"C:\\Users\\Bernd\\AppData\\Local\\Arduino15\\packages\\rak_rui\\tools\\arm-none-eabi-gcc\\9-2019q4/bin/arm-none-eabi-g++" -mcpu=cortex-m4 -mthumb -c -g -w -mfloat-abi=hard -mfpu=fpv4-sp-d16 -u _printf_float -std=gnu++11 -ffunction-sections -fdata-sections -fno-threadsafe-statics -nostdlib --param max-inline-insns-single=500 -fno-rtti -fno-exceptions -w -x c++ -E -CC -DF_CPU=64000000 -DARDUINO=10819 -DARDUINO_WisCore_RAK4631_Board -DARDUINO_ARCH_NRF52 "-DARDUINO_BSP_VERSION=\"4.1.0\"" -DDEBUG -DNRF52840_XXAA -DRAK4631_V2.0+RAK5005-O_V1.0 -Drak4630 -DWISBLOCK_BASE_5005_O -DUSBCON -DUSB_VID=0x239A -DUSB_PID=0x8029 "-DUSB_MANUFACTURER=\"RAKwireless\"" "-DUSB_PRODUCT=\"WisCore RAK4631 Board\"" -Os -DLORA_IO_SPI_PORT=2 -DSYS_RTC_COUNTER_PORT=2 -DATCMD_CUST_TABLE_SIZE=64 -DWAN_TYPE=0 -DLORA_STACK_VER=0x040407 -DBATTERY_LEVEL_SUPPORT -DBLE_CENTRAL_SUPPORT -DAPP_TIMER_V2 -DAPP_TIMER_V2_RTC1_ENABLED -DBOARD_PCA10056 -DS140 -DCONFIG_GPIO_AS_PINRESET -DFLOAT_ABI_HARD -DNRF52840_XXAA -DNRF_SD_BLE_API_VERSION=6 -DUSER_UART -DUSBD_CDC -DBLE_SUPPORT -DDFU_SUPPORT -DBL_SETTINGS_ACCESS_ONLY -DNRF_DFU_SVCI_ENABLED -DNRF_DFU_TRANSPORT_BLE=1 -DSOFT_SE -DSECURE_ELEMENT_PRE_PROVISIONED -DLORAMAC_CLASSB_ENABLED -DSOFTDEVICE_PRESENT -DSWI_DISABLE0 -D__HEAP_SIZE=7168 -D__STACK_SIZE=7168 -DDEBUG -DSUPPORT_USB -DSUPPORT_BLE -DSUPPORT_NFC -DSUPPORT_SPI -DSUPPORT_AT -DRUI_SDK -DSUPPORT_LORA -DSUPPORT_LORA_P2P -DREGION_AS923 -DREGION_AU915 -DREGION_CN470 -DREGION_CN779 -DREGION_EU433 -DREGION_EU868 -DREGION_KR920 -DREGION_IN865 -DREGION_US915 -DREGION_RU864 -DREGION_LA915 -DCFG_DEBUG=0 -DCFG_LOGGER=1 -DCFG_SYSVIEW=0 
"-IC:\\Users\\Bernd\\AppData\\Local\\Arduino15\\packages\\rak_rui\\hardware\\nrf52\\4.1.0/variants/WisCore_RAK4631_Board" 
"-IC:\\Users\\Bernd\\AppData\\Local\\Arduino15\\packages\\rak_rui\\hardware\\nrf52\\4.1.0/system/WisCore_RAK4631_Board" 
"-IC:\\Users\\Bernd\\AppData\\Local\\Arduino15\\packages\\rak_rui\\hardware\\nrf52\\4.1.0/cores/nRF5/app/RAK4631/src" 
"-IC:\\Users\\Bernd\\AppData\\Local\\Arduino15\\packages\\rak_rui\\hardware\\nrf52\\4.1.0/cores/nRF5/component/inc" 
"-IC:\\Users\\Bernd\\AppData\\Local\\Arduino15\\packages\\rak_rui\\hardware\\nrf52\\4.1.0/cores/nRF5/component/core/mcu/nrf52840" 
"-IC:\\Users\\Bernd\\AppData\\Local\\Arduino15\\packages\\rak_rui\\hardware\\nrf52\\4.1.0/cores/nRF5/component/core/mcu/nrf52840/uhal" 
"-IC:\\Users\\Bernd\\AppData\\Local\\Arduino15\\packages\\rak_rui\\hardware\\nrf52\\4.1.0/cores/nRF5/component/core/mcu/nrf52840/uhal/serial" 
.......

Good morning,

Thank always by your support.

I re-installed the boards, then the file missed it was re-installed.

Regards,

Cláudio

This topic was automatically closed 10 days after the last reply. New replies are no longer allowed.