Actual SDK 1.0.14
I want to use SmartSnippets and you SDK with a C++ project.
I have seen in your SDK header files, that there is no C++ Support (could be added by some simple preprocessor defines)
Do you plan to support C++ in your SDK or do you already have a solution for this?
Best regards
Dieter
org.eclipse.cdt.core.ccnature到.Project文件,使之成为C++项目。
然后我修改C++链接器设置以匹配以前的C链接(如链接蓝牙库),并将Me.c文件改名为main.cpp.
完成后,它的编译和运行都很好。当我使用标准C++类的特性时,会出现问题。即使实例化空类也会使调试器在启动时停止,就好像固件正在崩溃一样。我尝试了一些方法来解决这个问题,比如重写新的操作符,使用OS的OLC++函数或者加倍ROM大小,但是都没有工作。我的编译器标志(使用Eclipse构建设置设置)是:
-mthumb-mthumb interwork-Og-g3-fmessage length=0-fsigned char-ffunction sections-fdata sections-ffrehending-fno move loop invariants-std=gnu++14-fno rtti-fno use cxa atexit-fno threadsafe statics-fno enforce eh specs-fexceptions-Xlinker-gc sections-Xlinker cref规范=nano.specs --规格=nosys.specs -v
我的Dialog SDK版本是1.0.14.1081有什么提示吗?
提前感谢
This document describes the libraries used in the Production Line Tool software application for Windows.
Supported devices: DA14580/581/582/583/585/586; and DA14680/681/682/683
These DLL libraries give the necessary APIs for validating and programming these devices in the factory production line.
Hi there,
we'd like to mix the sample code with our business logic, that is written in c++.
Any advice how to achieve that ?
We are a bit worried about the events not being delivered properly if we simply add c++.
[update]
if we are going to compile in C++ Code, that will be called by any bluetooth related method, will this work without any problem?
Method calls etc. are IMHO handled differently in C++
[/update]
thank you
Fabian