mirror of
https://github.com/polhenarejos/pico-hsm.git
synced 2026-02-07 19:18:23 +00:00
- 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>
7 lines
226 B
C
7 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)
|