thecore-embedded / example_hm10_bluetooth Goto Github PK
View Code? Open in Web Editor NEWHM-10 BTLE example for theCore C++ framework
Home Page: https://forgge.github.io/theCore/examples/bluetooth-hm10.html
License: Mozilla Public License 2.0
HM-10 BTLE example for theCore C++ framework
Home Page: https://forgge.github.io/theCore/examples/bluetooth-hm10.html
License: Mozilla Public License 2.0
When I try to run tcore compile --target stm32f4_disc
it gives me this error:
In file included from /home/antonio/Documents/TESI/example_hm10_bluetooth/build/stm32f4_disc/core/generated/export/aux/uart_cfg.hpp:20,
from /home/antonio/.theCore/theCore/platform/stm32/export/platform/console.hpp:21,
from /home/antonio/.theCore/theCore/platform/common/export/common/console.hpp:11,
from /home/antonio/.theCore/theCore/lib/debug/assert.cpp:7:
/home/antonio/.theCore/theCore/platform/stm32/export/aux/usart_bus.hpp:93:52: error: static assertion failed: The instance of this generic class should never be instantiated. Please write your own template specialization of this class. See documentation.
93 | static_assert(std::is_integral<decltype(dev)>::value,
| ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~
make[2]: *** [core/lib/debug/CMakeFiles/dbg.dir/build.make:80: core/lib/debug/CMakeFiles/dbg.dir/assert.cpp.obj] Error 1
make[1]: *** [CMakeFiles/Makefile2:1168: core/lib/debug/CMakeFiles/dbg.dir/all] Error 2
make: *** [Makefile:101: all] Error 2
2020-05-10 19:48:33 [ERROR ] failed to run command: . /home/antonio/.nix-profile/etc/profile.d/nix.sh && nix-shell --run "make -j1" /home/antonio/.theCore/theCore/
I had also to modify a nix script and substitute gcc-arm-embedded-5 with gcc-arm-embedded-9, because it gave an error regarding buildInputs and undefined variable. I don't think that this is the source of the problem.
Currently the description says
HM-10 BTLE example for theCore embedded C++ framework , but the standard specifies only BLE abbreviation, so it can be confusing.
A declarative, efficient, and flexible JavaScript library for building user interfaces.
๐ Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. ๐๐๐
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google โค๏ธ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.