summaryrefslogtreecommitdiff
path: root/include/fe_global.h
blob: 78a269f6611f94bae0194371c2f302fa5e3ce4a3 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
#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__ */