summaryrefslogtreecommitdiffstatshomepage
path: root/py/emitnthumb.c
blob: 2b68ca3a13f7157b412e41382599262bcfd13658 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
// thumb specific stuff

#include "py/mpconfig.h"

#if MICROPY_EMIT_THUMB

// this is defined so that the assembler exports generic assembler API macros
#define GENERIC_ASM_API (1)
#include "py/asmthumb.h"

#define N_THUMB (1)
#define EXPORT_FUN(name) emit_native_thumb_##name
#include "py/emitnative.c"

#endif