mirror of
https://github.com/cesanta/mongoose.git
synced 2026-10-18 10:59:45 +00:00
Add teensy41 example
This commit is contained in:
1 parent
a619de0508
commit
b815e6bc04
20 files changed
+671
-462
No files matched your search
+12
@@ -47,6 +47,18 @@ uint64_t mg_now(void); // Return milliseconds since Epoch
|
||||
#define MG_ARM_ENABLE_IRQ()
|
||||
#endif
|
||||
|
||||
#if defined(__CC_ARM)
|
||||
#define MG_DSB() __dsb(0xf)
|
||||
#elif defined(__ARMCC_VERSION)
|
||||
#define MG_DSB() __builtin_arm_dsb(0xf)
|
||||
#elif defined(__GNUC__) && defined(__arm__) && defined(__thumb__)
|
||||
#define MG_DSB() asm("DSB 0xf")
|
||||
#elif defined(__ICCARM__)
|
||||
#define MG_DSB() __iar_builtin_DSB()
|
||||
#else
|
||||
#define MG_DSB()
|
||||
#endif
|
||||
|
||||
struct mg_addr;
|
||||
int mg_check_ip_acl(struct mg_str acl, struct mg_addr *remote_ip);
|
||||
|
||||
|
||||
Reference in new issue
Block a user