Replies: 6 comments 2 replies
-
You could start with the description of the repro &/or pull it out to its own repro. |
Beta Was this translation helpful? Give feedback.
-
There you go: LoRa32 |
Beta Was this translation helpful? Give feedback.
-
Updated the project so it can be used with PlatformIO:
|
Beta Was this translation helpful? Give feedback.
-
Thanks for sharing this @Velocet, here's my couple of cents on the issue:
|
Beta Was this translation helpful? Give feedback.
-
@Velocet Thanks for starting this project, which is indeed very helpful. It wouldn't be needed if the definitions in pins_arduino.h (arduino-esp32 etc.) were more consistent. Do you have any idea how to support FeatherWings / FireBeetle Covers with their user-defined wiring between radio chip and GPIO pins? |
Beta Was this translation helpful? Give feedback.
-
Hi and thanks for all the responses! I dug through code from meshtastic, ExpressLRS, tasmota, and other ESP32 based projects which gave me a lot to think about. They all go different routes with some neat ideas. One question that came to mind: Is there any way to determine the (additional) PINs used by the radio if we only have access to SPI (as stated in my answer to @matthias-bs, SPI is always predefined)???
Realistically this is nothing serious but the only idea i can think of to solve this problem. One other major concern is the PIN naming itself. A lot of libs use The posted tinyGS example from @jgromes is great! Looks way better than my approach. I think this will be adopted. |
Beta Was this translation helpful? Give feedback.
-
In the wake of more people using LoRa modules the lack of a reliable source for PIN mappings becomes obvious. A lot of projects have to maintain their own set of configurations.
Proposal
A config "database" for LoRa modules with a sane naming scheme so we can all benefit from it.
LoRa32
This is something i put together but i would move this little "lib" into its own project (maybe under the new RadioLib-Org?) and incorporate ideas and configs from @matthias-bs plus some vendor/architecture specific extensions. The name was chosen because most modules come on the back of the ESP32 platform. Happy to change it to something more descriptive.
lora32_heltec.h
orlora32_rp2040.h
lora32_*.h
files should always be optional#define
guards make sure the right ones are loadedlora32.h
file or project itselfBenefits
This is just a proposal and my "code" isn't that great but it could be a starting point.
Beta Was this translation helpful? Give feedback.
All reactions