Support for cheap common boards (Mega2560 / STM32F103C8T6) #3044
Replies: 9 comments 3 replies
-
Atmega and F103 won't have enough resources for anything useful. The other 2 are already used in some targets. The question is: what kind of targets should these be? As we are moving towards unified targets, supporting these could be done easily, however it is quite out-of-focus for now. |
Beta Was this translation helpful? Give feedback.
-
Not surprised re: AtMega and STM32F103 being weak. What targets are the other two already used in? I am not 100% sure on what the question "what kind of targets should these be?" means, but if it is a question of what the use-cases of these boards would be, I am interested in the use of a DIY solution to obtaining a land/surface (a.k.a. pistol grip) transmitter for controlling complex (4+ channels) land vehicles. I guess there could also be use for these in creating more accessible/disability-friendly controllers, but that would not be what I am intending. It is a shame there are no commercially-available surface transmitters with OpenTX/EdgeTX, and it'd be nice if one could be created easily (just plug in and upload firmware, rather than having to read code to find pinouts and then compile the code by oneself) with the ability to swap external modules (e.g. swapping between ELRS and 4in1 modules). |
Beta Was this translation helpful? Give feedback.
-
Here a list of some microcontrollers known to me by the EdgeTX supported radios presently: |
Beta Was this translation helpful? Give feedback.
-
I found that the STM32F407VET6 is used in the RadioMaster Tx12. So if that microcontroller is supported already, does that mean that I could:
Would that work? And if so, which file should I be looking in for the pin assignments? |
Beta Was this translation helpful? Give feedback.
-
You could try to use a STM32F407VET6 Development Board, but would need to likely adjust the I/O pins in the code (assuming the external oscillator frequency matches, otherwise would need to adjust also the PLL values). For the I/O mapping of switches have a look at: https://github.com/EdgeTX/edgetx/blob/main/radio/src/targets/taranis/hal.h and https://github.com/EdgeTX/edgetx/blob/main/radio/src/targets/taranis/board.h |
Beta Was this translation helpful? Give feedback.
-
If you wait a bit, all the I/O config will get much easier, when the switch-refactor branch is merged |
Beta Was this translation helpful? Give feedback.
-
I'm also interested in this possibility; has that branch been merged yet and if so, what parts of this undertaking are made easier? |
Beta Was this translation helpful? Give feedback.
-
@TheMinimazer Did you end up finding suitable development board and a process to get EdgeTX running on it? |
Beta Was this translation helpful? Give feedback.
-
I'm going to build my own Radio soon. It will be the first time in my life compiling code Maby a stipid question. Here in this comment I explain a bit more of my plan. To keep things simple at first. I would like to give this board a try, since it will have its first support in EdgeTx 3.x.: ========= The DIY Till I Die board :)
|
Beta Was this translation helpful? Give feedback.
-
Is there an existing issue for this feature request?
Is your feature request related to a problem?
I wish to create a custom-shaped transmitter using off-the-shelf components, rather than just buying a pre-built transmitter and pulling it to pieces. OpenTX 2.1 was compatible with the Mega2560 chips and related boards (Arduino 2560 and clones), and it'd be nice to see more easily-accessible open-source firmware availability (and possibly ELRS availability) on cheap hardware. Other options require more know-how than simply buying a dev board and following some relatively simple diagrams and instructions such as what exists for OpenTX 2.1 in https://github.com/opentx/opentx/tree/2.2/doc/Mega2560 . Most other options do not seem to utilise the JR bay (for external RF modules), which would be useful for customisability of use cases with these cheap boards.
Describe the solution you'd like
Add support for development boards such as Mega2560 (if possible), STM32F103C8T6 (aka blue pill), STM32F411 (aka black pill), or STM32F407VET6, such that they could be flashed from the companion like a pre-built transmitter.
Describe alternatives you've considered
Additional context
No response
Beta Was this translation helpful? Give feedback.
All reactions