Closed proddy closed 3 years ago
Was discussing this with BBQKees today. We decided to call it a Board Profile, which is basically a drop-down list in the Web settings that sets the default values for GPIOs (Rx, Tx, Dallas, Ethernet, LED invert) that match his gateway boards and auto-fill in the settings on the page.
Also a build option -DBOARD_PROFILE=
sounds good. Please support also the Wemos MINI D1 ESP32, which works out of the box right now.
Yes board profiles are not exclusively tied to BBQKees boards. It's for all common configurations.
Made the first steps in the web. Next is to have EMS-ESP send a list of valid profiles to the Web UI with the GPIO configurations.
Still To Do:
some settings which I'll use for reference:
Wemos MINI D1-32 (rx=23, tx=5, dallas=18, led=2, pbutton=0)
Lolin D32 (rx=17, tx=16, dallas=14, led=5, pbutton=0)
BBQKees Gateway S32 (rx=23, tx=5, dallas=4, led=2, pbutton=0)
BBQKees Gateway E32 (rx=5, tx=17, dallas=4, led=2, pbutton=33, phy_addr=1, power=16, mdc=23, mdio=18, clockmode=0_IN)
Olimex ESP32-EVB-EA (rx=5, tx=17, dallas=4, led=2, pbutton=33, phy_addr=0, power=-1, mdc=23, mdio=18, clockmode=0_IN)
still to add the ethernet and compile build flags.
all done now and ready to test
From the Web, select a pre-configured layout to support the new range of BBQKees boards. So ESP8266 and ESP32 variants.