From 5994b1e108bd7630817865a7d6a94ebd7a582c92 Mon Sep 17 00:00:00 2001 From: Przemyslaw Stekiel Date: Mon, 20 Jan 2020 09:49:48 +0100 Subject: [PATCH] MTB_UBLOX_ODIN_W2: Reenable lp-ticker and BLE Make an exception for this target and enable lp-ticker when LSE is not available. This exception is added because of with disabled lp-ticker (and BLE feature) we have the following linker error with ARM compiler: [Error] @0,0: L6218E: Undefined symbol hciCmdAlloc (referred from BUILD/tests/MTB_UBLOX_ODIN_W2/ARM/targets/TARGET_STM/TARGET_STM32F4/TARGET_STM32F439xI/TARGET_MODULE_UBLOX_ODIN_W2/sdk/TOOLCHAIN_ARM/libublox-odin-w2-driver.ar(hci_vendor_cmd.o)). [Error] @0,0: L6218E: Undefined symbol hciCmdSend (referred from BUILD/tests/MTB_UBLOX_ODIN_W2/ARM/targets/TARGET_STM/TARGET_STM32F4/TARGET_STM32F439xI/TARGET_MODULE_UBLOX_ODIN_W2/sdk/TOOLCHAIN_ARM/libublox-odin-w2-driver.ar(hci_vendor_cmd.o)). It looks like the folloiwng library must be updated: targets/TARGET_STM/TARGET_STM32F4/TARGET_STM32F439xI/TARGET_MODULE_UBLOX_ODIN_W2/sdk/TOOLCHAIN_ARM/libublox-odin-w2-driver.ar --- targets/targets.json | 2 -- 1 file changed, 2 deletions(-) diff --git a/targets/targets.json b/targets/targets.json index 71f2184581..ba99009a07 100644 --- a/targets/targets.json +++ b/targets/targets.json @@ -6975,8 +6975,6 @@ }, "MTB_UBLOX_ODIN_W2": { "inherits": ["MODULE_UBLOX_ODIN_W2"], - "device_has_remove": ["LPTICKER"], - "features_remove": ["BLE"], "overrides": {"lse_available": 0}, "release_versions": ["5"] },