Be less intrusive with non-ld-savvy users

This commit is contained in:
Sergio R. Caprile
2025-10-28 11:03:58 -03:00
parent 7e0d06689e
commit f7cf4f60ef
2 changed files with 2 additions and 10 deletions
+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