libhal-google / libhal-soft

Library for generic soft drivers officially supported by libhal
Apache License 2.0
1 stars 6 forks source link

:green_heart: Fix test_package #35

Closed kammce closed 1 year ago

kammce commented 1 year ago

The previous test package got the following error:

/usr/bin/ld: /usr/bin/ld: DWARF error: can't find .debug_ranges section.
/home/runner/.conan2/p/libhabd44cf2dbef65/p/lib/liblibhal-soft.a(rc_servo.cpp.o): in function `std::string::_Rep::_M_dispose(std::allocator<char> const&)':
rc_servo.cpp:(.text._ZNSs4_Rep10_M_disposeERKSaIcE[_ZNSs4_Rep10_M_disposeERKSaIcE]+0x47): undefined reference to `__libc_single_threaded'

This change uses minimum_speed_i2c.hpp instead to mitigate the problem.