mbed

mbed CLI: make.py: error: Could not find executable for ARM

匿名 (未验证) 提交于 2019-12-03 01:25:01
可以将文章内容翻译成中文,广告屏蔽插件可能会导致该功能失效(如失效,请关闭广告屏蔽插件后再试): 问题: I'm trying to compile a program with the mbed CLI using the following command: mbed compile -m UBLOX_C027 -t ARM It results in the following error: make.py: error: Could not find executable for ARM. Currently set search path: No path set How can I set the executable? 回答1: Two ways, either: Set ARM_PATH in mbed_settings.py in the root folder of your project. Or make sure that ARMCC is in your path. Note that ARM compiler target is for the commercial ARM compiler . If you're using GCC ARM use the GCC_ARM target. 回答2: I know I am way too late

Adding Characteristic User Description to multiple custom C++ BLE GATT Service

眉间皱痕 提交于 2019-12-02 11:27:43
I am trying to add some Characteristic User Descriptions to my custom BLE GATT Service, using the mbed API . My work has so far been based on this code structure. However, I would like to add names to these characteristics. There isn't much info I could find on how to do this. However, below is the code which adds the information to a characteristic. The constructor for GattCharacteristic() takes an array of GattAttribtues as an optional argument. You can populate your User-Description into a GattAttribute and pass it along to the Characteristic. I have this structure working for one