Skip to content

Conversation

metcalf
Copy link

@metcalf metcalf commented Sep 16, 2021

Problem

/Users/andrew/code/supply_ventilation//src/DisplayTask.cpp:51: undefined reference to `os_thread_notify'
/Users/andrew/.particle/toolchains/gcc-arm/10.2.1/bin/../lib/gcc/arm-none-eabi/10.2.1/../../../../arm-none-eabi/bin/ld: ../../../build/target/user/platform-6-m/supply_ventilation//libuser.a(DisplayTask.o): in function `DisplayTask::_taskFun()':
/Users/andrew/code/supply_ventilation//src/DisplayTask.cpp:59: undefined reference to `os_thread_wait'
collect2: error: ld returned 1 exit status

Solution

Added missing DYNALIB_FN entries for os_thread_{wait,notify}

Steps to Test

I assume existing compilation/tests would break if I

Example App

N/A

References

Completeness

  • User is totes amazing for contributing!
  • Contributor has signed CLA (Info here)
  • Problem and Solution clearly stated
  • Run unit/integration/application tests on device
  • Added documentation
  • Added to CHANGELOG.md after merging (add links to docs and issues)

@metcalf
Copy link
Author

metcalf commented Sep 16, 2021

Hmm, maybe this isn't an API that's intended to be exposed directly given the existence of the Thread class? Should Thread support these methods?

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