File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -58,13 +58,15 @@ typedef void (*_ek_export_init_fn_t)(void);
5858 const _ek_export_init_fn_t __init_##fn##prio __attribute__((used, section(".ek_export_fn." _EK_STR(prio)))) = \
5959 (fn)
6060
61- # define EK_EXPORT_HARDWARE (fn ) EK_EXPORT((fn), 0)
62- # define EK_EXPORT_COMPONENTS (fn ) EK_EXPORT((fn), 1)
63- # define EK_EXPORT_APP (fn ) EK_EXPORT((fn), 2)
64- # define EK_EXPORT_USER (fn ) EK_EXPORT((fn), 3)
61+ # define EK_EXPORT_EARLIEST (fn ) EK_EXPORT(fn, 0)
62+ # define EK_EXPORT_HARDWARE (fn ) EK_EXPORT(fn, 1)
63+ # define EK_EXPORT_COMPONENTS (fn ) EK_EXPORT(fn, 2)
64+ # define EK_EXPORT_APP (fn ) EK_EXPORT(fn, 3)
65+ # define EK_EXPORT_USER (fn ) EK_EXPORT(fn, 4)
6566
6667#else
6768
69+ # define EK_EXPORT_EARLIEST (fn )
6870# define EK_EXPORT (fn , prio )
6971# define EK_EXPORT_HARDWARE (fn )
7072# define EK_EXPORT_COMPONENTS (fn )
You can’t perform that action at this time.
0 commit comments