Skip to content

Commit e6610bd

Browse files
committed
Use only NUCLEO_F401RE for the NFC examples
The repository mbed-os-example-nfc contains two examples: NFC_EEPROM and NFC_SmartPoster. According to their respective `mbed_app.json`, only NUCLEO_F401RE supports both examples, so we limit the compilation test to this target only. Compilation with an unsupported target fails (as expected) with Mbed CLI 2 which enforces a check on a target's availability of the required NFC controller. Mbed CLI 1 lacks such check and always compiles. Fixes ARMmbed/mbed-os-example-nfc#106
1 parent 35b8e55 commit e6610bd

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

tools/test/examples/examples.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -307,7 +307,7 @@
307307
"NFC_SmartPoster"
308308
],
309309
"features" : [],
310-
"targets" : ["NUCLEO_F401RE", "DISCO_L475VG_IOT01A"],
310+
"targets" : ["NUCLEO_F401RE"],
311311
"toolchains" : [],
312312
"exporters": [],
313313
"compile" : true,

0 commit comments

Comments
 (0)