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

problem in building blinky example #2

Open
mvalian opened this issue Aug 25, 2019 · 2 comments
Open

problem in building blinky example #2

mvalian opened this issue Aug 25, 2019 · 2 comments

Comments

@mvalian
Copy link

mvalian commented Aug 25, 2019

Hi, before the issue I wanted to thank for this useful code. I got error when building blinky example for STM32F407VG Discovery board with Matlab 2018b. can you please help me with that?
here is the error message:

"Compiling: ../blinky.c"
In file included from ../../mbed-os/rtos/rtos.h:29:0,
                 from ../../mbed-os/mbed.h:37,
                 from ../blinky.h:24,
                 from ../blinky.c:16:
../../mbed-os/rtos/Kernel.h:27:1: error: unknown type name 'namespace'
 namespace rtos {
 ^~~~~~~~~
../../mbed-os/rtos/Kernel.h:27:16: error: expected '=', ',', ';', 'asm' or '__attribute__' before '{' token
 namespace rtos {
                ^
In file included from ../../mbed-os/rtos/Thread.h:29:0,
                 from ../../mbed-os/rtos/rtos.h:30,
                 from ../../mbed-os/mbed.h:37,
                 from ../blinky.h:24,
                 from ../blinky.c:16:
../../mbed-os/platform/Callback.h:21:15: fatal error: new: No such file or directory
 #include <new>
               ^
compilation terminated.
Makefile:365: recipe for target 'blinky.o' failed
@ohagendorf
Copy link
Contributor

Hi @mvalian

I'll check this after my summer holiday.
Your Discovery board was our standard board, several years ago. But for a longer time, it's not used any longer.
I can't say something about the actual Mbed support of it. It was never officially supported. And you error message locks like a Mbed problem.

Regards,
Olaf

@mvalian
Copy link
Author

mvalian commented Sep 1, 2019

Thank you so much.
Can you give us a guide on how you developed this support package?
I wanted to develop a support package for my custom lpc1768 board. I deeply read your code but it was hard to understand!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants