Skip to content

Commit

Permalink
llext_exports: properly export kernel objects
Browse files Browse the repository at this point in the history
  • Loading branch information
facchinm committed Dec 9, 2024
1 parent 7e1b850 commit 5eb1f50
Showing 1 changed file with 3 additions and 2 deletions.
5 changes: 3 additions & 2 deletions loader/llext_exports.c
Original file line number Diff line number Diff line change
Expand Up @@ -6,6 +6,7 @@
#include <stdio.h>
#include <stdlib.h>
#include <math.h>
#include <zephyr/kernel.h>

#define FORCE_EXPORT_SYM(name) \
extern void name(void); \
Expand Down Expand Up @@ -103,8 +104,8 @@ FORCE_EXPORT_SYM(inet_pton);
FORCE_EXPORT_SYM(cdc_acm_dte_rate_callback_set);
#endif

FORCE_EXPORT_SYM(k_timer_init);
FORCE_EXPORT_SYM(k_fatal_halt);
EXPORT_SYMBOL(k_timer_init);
EXPORT_SYMBOL(k_fatal_halt);
//FORCE_EXPORT_SYM(k_timer_user_data_set);
//FORCE_EXPORT_SYM(k_timer_start);

Expand Down

0 comments on commit 5eb1f50

Please sign in to comment.