Thanks a lot for answering .I modified esp32-mh-et-live-minikit but they told me that for the sake of learning I should ask you how to support an unsupported board.Sorry to ask again but could you please tell me how to do so?
Thank you in advance, Sent from Mail<https://go.microsoft.com/fwlink/?LinkId=550986> for Windows 10 ________________________________ From: devel <devel-boun...@riot-os.org> on behalf of devel-requ...@riot-os.org <devel-requ...@riot-os.org> Sent: Friday, November 30, 2018 1:00:02 PM To: devel@riot-os.org Subject: devel Digest, Vol 69, Issue 15 Send devel mailing list submissions to devel@riot-os.org To subscribe or unsubscribe via the World Wide Web, visit https://lists.riot-os.org/mailman/listinfo/devel or, via email, send a message with subject or body 'help' to devel-requ...@riot-os.org You can reach the person managing the list at devel-ow...@riot-os.org When replying, please edit your Subject line so it is more specific than "Re: Contents of devel digest..." Today's Topics: 1. Support unsupported boards (lefteris mourelatos) 2. Re: Support unsupported boards (Gunar Schorcht) ---------------------------------------------------------------------- Message: 1 Date: Thu, 29 Nov 2018 23:20:07 +0000 From: lefteris mourelatos <lefterism...@hotmail.com> To: "devel@riot-os.org" <devel@riot-os.org> Subject: [riot-devel] Support unsupported boards Message-ID: <vi1pr0901mb0941a69494988b3dfe9ebea6eb...@vi1pr0901mb0941.eurprd09.prod.outlook.com> Content-Type: text/plain; charset="windows-1252" 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 -------------- next part -------------- An HTML attachment was scrubbed... URL: <http://lists.riot-os.org/pipermail/devel/attachments/20181129/a0901daa/attachment-0001.html> ------------------------------ Message: 2 Date: Fri, 30 Nov 2018 06:11:57 +0100 From: Gunar Schorcht <gu...@schorcht.net> To: devel@riot-os.org Subject: Re: [riot-devel] Support unsupported boards Message-ID: <e82f3cdd-4e3a-f115-09fa-1ca550c4d...@schorcht.net> Content-Type: text/plain; charset="windows-1252" Hi, 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 (esp32-mh-live-minikit). 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) LED0_PIN GPIO5 LED0_ACTIVE 1 I2C0_SCL GPIO22 I2C0_SDA GPIO21 SPI0_SCK GPIO5 SPI0_MISO GPIO19 SPI0_MOSI GPIO18 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 LED0_PIN GPIO5 LED0_ACTIVE 1 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. Regards Gunar 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@riot-os.org > https://lists.riot-os.org/mailman/listinfo/devel > -- 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... Name: signature.asc Type: application/pgp-signature Size: 833 bytes Desc: OpenPGP digital signature URL: <http://lists.riot-os.org/pipermail/devel/attachments/20181130/ff720301/attachment-0001.sig> ------------------------------ Subject: Digest Footer _______________________________________________ devel mailing list devel@riot-os.org https://lists.riot-os.org/mailman/listinfo/devel ------------------------------ End of devel Digest, Vol 69, Issue 15 *************************************
_______________________________________________ devel mailing list devel@riot-os.org https://lists.riot-os.org/mailman/listinfo/devel