refactor: FLASH size optimisations for B&W (#4827)
This commit is contained in:
@@ -86,6 +86,12 @@
|
||||
#define PACK(__Declaration__) __pragma( pack(push, 1) ) __Declaration__ __pragma( pack(pop) )
|
||||
#endif
|
||||
|
||||
#if defined(SIMU)
|
||||
#define PACK_NOT_SIMU(__Declaration__) __Declaration__
|
||||
#else
|
||||
#define PACK_NOT_SIMU(__Declaration__) PACK(__Declaration__)
|
||||
#endif
|
||||
|
||||
#if defined(SIMU)
|
||||
#define CONVERT_PTR_UINT(x) ((uint32_t)(uint64_t)(x))
|
||||
#define CONVERT_UINT_PTR(x) ((uint32_t*)(uint64_t)(x))
|
||||
|
||||
Reference in New Issue
Block a user