Important changes to forums and questions
All forums and questions are now archived. To start a new conversation or read the latest updates go to forums.mbed.com.
9 years, 6 months ago.
Error: #error directive: "CMSIS Target not recognised" in "extras/mbed_63bcd7ba4912/cmsis.h"
Hi,
Apologies if I'm being useless! I'm having an issue with myBlueUSB - when I import the library to my project, and build it (ctrl + b), i get the error:
Error: #error directive: "CMSIS Target not recognised" in "extras/mbed_63bcd7ba4912/cmsis.h", Line: 16, Col: 2
All other posts (like this one http://developer.mbed.org/questions/3508/error-directive-CMSIS-Target-not-recogni/) tell me to update to the latest revision of the code, which I have done. I can't find extras/mbed_63bcd7ba4912/cmsis.h, so can't look what the issue is.
I'm wildly guessing that it's something to do with not recognising/being compatible with my device (Seeed Arch BLE (I had to import the library nRF51822)), but I'm new to this and don't really understand.
I'd appreciate any help!
Many thanks, Alex
Question relating to:
1 Answer
9 years, 6 months ago.
You need to update the mbed library. However that is an USB stack which runs on the target microcontroller, and I don't think the NRF has a USB peripheral. The USB port your board has is being run by an interface IC which you cannot program (well except for firmware updates).
Thank you. You're right, though - I hadn't realised that myBlueUSB was for USB peripherals (despite it being in the name!). I'm looking for a library that implements similar functionality (rfcomm/l2cap data transfer etc), but for my NRF board (so with built-in bluetooth, as opposed to an external USB dongle). Would you be able to suggest an alternative, aside from writing my own?
posted by 30 Nov 2014BLE is not the same as bluetooth, so I don't know what it can do exactly. But here is BLE stuff: http://developer.mbed.org/teams/Bluetooth-Low-Energy/
posted by 01 Dec 2014