OpenShock / Firmware

Espressif Firmware for OpenShock, Controlling shock collars via Reverse engineered proprietary Sub-1 GHz Protocols.
GNU Affero General Public License v3.0
26 stars 6 forks source link

[Feature] Have a warning on changing RF TX pins on pre-defined boards #120

Open nullstalgia opened 7 months ago

nullstalgia commented 7 months ago

Pre-submission checklist

What should be possible that currently is not?

For boards like PiShock Lite/2023 or my own PCBs, a user changing the RF TX pin should be discouraged/warned against.

Currently the only relevant information is on the Wiki, and having the pins pre-set in the UI during setup.

I think the only thing that's missing at this point is a warning stating that the pin has already been set by their choice of firmware, and that changing it is not recommended.

For generic WEMOS, Seeed, etc dev boards, leaving the RF pin undefined in the platformio.ini could be used as a way to suppress that warning, letting the user enter their chosen pin.

Other remarks

No response