[riot-notifications] [RIOT-OS/RIOT] Port of RIOT-OS to stm32mp1 (#14691)
notifications at github.com
Tue Nov 10 15:15:12 CET 2020
@fjmolinas commented on this pull request.
> @@ -0,0 +1,20 @@
+# we use shared STM32 configuration snippets
+INCLUDES += -I$(RIOTBOARD)/common/stm32/include
+# set default port depending on operating system
+PORT_LINUX ?= /dev/ttyACM0
+PORT_DARWIN ?= $(firstword $(sort $(wildcard /dev/tty.SLAB_USBtoUART*)))
+# setup serial terminal
+# this board has an on-board ST-link adapter
+OPENOCD_CORE = "stm32mp15x.cm4"
+OPENOCD_CONFIG = board/stm32mp15x_dk2.cfg
Sorry for taking so long to respond, this got lost in my mailbox. I would rather have a common configuration because:
- it can be re-used by other boards
- some of the `tcl/board` configuration perform some initialization that can conflict with the other we perform all the `do_%` commands. I can't recall right now an example (maybe `OPENOCD_RESET_USE_CONNECT_ASSERT_SRST` is one of those cases?).
- as you say to keep things homogenuous
> It makes me think that adding the openocd commit to use in doc.txt of the board could be a good thing. What do you think about it ?
Yes if a specific commit is needed it would be nice to have it in the doc I think thats how @aabadie has done it for most cases.
You are receiving this because you are subscribed to this thread.
Reply to this email directly or view it on GitHub:
-------------- next part --------------
An HTML attachment was scrubbed...
More information about the notifications