No source available for "main() "

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

No source available for "main() "

Post by afaf »

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: 1913
Joined: Thu Jun 10, 2010 11:43 am
Contact:

Post by mon2 »

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

Post by afaf »

Thanks, It's work.

at Makefile

Before:
XCC_FLAGS = -O2 -g

After:
XCC_FLAGS = -Wall -g
Post Reply