mirror of
https://github.com/cesanta/mongoose.git
synced 2026-10-23 11:44:53 +00:00
Add MG_ARCH_ARMCC
This commit is contained in:
1 parent
21dbfd79d8
commit
245dc76503
3 files changed
+44
-8
No files matched your search
+7
-2
@@ -9,9 +9,10 @@
|
||||
#define MG_ARCH_AZURERTOS 6 // MS Azure RTOS
|
||||
#define MG_ARCH_ZEPHYR 7 // Zephyr RTOS
|
||||
#define MG_ARCH_NEWLIB 8 // Bare metal ARM
|
||||
#define MG_ARCH_RTX 9 // Keil MDK RTX
|
||||
#define MG_ARCH_RTX 9 // Keil RTX
|
||||
#define MG_ARCH_TIRTOS 10 // Texas Semi TI-RTOS
|
||||
#define MG_ARCH_RP2040 11 // Raspberry Pi RP2040
|
||||
#define MG_ARCH_ARMCC 12 // Keil MDK with Configuration Wizard
|
||||
|
||||
#if !defined(MG_ARCH)
|
||||
#if defined(__unix__) || defined(__APPLE__)
|
||||
@@ -31,10 +32,14 @@
|
||||
#define MG_ARCH MG_ARCH_AZURERTOS
|
||||
#elif defined(PICO_TARGET_NAME)
|
||||
#define MG_ARCH MG_ARCH_RP2040
|
||||
#elif defined(__ARMCC_VERSION)
|
||||
#define MG_ARCH MG_ARCH_ARMCC
|
||||
#endif
|
||||
#endif // !defined(MG_ARCH)
|
||||
|
||||
#if !defined(MG_ARCH) || (MG_ARCH == MG_ARCH_CUSTOM)
|
||||
// if the user did not specify an MG_ARCH, or specified a custom one, OR
|
||||
// we guessed a known IDE, pull the customized config (Configuration Wizard)
|
||||
#if !defined(MG_ARCH) || (MG_ARCH == MG_ARCH_CUSTOM) || MG_ARCH == MG_ARCH_ARMCC
|
||||
#include "mongoose_custom.h" // keep this include
|
||||
#endif
|
||||
|
||||
|
||||
Reference in new issue
Block a user