Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

update to get threads working #43

Merged
merged 1 commit into from
Jan 29, 2025
Merged

Conversation

mjs513
Copy link

@mjs513 mjs513 commented Jan 23, 2025

@KurtE - @facchinm

Changes made to:
llext_exports.c
main.cpp in core arduino directory
linker_script.ld

Details of changes are shown in #37

Test sketches if you want to try:
thread_test_sketches.zip

EDIT: Just tried building for nano 33 sense ble and getting error

  /home/zephyr-sdk-0.16.8/arm-zephyr-eabi/bin/../lib/gcc/arm-zephyr-eabi/12.2.0/../../../../arm-zephyr-eabi/bin/ld.bfd: app/libapp.a(llext_exports.c.obj):(._llext_const_symbol.static.__llext_sym___cxa_pure_virtual_+0x4): undefined reference to `__cxa_pure_virtual'
collect2: error: ld returned 1 exit status
ninja: build stopped: subcommand failed.
FATAL ERROR: command exited with status 1: /usr/bin/cmake --build /home/my_new_zephyr_folder/ArduinoCore-zephyr/build

it is set up in exports.c as:

FORCE_EXPORT_SYM(__cxa_pure_virtual);

See #44 (comment). Forgot to update conf files for other boards.

@mjs513
Copy link
Author

mjs513 commented Jan 24, 2025

@facchinm - @KurtE

See you moved the cpp stuff to proj.conf - forgot that you can do it that way :)

@facchinm facchinm force-pushed the Thread-Support branch 2 times, most recently from e526e32 to c90e1b7 Compare January 29, 2025 09:43
@facchinm facchinm merged commit 32ddb34 into arduino:arduino Jan 29, 2025
4 checks passed
@mjs513 mjs513 deleted the Thread-Support branch January 30, 2025 20:52
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants