BSFrance / BSFrance-avr

Arduino core for BSFrance AVR boards
MIT License
16 stars 10 forks source link

boards.txt references nonexistent file Caterina-Lora32u4.hex #2

Open inactivist opened 5 years ago

inactivist commented 5 years ago

The boards.txt file references a non-existent file. Is there a way to acquire it, or is it unnecessary?

When I try to upload a sketch, I see this error message:

Bootloader file specified but missing: /home/user/arduino/arduino-1.8.5/hardware/BSFrance-avr/avr/bootloaders/caterina/Caterina-Lora32u4.hex

boards.txt: https://github.com/BSFrance/BSFrance-avr/blob/master/avr/boards.txt#L10

#LoRA32u4 Configuration
lora32u4.name=LoRa32u4 (433MHz)
lora32u4.bootloader.low_fuses=0xff
lora32u4.bootloader.high_fuses=0xd8
lora32u4.bootloader.extended_fuses=0xcb
lora32u4.bootloader.file=caterina/Caterina-Lora32u4.hex
lora32u4.bootloader.unlock_bits=0x3F
lora32u4.bootloader.lock_bits=0x2F
lora32u4.bootloader.tool=arduino:avrdude

Edit 1 Using Arduino IDE 1.5.8 on Ubuntu 16.04 x64

pbarooah commented 5 years ago

I am facing the same issue. I am using a LoRa32u4 II board, Arduino IDE 1.8.6, on a Windows 10 machine. The strangest thing is that it (the example programs with the BSFrance LoRa libraries) were working until a few days ago. This morning it just stopped working. Between then and now the only thing I have done is install two extra libraries (OneWire and DallasTemperature) for reading a particular sensor using another Ardunio Uno board.

inactivist commented 5 years ago

I was able to program the board successfully (I ignore the warning). It's only a problem when you try to program (upload) the bootloader (?).

IIRC other people have observed that you can treat these as an Adafruit Feather 32u4 board, though I've not tried it. Interestingly, the code contains references to Adafruit product:

https://github.com/BSFrance/BSFrance-avr/blob/cfdd9b4d8ea6b2ff088cc336d4a4231d767c35e0/avr/boards.txt#L54:L56

wklaebe commented 4 years ago

I found the .hex file in http://bsfrance.fr/documentation/11355_LORA32U4II/BSFrance.zip (link on product page https://bsfrance.fr/lora-long-range/1345-LoRa32u4-II-Lora-LiPo-Atmega32u4-SX1276-HPD13-868MHZ-EU-Antenna.html)

d0ugak commented 4 years ago

Does anyone have any alternate locations to obtain this BSFrance.zip file? I have been trying the bsfrance.fr site for two weeks now and it throws a 503 bad gateway error.

apel512 commented 4 years ago

Please, give a some mirror link for BSFrance.zip. Thanks a lot!!!!

vinux-code commented 4 years ago

Hello all,

I have a copy of hex files for both Lora32u4 on my PC, please find the archive,

lora32u4-bootloaders.zip

inactivist commented 4 years ago

I found the .hex file in http://bsfrance.fr/documentation/11355_LORA32U4II/BSFrance.zip (link on product page https://bsfrance.fr/lora-long-range/1345-LoRa32u4-II-Lora-LiPo-Atmega32u4-SX1276-HPD13-868MHZ-EU-Antenna.html)

FWIW, archived on archive.org:

https://web.archive.org/web/20190316171101/https://bsfrance.fr/lora-long-range/1345-LoRa32u4-II-Lora-LiPo-Atmega32u4-SX1276-HPD13-868MHZ-EU-Antenna.html

The BSFrance.zip file isn't on archive.org as far as I can tell. I've attached my copy here as well, for archival purposes.

bsfrance.zip

adnen477 commented 3 years ago

I'm using lora320u4 I copied the lora boards into the boards in the file arduino/hardware/arduino/avr but when compiling I got this error "loading package arduino: loading platform release: Error reading file (C:\Users\adnen\Desktop\arduino\hardware\arduino\avr\boards.txt:0): Invalid line format, should be 'key=value'' can anyone please help