We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent befed73 commit e1f038bCopy full SHA for e1f038b
examples/NonReg/CheckVariant/CheckVariant.ino
@@ -6,9 +6,17 @@
6
7
#include "utils.h"
8
9
+#if !defined(STM32_CORE_VERSION) || (STM32_CORE_VERSION <= 0x01090000)
10
+ #error "This sketch is not compatible with core version prior to 2.0.0"
11
+#endif
12
+
13
#define PORTx(pn) (char)('A' + STM_PORT(pn))
14
#define PINx(pn) STM_PIN(pn)
15
16
+#ifndef LED_BUILTIN
17
+#define LED_BUILTIN PNUM_NOT_DEFINED
18
19
20
/*
21
Initial check of Serial to be sure we can further print on serial
22
Returns true in case of test passed
0 commit comments