Package Details: modustoolbox 3.4.0.17114-2

Git Clone URL: https://aur.archlinux.org/modustoolbox.git (read-only, click to copy)
Package Base: modustoolbox
Description: A set of multi-platform development tools and a comprehensive suite of GitHub-hosted firmware libraries. Together, they enable an immersive development experience for customers creating converged MCU and Wireless systems.
Upstream URL: https://softwaretools.infineon.com/tools/com.ifx.tb.tool.modustoolbox
Keywords: cypress infineon modustoolbox
Licenses: LicenseRef-modustoolbox
Conflicts: modustoolbox-no-gcc
Provides: modustoolbox
Submitter: Henri98
Maintainer: KafCoppelia
Last Packager: KafCoppelia
Votes: 2
Popularity: 0.94
First Submitted: 2019-02-04 19:23 (UTC)
Last Updated: 2024-12-30 02:29 (UTC)

Pinned Comments

KafCoppelia commented on 2024-12-29 16:53 (UTC)

This package needs to be installed manually instead of AUR helpers. Please read the build instructions in the PKGBUILD. You need an Infineon account to download the ModusToolbox Tools Package deb.

Latest Comments

KafCoppelia commented on 2024-12-30 12:28 (UTC) (edited on 2024-12-30 12:29 (UTC) by KafCoppelia)

For advanced users, if you don't need the GCC bundled with the package, please install this version modustoolbox-no-gcc. The package size will be reduced from ~2.2G to ~1.5G. At the same time, in the Makefile in your project, set TOOLCHAIN ​​to GCC_ARM & CY_COMPILER_GCC_ARM_DIR to the path to your GCC toolchain(or follow the instructions in the comments).

KafCoppelia commented on 2024-12-29 16:53 (UTC)

This package needs to be installed manually instead of AUR helpers. Please read the build instructions in the PKGBUILD. You need an Infineon account to download the ModusToolbox Tools Package deb.

lesmalave commented on 2020-11-15 05:16 (UTC)

Please Help me...!!!

ModusToolbox is not installed in the default location and the CY_TOOLS_PATHS variable is not set.

Brunste commented on 2019-11-25 23:05 (UTC) (edited on 2019-12-06 21:48 (UTC) by Brunste)

I've created a modified version of this package to be up to date with the newest 2.0.0 release.

pkgname=modustoolbox-bin
pkgver=2.0.0
pkgrel=235
pkgdesc="Set of multi-platform development tools by Cypress. IDE for PSoC 6"
arch=('x86_64')
license=(custom)
depends=('make' 'coreutils' 'perl' 'diffutils')
url="<https://www.cypress.com/products/modustoolbox-software-environment>"
options=('!strip')

source=(<http://dlm.cypress.com.edgesuite.net/akdlm/downloadmanager/WICED_MODUS/P-ModusToolbox_2.0.0.1703-linux-install.tar.gz>)
sha256sums=('8726d73c5f7bf7cb29d4d245b30ad2954922f4e40a12fdaedd5be83658b691f8')

package() {
    cd "${srcdir}"

    install -d -m755 "${pkgdir}/opt/${pkgname}"

    cp -r "${srcdir}/ModusToolbox/" "${pkgdir}/opt/"

    # Create environment variable
    echo "export CY_TOOLS_PATHS=/opt/ModusToolbox/tools_2.0/" >> ${srcdir}/modustoolbox
    install -Dm644 "${srcdir}/modustoolbox" "${pkgdir}/etc/profile.d/modustoolbox"

    # Installing udev rules
    install -Dm644 "${srcdir}/ModusToolbox/tools_2.0/fw-loader/udev_rules/57-cypress_programmer.rules" "${pkgdir}/etc/udev/rules.d/57-cypress_programmer.rules"
    install -Dm644 "${srcdir}/ModusToolbox/tools_2.0/openocd/udev_rules/60-openocd.rules" "${pkgdir}/etc/udev/rules.d/60-opencd.rules"
    install -Dm644 "${srcdir}/ModusToolbox/tools_2.0/openocd/udev_rules/66-wiced-JTAG.rules" "${pkgdir}/etc/udev/rules.d/66-wiced-JTAG.rules"
    install -Dm644 "${srcdir}/ModusToolbox/tools_2.0/driver_media/67-wiced-JTAG.rules" "${pkgdir}/etc/udev/rules.d/67-wiced-JTAG.rules"
    install -Dm644 "${srcdir}/ModusToolbox/tools_2.0/driver_media/cypress_ftdi.sh" "${pkgdir}/opt/cypress/cypress_ftdi.sh"
    install -Dm644 "${srcdir}/ModusToolbox/tools_2.0/driver_media/cypress_cdc_acm.sh" "${pkgdir}/opt/cypress/cypress_cdc_acm.sh"

    # Install license
    install -Dm644 "${srcdir}/ModusToolbox/CYPRESS END USER LICENSE AGREEMENT.txt" "${pkgdir}/usr/share/licenses/${pkgname}/LICENSE"

    # symbolic link to tools
    ln -sf /usr/bin/cat    ${pkgdir}/opt/ModusToolbox/tools_2.0/modus-shell/bin/cat
    ln -sf /usr/bin/cp     ${pkgdir}/opt/ModusToolbox/tools_2.0/modus-shell/bin/cp
    ln -sf /usr/bin/make   ${pkgdir}/opt/ModusToolbox/tools_2.0/modus-shell/bin/make
    ln -sf /usr/bin/mkdir  ${pkgdir}/opt/ModusToolbox/tools_2.0/modus-shell/bin/mkdir
    ln -sf /usr/bin/mktemp ${pkgdir}/opt/ModusToolbox/tools_2.0/modus-shell/bin/mktemp
    ln -sf /usr/bin/mv     ${pkgdir}/opt/ModusToolbox/tools_2.0/modus-shell/bin/mv
    ln -sf /usr/bin/perl   ${pkgdir}/opt/ModusToolbox/tools_2.0/modus-shell/bin/perl
    ln -sf /usr/bin/rm     ${pkgdir}/opt/ModusToolbox/tools_2.0/modus-shell/bin/rm
    ln -sf /usr/bin/rmdir  ${pkgdir}/opt/ModusToolbox/tools_2.0/modus-shell/bin/rmdir
    ln -sf /usr/bin/sh     ${pkgdir}/opt/ModusToolbox/tools_2.0/modus-shell/bin/sh
    ln -sf /usr/bin/bash   ${pkgdir}/opt/ModusToolbox/tools_2.0/modus-shell/bin/bash

    # Installing desktop shortcuts
    install -d -m755 "${pkgdir}/usr/share/applications"
cat <<EOF > "${pkgdir}/usr/share/applications/ModusToolbox-x86_64-${pkgver}.desktop"
[Desktop Entry]
Name=ModusToolbox
Version=${pkgver}
Comment=${pkgdesc}
GenericName=ModusToolbox
Exec=/opt/ModusToolbox/ide_2.0/eclipse/ModusToolbox
Icon=/opt/ModusToolbox/ide_2.0/eclipse/icon.xpm
Path=/opt/ModusToolbox/ide_2.0/eclipse/
Terminal=false
StartupNotify=true
Type=Application
Categories=Development
EOF
}