Add compiler_support.h
(#25274)
This commit is contained in:
parent
fa24b0fcce
commit
955809bd5a
36 changed files with 142 additions and 81 deletions
|
@ -17,6 +17,7 @@
|
|||
#include <string.h>
|
||||
#include <debug.h>
|
||||
|
||||
#include "compiler_support.h"
|
||||
#include "transactions.h"
|
||||
#include "transport.h"
|
||||
#include "transaction_id_define.h"
|
||||
|
@ -36,7 +37,7 @@
|
|||
# include "i2c_slave.h"
|
||||
|
||||
// Ensure the I2C buffer has enough space
|
||||
_Static_assert(sizeof(split_shared_memory_t) <= I2C_SLAVE_REG_COUNT, "split_shared_memory_t too large for I2C_SLAVE_REG_COUNT");
|
||||
STATIC_ASSERT(sizeof(split_shared_memory_t) <= I2C_SLAVE_REG_COUNT, "split_shared_memory_t too large for I2C_SLAVE_REG_COUNT");
|
||||
|
||||
split_shared_memory_t *const split_shmem = (split_shared_memory_t *)i2c_slave_reg;
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue