Important changes to repositories hosted on mbed.com
Mbed hosted mercurial repositories are deprecated and are due to be permanently deleted in July 2026.
To keep a copy of this software download the repository Zip archive or clone locally using Mercurial.
It is also possible to export all your personal repositories from the account settings page.
Fork of mbed-STM32F030F4 by
Diff: common/pinmap_common.c
- Revision:
- 6:3c60dac207ae
- Parent:
- 0:38ccae254a29
diff -r 83447a6b3b11 -r 3c60dac207ae common/pinmap_common.c
--- a/common/pinmap_common.c Wed Nov 12 01:02:31 2014 +0000
+++ b/common/pinmap_common.c Sun Nov 16 20:16:20 2014 +0000
@@ -29,7 +29,9 @@
}
map++;
}
- error("could not pinout");
+// error("could not pinout");
+// STM32F030F4 for flash size save
+ error("");
}
uint32_t pinmap_merge(uint32_t a, uint32_t b) {
@@ -44,7 +46,9 @@
return a;
// mis-match error case
- error("pinmap mis-match");
+// error("pinmap mis-match");
+// STM32F030F4 for flash size save
+ error("");
return (uint32_t)NC;
}
@@ -64,6 +68,8 @@
return (uint32_t)NC;
peripheral = pinmap_find_peripheral(pin, map);
if ((uint32_t)NC == peripheral) // no mapping available
- error("pinmap not found for peripheral");
+// error("pinmap not found for peripheral");
+// STM32F030F4 for flash size save
+ error("");
return peripheral;
}
