mirror of
https://github.com/polhenarejos/pico-hsm.git
synced 2024-09-20 03:10:09 +00:00
0af5685495
- ASM is disabled - Neug needs full rewrite - Flash is based on PiMoroni 4MB flash (needs adjust) Signed-off-by: Pol Henarejos <pol.henarejos@cttc.es>
8 lines
226 B
C
8 lines
226 B
C
#define CONCAT0(a,b) a##b
|
|
#define CONCAT1(a,b) CONCAT0(a,b)
|
|
#define CONCAT2(a,b,c) CONCAT1(a,b##c)
|
|
#define CONCAT3(a,b,c) CONCAT2(a,b,c)
|
|
|
|
#define FUNC(func) CONCAT1(func##_,FIELD)
|
|
#define MFNC(func) CONCAT3(mod,FIELD,_##func)
|