summaryrefslogtreecommitdiffstatshomepage
path: root/stmhal/pin_map.c
diff options
context:
space:
mode:
authorDamien George <damien.p.george@gmail.com>2014-03-30 12:30:35 +0100
committerDamien George <damien.p.george@gmail.com>2014-03-30 12:30:35 +0100
commit09d207785c77c85c957471b064ceebe0d2ee0a23 (patch)
tree6c34e11ee61c820c807db06d3d3cd69611c13ddb /stmhal/pin_map.c
parent24a140a444cfb2ebda7f0b6d0a88be9461a99d03 (diff)
downloadmicropython-09d207785c77c85c957471b064ceebe0d2ee0a23.tar.gz
micropython-09d207785c77c85c957471b064ceebe0d2ee0a23.zip
stmhal: Unify naming of HW config; make SD detect configurable.
All board config macros now begin with MICROPY_HW_. Renamed PYBv10 to PYBV10, since macros should be all uppercase. Made SDCARD_DETECT configurable in mpconfigport.h, so that the SD detect pin can be easily configured.
Diffstat (limited to 'stmhal/pin_map.c')
-rw-r--r--stmhal/pin_map.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/stmhal/pin_map.c b/stmhal/pin_map.c
index c546231c80..a754d24a05 100644
--- a/stmhal/pin_map.c
+++ b/stmhal/pin_map.c
@@ -23,7 +23,7 @@
//
// CPU pins which correspond to the board pins are available
// as pyb.cpu.Name. For the CPU pins, the names are the port letter
-// followed by the pin number. On the PYBOARD4, pyb.Pin.board.X1 and
+// followed by the pin number. On the PYBV4, pyb.Pin.board.X1 and
// pyb.Pin.cpu.B6 are the same pin.
//
// You can also use strings: