mirror of
https://github.com/cesanta/mongoose.git
synced 2026-10-14 10:20:01 +00:00
Merge pull request #3326 from cesanta/ethram
Be less intrusive with non-ld-savvy users
This commit is contained in:
2 files changed
+2
-10
No files matched your search
+1
-5
@@ -3206,12 +3206,8 @@ struct mg_tcpip_spi {
|
||||
#endif // 64BYTE_ALIGNED
|
||||
|
||||
#ifndef MG_ETH_RAM
|
||||
#if defined(__GNUC__)
|
||||
#define MG_ETH_RAM __attribute__((section(".eth_ram")))
|
||||
#else
|
||||
#define MG_ETH_RAM
|
||||
#endif // compiler
|
||||
#endif // ETH_RAM
|
||||
#endif
|
||||
|
||||
#endif
|
||||
|
||||
|
||||
+1
-5
@@ -142,11 +142,7 @@ struct mg_tcpip_spi {
|
||||
#endif // 64BYTE_ALIGNED
|
||||
|
||||
#ifndef MG_ETH_RAM
|
||||
#if defined(__GNUC__)
|
||||
#define MG_ETH_RAM __attribute__((section(".eth_ram")))
|
||||
#else
|
||||
#define MG_ETH_RAM
|
||||
#endif // compiler
|
||||
#endif // ETH_RAM
|
||||
#endif
|
||||
|
||||
#endif
|
||||
Reference in new issue
Block a user