I am using std::vector library in my program and according this thread, it looks like we need to add Retarget.c needs to be added to the project. When I added that, I got an error as stated here -> http://www.keil.com/support/docs/3279.htm. When I added Serial.c file as well, those errors were fixed but then it said Device.h was missing. When I added that, it said add Serial.h.
Finally, when I added that, I got a bunch of errors in which one of them was: error: #40: expected an identifier inside Device.h file.
Device.h
#ifndef <Device>_H //ToDo: replace '<Device>' with your device name #define <Device>_H
I feel like if I fix this, other errors will be gone but for the Device name, I am using STM32F401RE. I tried typing that in but to no avail. Does anyone know of this issue?
regards