mirror of https://github.com/ARMmbed/mbed-os.git
Merge pull request #13743 from idea--list/master
Define SD and STORAGE for the MAX32630FTHR and prevent warnings during compilation on Mbed 5.12 and abovepull/13745/head
commit
2514479360
|
@ -46,7 +46,9 @@
|
||||||
// Create a string definition for the TARGET
|
// Create a string definition for the TARGET
|
||||||
#define STRING_ARG(arg) #arg
|
#define STRING_ARG(arg) #arg
|
||||||
#define STRING_NAME(name) STRING_ARG(name)
|
#define STRING_NAME(name) STRING_ARG(name)
|
||||||
|
#if MBED_VERSION && MBED_VERSION < 51200
|
||||||
#define TARGET_NAME STRING_NAME(TARGET)
|
#define TARGET_NAME STRING_NAME(TARGET)
|
||||||
|
#endif
|
||||||
|
|
||||||
// Define which revisions of the IP we are using
|
// Define which revisions of the IP we are using
|
||||||
#ifndef TARGET_REV
|
#ifndef TARGET_REV
|
||||||
|
|
|
@ -43,7 +43,9 @@
|
||||||
// Create a string definition for the TARGET
|
// Create a string definition for the TARGET
|
||||||
#define STRING_ARG(arg) #arg
|
#define STRING_ARG(arg) #arg
|
||||||
#define STRING_NAME(name) STRING_ARG(name)
|
#define STRING_NAME(name) STRING_ARG(name)
|
||||||
|
#if MBED_VERSION && MBED_VERSION < 51200
|
||||||
#define TARGET_NAME STRING_NAME(TARGET)
|
#define TARGET_NAME STRING_NAME(TARGET)
|
||||||
|
#endif
|
||||||
|
|
||||||
// Define which revisions of the IP we are using
|
// Define which revisions of the IP we are using
|
||||||
#ifndef TARGET_REV
|
#ifndef TARGET_REV
|
||||||
|
|
|
@ -46,7 +46,9 @@
|
||||||
// Create a string definition for the TARGET
|
// Create a string definition for the TARGET
|
||||||
#define STRING_ARG(arg) #arg
|
#define STRING_ARG(arg) #arg
|
||||||
#define STRING_NAME(name) STRING_ARG(name)
|
#define STRING_NAME(name) STRING_ARG(name)
|
||||||
|
#if MBED_VERSION && MBED_VERSION < 51200
|
||||||
#define TARGET_NAME STRING_NAME(TARGET)
|
#define TARGET_NAME STRING_NAME(TARGET)
|
||||||
|
#endif
|
||||||
|
|
||||||
// Define which revisions of the IP we are using
|
// Define which revisions of the IP we are using
|
||||||
#ifndef TARGET_REV
|
#ifndef TARGET_REV
|
||||||
|
|
|
@ -4568,6 +4568,9 @@
|
||||||
"IAR",
|
"IAR",
|
||||||
"ARM"
|
"ARM"
|
||||||
],
|
],
|
||||||
|
"features_add": [
|
||||||
|
"STORAGE"
|
||||||
|
],
|
||||||
"device_has": [
|
"device_has": [
|
||||||
"ANALOGIN",
|
"ANALOGIN",
|
||||||
"I2C",
|
"I2C",
|
||||||
|
@ -4577,6 +4580,7 @@
|
||||||
"PORTINOUT",
|
"PORTINOUT",
|
||||||
"PORTOUT",
|
"PORTOUT",
|
||||||
"PWMOUT",
|
"PWMOUT",
|
||||||
|
"SD",
|
||||||
"SERIAL",
|
"SERIAL",
|
||||||
"SERIAL_FC",
|
"SERIAL_FC",
|
||||||
"SPI",
|
"SPI",
|
||||||
|
|
Loading…
Reference in New Issue