Hi, did build my own 2,4GHz RX including 8 PWMs and True/Full Diversity (as this is still not available to buy).
Build environment is set up and working, but I have a lot of ??? on how to introduce and build my own target configuration.
Where would I find (detailed) documentation reg. target building (ELRS/ELRS configurator)? (eg. how to introduce a category, that the configurator will find from local sources).
Thx, Manuel
#ELRS 3.0 target build for DIY RX documentation
14 messages · Page 1 of 1 (latest)
Hi, sounds very cool. Did you base it on esp32?
I'm not up to speed with the new unified targets, but I think if you track down the references under https://github.com/ExpressLRS/ExpressLRS/blob/8bdb66b0fc1b3bc03f1c081488f0cf710fe6c88f/src/targets/happymodel_2400.ini#L40 that would be a good start. I think it's also the case that you can flash the generic unified rx build and open up a config page from it's webserver and define the pin-out at runtime, but I don't know the details.
That wasn't as easy to navigate as I expected. The identifier matches to an entry in hardware/targets.json once you split it out at the '.'s https://github.com/ExpressLRS/ExpressLRS/blob/8bdb66b0fc1b3bc03f1c081488f0cf710fe6c88f/src/hardware/targets.json#L671
Which in turn gets you to here where the pins are defined https://github.com/ExpressLRS/ExpressLRS/blob/8bdb66b0fc1b3bc03f1c081488f0cf710fe6c88f/src/hardware/RX/Generic 2400 True Diversity PA.json#L1
@woven wharf thx. It's based on a ESP32 Pico D4 due to more pins I need for dual use(stand alone RX with PWMs or with FC). I tracked it down Same way for the config, but can't get my Version to show selectable in the configurator. Are the targets also "hard compiled" into the configurator? The "Set Pins config Page" is not existing yet, is it?
I'm afraid I don't know much about the configurator, we'll have to wait for someone else
Hi @frail abyss I tried to rustle up some help for you, but we're bogged down in why you want to do it in the first place. Were you hoping to get support for this target into official builds of the configurator, or just your local fork? If you want it in the official build there are hoops you would have to jump through as a vendor, or at least win enough support for adding a new DIY build. If you just want to have it for your own use, apparently there are easier ways of achieving the end result, but I don't know the details
The hardware config html page should be enabled by default on the receivers web server, try opening /hardware.html (once connected to the receivers IP of course)
Thx James, No it's not a commercial Project, I am Just struggling to get a grip on the build Environment to build local, and the question "how to successfully add my own target or using the unified/generic approach (which seems not to be documented fully by now). The /Hardware.html mighty be what I was looking for in the end, let's try. Thx a lot
Just to get the Idea clear: the board ist pretty much Like a happymodel EP dual (this config works), but also has 8 PWM Outputs. Try to configure both together.
@woven wharf setting via hardware.html works with one exception: setting any PWM Pins (comma separates) leads to reset to the Default configuration. Any hint (or how to debug best)?
I'm afraid it's way outside what I know about