Replies: 8 comments 23 replies
-
Sounds like a good approach Rop, Unfortunately I won't have time to test it since I've got a deadline for some of my own projects. I particularly like your suggestion of changing the name of the main heltec.h file to heltec_unofficial.h. Many thanks for your excellent work to clean up the Heltec "soup". |
Beta Was this translation helpful? Give feedback.
-
I was able to test this. Seems to work. Thanks for the quick response. I had a lot of trouble with the Heltec libraries, but I like the hardware. Let me know if I can contribute at all. I tried a couple of your examples to make sure things compiled and uploaded. I still had to install HotButton and TimeLib, per another post here. Here some notes for windows users: ~/Library/Arduino15/ ----> c:\Users<user>\AppData\Local\Arduino15 |
Beta Was this translation helpful? Give feedback.
-
I can confirm that adding https://raw.githubusercontent.com/espressif/arduino-esp32/gh-pages/package_esp32_index.json was all it took to get it working on the latest Arduino IDE (2.3.2). Thanks for this :) |
Beta Was this translation helpful? Give feedback.
-
I installed esp32 from Espressif as per the instructions above (point 2) but I don't have any folder /boards under ~/Documents/Arduino/libraries/Heltec_ESP32_LoRa_v3. P.S. Before getting to you I tried the Heltec libraries and boards without success (impossibile to compile any example). |
Beta Was this translation helpful? Give feedback.
-
There was a bug in display demos/SimpleDemo, I fixed it by adding The other display demos work. Here at least. If DrawingDemo doesn't work for you, it's likely that you are having a hardware problem in addition to there being a bug in SimpleDemo. |
Beta Was this translation helpful? Give feedback.
-
Sorry, I have what seems a problem of compatibility of your library with other libraries, in particular when I introduce a both.print in my sketch the serial monitor keeps on scrolling the following message: _Rebooting... TGuru Meditation Error: Core 1 panic'ed (StoreProhibited). Exception was unhandled. Core 1 register dump: Backtrace: 0x400570e5:0x3fcebd10 0x42005481:0x3fcebd20 0x42005659:0x3fcebd40 0x42029729:0x3fcebd60 0x42029a89:0x3fcebd80 0x42005baf:0x3fcebda0 0x42005bc1:0x3fcebdc0 0x42001cf3:0x3fcebde0 0x42001d7b:0x3fcebe00 0x42008431:0x3fcebe20 ELF file SHA256: b4ef00316f8e35c5_ In my sketch to read a BME280 sensor I have included the following libraries #include <Wire.h> Everything works nominally when I replace the both.print with Serial.print in my sketch. Could you please help? P.S. upgraded your library today. |
Beta Was this translation helpful? Give feedback.
-
And so this doesn't work with Are you then also putting |
Beta Was this translation helpful? Give feedback.
-
Hi Ropg,
- Arduino IDE 2.3.2 reinstalled after environment cleanup (e.g. delete of library directory under Documents/Arduino/library etc.)
- Phisical Board Heltec Wireless Stick v3
- Board selected in Arduino : Heltec WiFi Lora32 (V3) / Wireless shell(v3)/...
put inside the source file:
#define HELTEC_WIRELESS_STICK
#include <heltec_unofficial.h>
I should have done everything according to your last explanation contained in the readme file at the link
https://github.com/ropg/heltec_esp32_lora_v3
BR
Carlo Migliorini
… Il 25/05/2024 22:23 CEST Rop Gonggrijp ***@***.***> ha scritto:
@carlomigliorini https://github.com/carlomigliorini What versions of ESP32 Arduino and Arduino IDE are you using? What board name did you select?
—
Reply to this email directly, view it on GitHub #14 (reply in thread), or unsubscribe https://github.com/notifications/unsubscribe-auth/AQDBPORMEPDP36OPLRHS7DDZEDXNZAVCNFSM6AAAAABGD25QWOVHI2DSMVQWIX3LMV43SRDJONRXK43TNFXW4Q3PNVWWK3TUHM4TKNJXHE4DC.
You are receiving this because you were mentioned.Message ID: ***@***.***>
|
Beta Was this translation helpful? Give feedback.
-
IGNORE EVERYTHING IN THIS THREAD
HERE FOR HISTORICAL REASONS ONLY...
EDIT: I changed board definitions again, reverting to using Heltec's own definition. Making my own is just too much of a maintenance nightmare: the Arduino ecosystem is not built for alternative board definitions and working around that is not worth it in this case. The README has been changed accordingly. There will be a separate HOWTO for using different partitioning of the flash for those that needed that feature from my own definitions.
Hi all,
I'm thinking of changing how the board definitions are added, because having my own board manager URL – while it seemed such a cool idea at the time – is a major can of worms. The intricacies of the Arduino Board Manager process would force me to stay up on way to much arcane stuff that I don't want to have to keep updating. I think I have a better way of doing this, that is less complex and hopefully not as shaky as the current method. Sadly a bit more involved on the user end, but can't win them all.
If you've been having trouble, please help me test this before I add it to the main README and remove the other method.
0. Clean up a bit
~/Library/Arduino15/
. There, delete boards.json and from the packages subdir delete everything related to the heltec unofficial package1. Make sure you have the latest version of this library.
On the Mac this would be:
2. Install esp32 from Espressif
https://raw.githubusercontent.com/espressif/arduino-esp32/gh-pages/package_esp32_index.json
3. Copy files
~/Library
. Theboards-ht_u.txt
needs to be APPENDED to the existingboards.txt
file. If you're not on a Mac, change these directories to where your files live. (I will naturally make this more clear in the eventual instructions in the README.)4. Use
To anyone that's been having issues: please let me know if this works for you.
I'm also thinking of changing the name of the main heltec.h file to heltec_unofficial.h so the library can coexist with the heltec libraries made by Heltec.
Beta Was this translation helpful? Give feedback.
All reactions