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.
10 years, 1 month ago.
Problem when export to GCC ARM Embedded.
Hi all !
I'm working on u-blox C027-U20 board. I'm compile C027_SupportTest on online compiler and copy to board run OK. But, I'm export to gcc-arm-embedded offline compiler: first, I get error in file mdm.h :
" ./C027_Support/MDM.h:534:66: error: conflicting declaration 'char* buf' static int _cbCUSD(int type, const char* buf, int len, char* buf); ^ ./C027_Support/MDM.h:534:46: error: 'buf' has a previous declaration as 'const char* buf' static int _cbCUSD(int type, const char* buf, int len, char* buf); ^ make: * [main.o] Error 1 "
after, I edit "static int _cbCUSD(int type, const char* buf, int len, char* buf);" to " static int _cbCUSD(int type, const char* buf, int len, char* resp);" compile done with very much warning. Copy to board, nothing run.
Tell me why ???
Question relating to:
1 Answer
10 years, 1 month ago.
I have exactly the same behaviour!
I dont know why compiler online run? But, I export and build, nothing.
GPS on board need init. Export of mbed have a something wrong.
posted by 19 Nov 2014
i have the same problem. i have no idea.
posted by jajn HA 04 Sep 2016