



Problem enabling Kernel instrumentation in eCos configuration
by meitoku on May 6, 2014 |
meitoku
Posts: 26 Joined: Nov 21, 2013 Last seen: Oct 18, 2015 |
||
Hello everyone, recently I have to configure eCos for OpenRISC. I followed the guide in http://opencores.org/or1k/ECos. Some programs such as the example instrument-test.c need to be built with an eCos config with two configurations: "Kernel instrumentation" (macro: CYGPKG_KERNEL_INSTRUMENT) and "Use buffer provided by the application" (macro: CYGVAR_KERNEL_INSTRUMENT_EXTERNAL_BUFFER), enabled as below (they are disabled in default setting). ![]() http://i.imgur.com/pWmCg0d.png However, if I enable kernel instrumentation, when I run make, I get an error:
/home/duc/or/ecos/packages/hal/openrisc/arch/current/src/vectors.S: Assembler messages:
When I open file vectors.S in packages/hal/openrisc/arch/current/src, I saw:
582 #if defined(CYGPKG_KERNEL_INSTRUMENT) && defined(CYGDBG_KERNEL_INSTRUMENT_IN TR)
How can I solve this problem? |



