Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

EFM32 (sltb001a) is missing FEATURES_PROVIDED=cpp #9093

Closed
Mario0x1 opened this issue May 7, 2018 · 1 comment
Closed

EFM32 (sltb001a) is missing FEATURES_PROVIDED=cpp #9093

Mario0x1 opened this issue May 7, 2018 · 1 comment
Assignees
Labels
Type: bug The issue reports a bug / The PR fixes a bug (including spelling errors)

Comments

@Mario0x1
Copy link

Mario0x1 commented May 7, 2018

Description

FEATURES_PROVIDED=cpp is not set in cpu/efm32/Makefile.features despite being able to build and run examples/riot_and_cpp

Steps to reproduce the issue

cd examples/riot_and_cpp
make BOARD=sltb001a flash

Expected results

make BOARD=sltb001a

informs that

...
There are unsatisfied feature requirements: cpp

EXPECT ERRORS!

Building application "riot_and_cpp" for "sltb001a" with MCU "efm32".
...

It should fail if RIOT-gecko-sdk does not support cpp.

Actual results

example/riot_and_cpp can be build and flashed and returns

main(): This is RIOT! (Version: 2018.04-devel-1009-g4f4e-hoss-214)

************ RIOT and C++ demo program ***********

******** Hello, you're in thread #2 ********
We'll test C++ class and methods here!
Instanciating Object [constructor called]
Im starting!

-= Test overloading functions =-
Hello!
Hello![int: 42]
Hello![float: ]

-= Test namespace =-
typing std::vector is obsolete when 'using namespace std;'
The vector vInts has been filled with 3 numbers.

-= Test iterator =-
The content of vInts = { 1 3 2 }
Destroying Object [destructor called]
Im shutting down!
******** Hello, you're in thread #3 ********
We'll test some C functions here!

-= hello function =-
Hello world in a C function

-= day_of_week function =-
day 13, month 6, year 2014 is Friday

This demo ends here, press Ctrl-C to exit (if you're on native)!

Versions

SEGGER J-Link Commander V6.22a
Gecko_sdk: https://github.com/basilfx/RIOT-gecko-sdk d381e526d68a2d0c951f37040c1c2e168ac66cd6

@basilfx

@basilfx
Copy link
Member

basilfx commented May 7, 2018

I've created #9097 to address this bug.

@basilfx basilfx added the Type: bug The issue reports a bug / The PR fixes a bug (including spelling errors) label May 7, 2018
@basilfx basilfx self-assigned this May 7, 2018
@Mario0x1 Mario0x1 closed this as completed May 8, 2018
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Type: bug The issue reports a bug / The PR fixes a bug (including spelling errors)
Projects
None yet
Development

No branches or pull requests

2 participants