Important changes to forums and questions
All forums and questions are now archived. To start a new conversation or read the latest updates go to forums.mbed.com.
7 years, 1 month ago.
struct flash_s redefined
i create a UART demo project in mbed online complier and export it.(keil5)
then i download a mbed source code from github.
i want to replace the .o file with .cpp file , but keil5 hint me the struct flash_s redefined.
i find file in files then i found [/mbed/TARGET_NUCLEO_F446RE/TARGET_STM/TARGET_STM32F4/common_objects.h] and [/mbed/hal/flash_data.h] both have defined flash_s.
so how can i resoved this problem?