diff options
author | takeshi_hoshina <takeshi_hoshina@mail.toyota.co.jp> | 2020-10-22 14:58:56 +0900 |
---|---|---|
committer | takeshi_hoshina <takeshi_hoshina@mail.toyota.co.jp> | 2020-10-22 14:58:56 +0900 |
commit | 4204309872da5cb401cbb2729d9e2d4869a87f42 (patch) | |
tree | c7415e8600205e40ff7e91e8e5f4c411f30329f2 /bsp/meta-ti/recipes-bsp/pru/pru-pwm-fw_git.bb | |
parent | 5b80bfd7bffd4c20d80b7c70a7130529e9a755dd (diff) |
agl-basesystem 0.1sandbox/ToshikazuOhiwa/master
Diffstat (limited to 'bsp/meta-ti/recipes-bsp/pru/pru-pwm-fw_git.bb')
-rw-r--r-- | bsp/meta-ti/recipes-bsp/pru/pru-pwm-fw_git.bb | 39 |
1 files changed, 39 insertions, 0 deletions
diff --git a/bsp/meta-ti/recipes-bsp/pru/pru-pwm-fw_git.bb b/bsp/meta-ti/recipes-bsp/pru/pru-pwm-fw_git.bb new file mode 100644 index 00000000..a8c71034 --- /dev/null +++ b/bsp/meta-ti/recipes-bsp/pru/pru-pwm-fw_git.bb @@ -0,0 +1,39 @@ +SUMMARY = "Programmable Real-time Unit PWM Firmware" +LICENSE = "BSD-3-Clause" + +LIC_FILES_CHKSUM = "file://main.c;beginline=1;endline=32;md5=893d6a0cf1644338ea96642c0db97f59" + +require recipes-ti/includes/ti-paths.inc + +COMPATIBLE_MACHINE = "am65xx" +PACKAGE_ARCH = "${MACHINE_ARCH}" + + + +inherit ti-pdk-fetch + +TI_PDK_COMP = "ti.drv.pruss.example.apps.icssg_pwm.firmware.src" + +PE = "1" + +DEPENDS = "ti-cgt-pru-native pru-icss common-csl-ip-rtos" + + +EXTRA_OEMAKE += " \ + PRU_CGT="${TI_CGT_PRU_INSTALL_DIR}" \ + PRU_SSP="${STAGING_DIR_TARGET}/usr" \ + PDK_INSTALL_DIR="${STAGING_DATADIR}/ti/ti-pdk-tree/packages" \ +" + +do_compile() { + oe_runmake +} + +do_install() { + install -d ${D}/lib/firmware/ti-pruss + install -m 0644 ${S}/gen/pwm.out ${D}/lib/firmware/ti-pruss/am65x-pru0-pwm-fw.elf +} + +FILES_${PN} = "/lib/firmware" + +INSANE_SKIP_${PN} = "arch" |