fenris/include/fe_global.h
2020-10-12 20:15:41 +02:00

19 lines
376 B
C

#ifndef __FE_GLOBAL_H__
#define __FE_GLOBAL_H__
#include <stdint.h>
#include <stdbool.h>
#include <assert.h>
#include <sys/types.h>
#include <stm32f302x8.h>
#define UNUSED(x) ((void) x)
#define ARRAY_LENGTH(x) (sizeof(x) / sizeof(x[0]))
#define unused_a __attribute__((unused))
extern uint64_t sys_time_millis;
void __libc_init_array(void);
#endif /* __FE_GLOBAL_H__ */