Menu

#135 broken cppdemo repaired

open
nobody
5
2013-02-23
2013-02-23
wsc
No

cppdemo is tagged as broken in app/Makefile. I changed the extension .cc in /app/cppdemo/Makefile to .c. After this change, cppdemo make is working even without changing the extension of the file cppdemo.cc itself. Make is somehow recognizing cppdemo.cc and compiles it as C++ source. I tested this with make 3.8.1 on Ubuntu-12.04. In addition, I had to change DEV_UART0 to DEV_UART and DEV_UART_NAME0 to DEV_UART_NAME in cppdemo.cc.. Then I was able to run cppdomo on my stm3210e eval board.
I attached the changed Makefile and cppdemo.cc in a tgz

Discussion

  • wsc

    wsc - 2013-02-23
     
  • wsc

    wsc - 2013-02-23

    dac1e: I just tested my changes successfully under Win7 64 with make.exe of yagarto-tools-20121018 and with the yagarto-20121222 toolchain.

     

Log in to post a comment.