mbed-ce@master + fixes + gcc 11 support (#135)
* Fix rtos::Mutex stub, add trylock() method

* LowPowerTicker - Add ::attach(...) method + call callback

* mbed_power_management - rename sleep --> mbed_sleep to avoid conflicts

Fixes conflicts w/ unistd.h and boost::ut

* GCC 11/C++ 20 - Remove deprecated type_traits

* GCC 11/C++ 20 - Remove redundant templating of methods

* Warning - pragma ignore invalid-noreturn for unit tests

* Fix astyle errors

* Fix missing mbed_sleep() calls
ls
1 parent eda766e commit 3176fc7ca5df76fa3b6a22ef7ad799e771504daa
@Ladislas de Toldi Ladislas de Toldi authored on 21 Feb 2023
GitHub committed on 21 Feb 2023
Showing 12 changed files
View
cmsis/device/rtos/source/mbed_rtx_idle.cpp
View
connectivity/FEATURE_BLE/include/ble/gatt/GattCharacteristic.h
View
drivers/tests/UNITTESTS/doubles/drivers/LowPowerTicker.h
View
events/source/equeue_mbed.cpp
View
hal/tests/TESTS/mbed_hal/lp_ticker/main.cpp
View
hal/tests/TESTS/mbed_hal/rtc/main.cpp
View
hal/tests/TESTS/mbed_hal/sleep/main.cpp
View
platform/cxxsupport/mstd_type_traits
View
platform/include/platform/mbed_power_mgmt.h
View
platform/source/mbed_os_timer.cpp
View
platform/tests/UNITTESTS/doubles/mbed_assert_stub.cpp
View
rtos/tests/UNITTESTS/doubles/Mutex_stub.cpp