From 9d5c8a6b9a880db7d41fdd0fcf29f7d0eac823fd Mon Sep 17 00:00:00 2001 From: Marti Bolivar Date: Tue, 5 Jun 2012 18:52:33 -0400 Subject: maple/board.cpp: Demo weakness of boardInit(). This shows people what to do to write boardInit(), but also how to save work if they don't need it. Signed-off-by: Marti Bolivar --- wirish/boards/maple/board.cpp | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/wirish/boards/maple/board.cpp b/wirish/boards/maple/board.cpp index 1f0e141..42c847b 100644 --- a/wirish/boards/maple/board.cpp +++ b/wirish/boards/maple/board.cpp @@ -43,8 +43,13 @@ // When defining your own board.cpp, you can put extra code in this // function if you have anything you want done on reset, before main() // or setup() are called. +// +// If there's nothing special you need done, feel free to leave this +// function out, as we do here. +/* void boardInit(void) { } +*/ // Pin map: this lets the basic I/O functions (digitalWrite(), // analogRead(), pwmWrite()) translate from pin numbers to STM32 -- cgit v1.2.3