No source available for "main() "

New to XMOS and XCore? Get started here.
afaf
Member++
Posts: 16
Joined: Mon Apr 09, 2018 10:46 am

No source available for "main() "

Postby afaf » Tue Apr 10, 2018 9:56 am

Image

No source available for "main() "
how to do ??

I want to Step into by "Source Code"
not Disassembly

pls help~~ thanks~~
User avatar
mon2
XCore Legend
Posts: 1278
Joined: Thu Jun 10, 2010 11:43 am
Contact:

Postby mon2 » Tue Apr 10, 2018 11:16 am

Two things,

1) for this project select the DEBUG build

2) remove any code optimization by the compiler from the makefile (ie. Use -O0)
afaf
Member++
Posts: 16
Joined: Mon Apr 09, 2018 10:46 am

Postby afaf » Wed Apr 11, 2018 4:08 am

Thanks, It's work.

at Makefile

Before:
XCC_FLAGS = -O2 -g

After:
XCC_FLAGS = -Wall -g

Who is online

Users browsing this forum: No registered users and 29 guests