Is there a tutorial, or some detailed docs on how to go about adding support for a new board? I’ve been trying to figure it out just going through the source tree, but I have to admit defeat.
For instance, there is apparently a script for connecting to the STM32F3Discovery board called stm32f3discovery.cfg that references: # Script for connecting with the STM32F3DISCOVERY board source [find interface/stlink-v2.cfg] source [find target/stm32f3x_stlink.cfg] reset_config srst_only srst_nogate But I can’t even find those files in the tree anywhere. And then there’s the whole BSP and HAL work to be done. I don’t imagine there’s much to do there, as the board has a Cortex-M0 on it, so that should be pretty straightforward, but how to enable all the external sensors, etc. that are on this board? It has BLE, touch sensors, IR, temp sensor, etc. I have a complete pinout for the MCU so I know what’s hooked to what pin, etc. I’ve been looking through the STm32F3Discovery stuff and can’t even figure out how the pins from the MCU are mapped to pin values in mynewt (The MCU PE8 pin is an LED pin, and is somehow mapped to a pin in the 72-79 range. I’d love to know how to do this!) Sorry for the naïve newby questions … dg -- David G. Simmons (919) 534-5099 Web <https://davidgs.com/> • Blog <https://davidgs.com/davidgs_blog> • Linkedin <http://linkedin.com/in/davidgsimmons> • Twitter <http://twitter.com/TechEvangelist1> • GitHub <http://github.com/davidgs> /** Message digitally signed for security and authenticity. * If you cannot read the PGP.sig attachment, please go to * http://www.gnupg.com/ <http://www.gnupg.com/> Secure your email!!! * Public key available at keyserver.pgp.com <http://keyserver.pgp.com/> **/ ♺ This email uses 100% recycled electrons. Don't blow it by printing! There are only 2 hard things in computer science: Cache invalidation, naming things, and off-by-one errors.
signature.asc
Description: Message signed with OpenPGP using GPGMail
