Part Number: PROCESSOR-SDK-AM437X
Other Parts Discussed in Thread: AM4378
Tool/software: Code Composer Studio
Components:
processor_sdk_rtos_am437x_3_03_00_04
PRU-ICSS-HSR-PRP-DAN_01.00.02.00
xdctools_3_32_01_22
CCS 7.2.0.00013
Hi,
I'm working on port for custom board based on AM4378.
I successfully made project with modification of projectCreate.bat and add .txt file based on IDKam437x (in projects\ccsproject_args\AM437x).
I try to debug board source and realize that pdk is compiled in "release" conf.
I recompile pdk with changed "BUILD_PROFILE ?=debug" (in pdk_am437x_1_0_6\packages\ti\build\Rules.make)
No changes... so I also "hack" rules_a9.mk ( in pdk_am437x_1_0_6\packages\ti\build\makerules) with code:
ifeq ($(BUILD_PROFILE_$(CORE)), release) CFLAGS_INTERNAL += -O0 -D_DEBUG_=1 LNKFLAGS_INTERNAL_BUILD_PROFILE = -O0 endif
I try to compile app in debug mode.... no effort....still release lib included...
I check properties...
If I understand correctly this show release configuration for lib import, right?
Then I manually change flag with "Edit Flags..." button to "debug ( ti.platforms.evmAM437X -r debug "
I try to build app but it seems xdc still wants to include release libs.
What I'm doing wrong? I also see report.. something like "Java.NULL" error reports when I try to switch from release mode to debug for build....
Regards, Mare