Merge pull request #3326 from cesanta/ethram

Be less intrusive with non-ld-savvy users
This commit is contained in:
Sergio R. Caprile authored and GitHub committed 2025-10-28 11:06:55 -03:00
commit 49470f9bd2
2 files changed
+2 -10

No files matched your search

+1 -5
View File
@@ -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
View File
@@ -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