[riot-devel] Support unsupported boards
gunar at schorcht.net
Fri Nov 30 06:11:57 CET 2018
I don't see any reason why not to start with an existing board
definition and to change it as required.
Sparkfun ESP32 Thing and HUZZAH32 are quite generic boards like the many
others that have nothing else on board than the ESP32, e.g., all ESP32
DevKit clones (esp32-wroom-32) or the MH-ET LIVE MiniKit for ESP32
These board definitions are a good starting point. The only task is to
redefine what GPIO is used for LED and what GPIOs are used for I2C, SPI
and other peripherals. I would suggest to use esp32-mh-live-minikit
since it also has a LED.
HUZZAH32 (from schematic)
SPI0_CS0 your choice
DAC_GPIOS GPIO 25, 26
ADC_GPIOS GPIO 4, 2, 0, 15, 13, 12, 34, 35, 25, 26, 36, 39
Sparkfun ESP32 Thing
everything else is your decision
Of course, you have to decide which GPIOs can be used as ADC_GPIOS,
DAC_GPIOS and PWM0_GPIOS. Please not that GPIOs can be assigned to
differen functions, but once they are used with an init function, their
usage is fix.
I hope this helps.
On 30.11.18 00:20, lefteris mourelatos wrote:
> Hello, I want to support new boards with RIOT(specifically the
> HUZZAH32,SParkfun ESP32 thing).I was told not to use the esp32-wroom-32
> or any other files for this task and to create one of my own.Is there
> any tutorial or maybe something like it on GitHub?A paragraph I found on
> your site did not help me that much. Should I “copy and adjust” the
> already existing files for other boards. Thank you in advance.
> Sent from Mail <https://go.microsoft.com/fwlink/?LinkId=550986> for
> Windows 10
> devel mailing list
> devel at riot-os.org
Wenn du laufen willst, lauf eine Meile. Wenn du ein neues Leben
kennenlernen willst, dann lauf Marathon. (Emil Zatopek)
-------------- next part --------------
A non-text attachment was scrubbed...
Size: 833 bytes
Desc: OpenPGP digital signature
More information about the devel