rakwireless / rakwireless-arduino-bsp-index Goto Github PK
View Code? Open in Web Editor NEWRAKwireless BSP Support for the Arduino Board Manager
RAKwireless BSP Support for the Arduino Board Manager
The index file was saved with different name than the urls
I need to do:
mv ~/Library/Arduino15/package_package_rakwireless.json ~/Library/Arduino15/package_rakwireless.com_rui_index.json
We've had this problem before. It was fixed, but seems like it's back again after updating the BSP to the one in the repo.
Sketch uses 123776 bytes (15%) of program storage space. Maximum is 815104 bytes.
Global variables use 15356 bytes (6%) of dynamic memory, leaving 222212 bytes for local variables. Maximum is 237568 bytes.
Upgrading target on /dev/ttyACM0 with DFU package /tmp/arduino_build_754762/RAK4631-DeepSleep-LoRaWan.ino.zip. Flow control is disabled, Single bank, Touch disabled
###############################Timed out waiting for acknowledgement from device.
Failed to upgrade target. Error is: No data received on serial port. Not able to proceed.
Traceback (most recent call last):
File "/home/jpmeijers/.local/lib/python3.8/site-packages/nordicsemi/__main__.py", line 294, in serial
dfu.dfu_send_images()
File "/home/jpmeijers/.local/lib/python3.8/site-packages/nordicsemi/dfu/dfu.py", line 235, in dfu_send_images
self._dfu_send_image(HexType.APPLICATION, self.manifest.application)
File "/home/jpmeijers/.local/lib/python3.8/site-packages/nordicsemi/dfu/dfu.py", line 206, in _dfu_send_image
self.dfu_transport.send_firmware(firmware)
File "/home/jpmeijers/.local/lib/python3.8/site-packages/nordicsemi/dfu/dfu_transport_serial.py", line 213, in send_firmware
self.send_packet(pkt)
File "/home/jpmeijers/.local/lib/python3.8/site-packages/nordicsemi/dfu/dfu_transport_serial.py", line 243, in send_packet
ack = self.get_ack_nr()
File "/home/jpmeijers/.local/lib/python3.8/site-packages/nordicsemi/dfu/dfu_transport_serial.py", line 282, in get_ack_nr
raise NordicSemiException("No data received on serial port. Not able to proceed.")
nordicsemi.exceptions.NordicSemiException: No data received on serial port. Not able to proceed.
Possible causes:
- Selected Bootloader version does not match the one on Bluefruit device.
Please upgrade the Bootloader or select correct version in Tools->Bootloader.
- Baud rate must be 115200, Flow control must be off.
- Target is not in DFU mode. Ground DFU pin and RESET and release both to enter DFU mode.
When installing the RUI platform via arduino-cli
I get the following error:
arduino-cli core install $BOARD_CORE
Downloading packages...
rak_rui:arm-none-eabi-gcc@9-2019q4 already downloaded
rak_rui:[email protected] already downloaded
rak_rui:[email protected] already downloaded
rak_rui:[email protected] already downloaded
rak_rui:[email protected] downloaded
rak_rui:[email protected] already downloaded
Installing rak_rui:arm-none-eabi-gcc@9-2019q4...
rak_rui:arm-none-eabi-gcc@9-2019q4 installed
Installing rak_rui:[email protected]...
rak_rui:[email protected] installed
Installing rak_rui:[email protected]...
rak_rui:[email protected] installed
Installing rak_rui:[email protected]...
rak_rui:[email protected] installed
Installing rak_rui:[email protected]...
Error during install: installing tool rak_rui:[email protected]: testing local archive integrity: testing archive size: fetched archive size differs from size specified in index
When I manually downloaded the tool from the URL1 in the library manifest2 the MD5 checksum matched but the size did not (410 bytes vs. 446). I also checked and both the MacOS and Win32 downloads of the buildtime
tool appear to have incorrect file sizes as well.
I'm not sure what the upstream packaging process looks like for these tools, and whether this JSON listing is updated automatically or by hand, but at minimum it seems like the file sizes listed in the JSON need to be updated.
In the meantime I can manually patch the JSON locally but obviously that will fall behind as any other changes are made upstream.
Hello,
First of all, thank you for implement timereq commands and callbacks. I've been testing 4.1.1_279 from staging and I have a little hiccup when disabling all LoRaWAN regions except EU868. Board RAK11720
The compiler throws the following error:
c:/users/javie/appdata/local/arduino15/packages/rak_rui/tools/arm-none-eabi-gcc/9-2019q4/bin/../lib/gcc/arm-none-eabi/9.2.1/../../../../arm-none-eabi/bin/ld.exe: C:\Projects\GEM RUI3\GEM-V2-Firmware\build/core\core.a(service_lora.c.o): in function `service_lora_init':
C:\Users\javie\AppData\Local\Arduino15\packages\rak_rui\hardware\apollo3\4.1.1\cores\apollo3\component\service\lora/service_lora.c:754: undefined reference to `RegionAS923SubBandSet'
c:/users/javie/appdata/local/arduino15/packages/rak_rui/tools/arm-none-eabi-gcc/9-2019q4/bin/../lib/gcc/arm-none-eabi/9.2.1/../../../../arm-none-eabi/bin/ld.exe: C:\Users\javie\AppData\Local\Arduino15\packages\rak_rui\hardware\apollo3\4.1.1\cores\apollo3\component\service\lora/service_lora.c:769: undefined reference to `RegionAS923SubBandSet'
c:/users/javie/appdata/local/arduino15/packages/rak_rui/tools/arm-none-eabi-gcc/9-2019q4/bin/../lib/gcc/arm-none-eabi/9.2.1/../../../../arm-none-eabi/bin/ld.exe: C:\Projects\GEM RUI3\GEM-V2-Firmware\build/core\core.a(service_lora.c.o): in function `service_lora_set_band':
C:\Users\javie\AppData\Local\Arduino15\packages\rak_rui\hardware\apollo3\4.1.1\cores\apollo3\component\service\lora/service_lora.c:1446: undefined reference to `RegionAS923SubBandSet'
c:/users/javie/appdata/local/arduino15/packages/rak_rui/tools/arm-none-eabi-gcc/9-2019q4/bin/../lib/gcc/arm-none-eabi/9.2.1/../../../../arm-none-eabi/bin/ld.exe: C:\Users\javie\AppData\Local\Arduino15\packages\rak_rui\hardware\apollo3\4.1.1\cores\apollo3\component\service\lora/service_lora.c:1458: undefined reference to `RegionAS923SubBandSet'
I'm bypassing it by temporally enabling Region AS923.
Regards
Hi,the https://raw.githubusercontent.com/RAKwireless/RAKwireless-Arduino-BSP-Index/main/package_rakwireless.com_rui_index.json as shown in readme does not have the STM32 as shown in the readme.
sketch/lora_handler.cpp: In function 'int8_t initLoRaWan()':
lora_handler.cpp:137:86: error: too many arguments to function 'lmh_error_status lmh_init(lmh_callback_t*, lmh_param_t, bool, eDeviceClass)'
137 | if (lmh_init(&lora_callbacks, lora_param_init, doOTAA, gCurrentClass, gCurrentRegion) != 0)
| ^
In file included from /home/jpmeijers/Arduino/libraries/SX126x-Arduino/src/LoRaWan-Arduino.h:17,
from /home/jpmeijers/Arduino/libraries/SX126x-Arduino/src/LoRaWan-RAK4630.h:4,
from sketch/main.h:14,
from sketch/lora_handler.cpp:11:
/home/jpmeijers/Arduino/libraries/SX126x-Arduino/src/mac/LoRaMacHelper.h:146:19: note: declared here
146 | lmh_error_status lmh_init(lmh_callback_t *callbacks, lmh_param_t lora_param, bool otaa, eDeviceClass nodeClass = CLASS_A);
| ^~~~~~~~
exit status 1
too many arguments to function 'lmh_error_status lmh_init(lmh_callback_t*, lmh_param_t, bool, eDeviceClass)'
A declarative, efficient, and flexible JavaScript library for building user interfaces.
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google ❤️ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.