This thread has been locked.

If you have a related question, please click the "Ask a related question" button in the top right corner. The newly created question will be automatically linked to this question.

AM5708: Compiling source code for custom board

Part Number: AM5708


Hello experts

I have created the custom folder gardAM5708 and compiling it. The source is still taken from the IDK location src/idkAM571x/.. as shown below in compilation.

Can you please guide me how can i change the location i PDK..

/ti/ti-cgt-c6000_8.2.2/bin/cl6x -DMAKEFILE_BUILD -mv6600 --abi=eabi -q -mi10 -
 -pden -pds=238 -pds=880 -pds1110 --program_level_compile -g --endian=little -
.oe66 -ea.se66 --emit_warnings_as_errors -o3 --optimize_with_debug     -DSOC_A
71x -DgardAM5708=gardAM5708 -IC:/ti/ti-cgt-c6000_8.2.2/include -I. -Isrc -Isrc
dkAM571x -Isrc/idkAM571x/device -Isrc/idkAM571x/include -IC:/ti/pdk_am57xx_1_0
2/packages/ti/drv/i2c/soc/am571x -IC:/ti/pdk_am57xx_1_0_12/packages/ti/drv/uar
soc/am571x -IC:/ti/pdk_am57xx_1_0_12/packages/ti/drv/spi/soc/am571x -IC:/ti/pd
am57xx_1_0_12/packages -IC:/ti/edma3_lld_2_12_05_30C/packages -IC:/ti/pdk_am57
_1_0_12/packages/ti/csl -fr=C:/ti/pdk_am57xx_1_0_12/packages/ti/binary/ti/boar
board/obj/gardAM5708/c66/release -fs=C:/ti/pdk_am57xx_1_0_12/packages/ti/binar
ti/board/board/obj/gardAM5708/c66/release -fc src/idkAM571x/boardPadDelayDevic

Thanks,

ajit

  • Hi Ajit,

    Please make sure you follow the steps described in below user guide:

    software-dl.ti.com/.../index_board.html

    You should have:

    1. <PDK_INSTALL_PATH>/packages/ti/board/src/gardAM5708/

    2. <PDK_INSTALL_PATH>/packages/ti/board/src/gardAM5708/src_files_gardAM5708.mk

    3. <PDK_INSTALL_PATH>/packages/ti/board/board_cfg.h - add gardAM5708

    4. <PDK_INSTALL_PATH>/packages/ti/board/build/makefile.mk - add gardAM5708

    5. <PDK_INSTALL_PATH>/packages/ti/build/makerules/build_config.mk - add gardAM5708
    <PDK_INSTALL_PATH>/packages/ti/build/makerules/platform.mk - add gardAM5708 (optional)

    6. <PDK_INSTALL_PATH>/packages/ti/board/src/src_files_lld.mk - add gardAM5708

    7 . <PDK_INSTALL_PATH>/packages/ti/board/board_component.mk - add gardAM5708

    8. <PDK_INSTALL_PATH>/packages/ti/board/config.bld - add gardAM5708
    <PDK_INSTALL_PATH>/packages/ti/board/package.bld - add gardAM5708

    9. <PDK_INSTALL_PATH>/packages/Rules.make -add gardAM5708

    If that do not work, you can also try to add gardAM5708 in below file:

    <PDK_INSTALL_PATH>/packages/ti/build/makefile

    Regards,
    Pavel
  • Thank you Pavel,

    I was able to compile for gardAM5708

    Ajit