[platformInfo] Add attribute weak to static storage declaration for simulators to fix windaube build (declaration is always weak for non-N0110 bootloader config)

This commit is contained in:
Yaya-Cout
2025-01-03 23:09:25 +01:00
parent f7cd1693c9
commit 7f560f8a5b

View File

@@ -22,7 +22,7 @@
#endif #endif
namespace Ion { namespace Ion {
extern char staticStorageArea[]; extern __attribute__((weak)) char staticStorageArea[];
} }
constexpr void * storageAddress = &(Ion::staticStorageArea); constexpr void * storageAddress = &(Ion::staticStorageArea);