Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Fix Mynewt build for Microchip PIC32MZ devices. #1263

Merged
merged 1 commit into from
Dec 30, 2021

Commits on Dec 27, 2021

  1. Fix Mynewt build for Microchip PIC32MZ devices.

    definition of DEBUG breaks Microchip pic32 builds for Mynewt.
    When MCU is not VALENTYUSB_EPTRI there is no need to have any
    preprocessor definitions.
    It may not look like a big deal but for xc32 builds, compiler
    automatically force-includes some file that have structure with field name
    DEBUG that result in build error in dcd_eptri.c when this file
    is not really needed.
    
    Moving DEBUG and LOG_USB few lines down should not break eptri builds.
    kasjer committed Dec 27, 2021
    Configuration menu
    Copy the full SHA
    7a596b9 View commit details
    Browse the repository at this point in the history