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

Add port for Analog Devices MAX32 MCUs #2708

Merged
merged 31 commits into from
Aug 19, 2024
Merged

Commits on Jun 28, 2024

  1. Initial Commit for MAX32 Support

    Initial commit for the port of TUSB to MAX32xxx parts, staring with MAX32690
     - Added dcd_max32.c (based on dcd_musb.c) for interfacing with the peripheral
     - Added MAX32690 part family support
     - Added max32690evkit board support
     - Updated examples for unique EP number requirement
     - Updated get_deps.py to fetch the MSDK
    
    Known Issues / Additional Testing Required
     - msc_dual_lun only shown 1 volume on Windows
     - USBTMC does not have a valid Windowsdriver
     - DFU does not have a valid Windows driver
     - WebUSB is "Device not Recognized"
     - Need to test build scripts with IAR and Clang
    BrentK-ADI committed Jun 28, 2024
    Configuration menu
    Copy the full SHA
    0f28832 View commit details
    Browse the repository at this point in the history

Commits on Jul 1, 2024

  1. AD-APARD32690-SL Support and Cleanup

     - Added BSP for AD-APARD32690-SL board (apard32690)
     - Ran clang-formatting on previously committed code
     - Removed LOG messages from dcd_max32.c
    BrentK-ADI committed Jul 1, 2024
    Configuration menu
    Copy the full SHA
    0b82af6 View commit details
    Browse the repository at this point in the history
  2. Add MAX78002 Support

     -Added support for MAX78002, MAX78002EVKIT
     -Added provisions for remaining MAX32 USB parts
    BrentK-ADI committed Jul 1, 2024
    Configuration menu
    Copy the full SHA
    2353c4f View commit details
    Browse the repository at this point in the history

Commits on Jul 2, 2024

  1. Build System Updates

    Updated MAX32690 and MAX78002 linker and cmake scripts to work with CMake + Ninja build system.  Verified all example projects build with the tools/build.py script for both board, and both make and cmake build systems.
    BrentK-ADI committed Jul 2, 2024
    Configuration menu
    Copy the full SHA
    835a6ed View commit details
    Browse the repository at this point in the history
  2. MAX32666 Support

    Added support for the MAX32666, Boards MAX32666EvKit and MAX32666FTHR.
    BrentK-ADI committed Jul 2, 2024
    Configuration menu
    Copy the full SHA
    61beb63 View commit details
    Browse the repository at this point in the history
  3. MAX32650/1/2 Support

    Added support for the MAX32650/1/2 series parts
     - MAX32650FTHR, MAX32650EvKit, MAX32651EvKit
     - Added special flash rule for MAX32651 due to signing required
     - Added depencies to flash-msdk rules for executable
    BrentK-ADI committed Jul 2, 2024
    Configuration menu
    Copy the full SHA
    0c37f93 View commit details
    Browse the repository at this point in the history

Commits on Jul 10, 2024

  1. BSP Cleanup

     - Added MSDK flash rules for CMake
     - Removed partial IAR support. Uniform GCC support across MAX32 parts
     - Updated build scripts for correctly signing the MAX32651
     - Added README files for the BSPs to describe flashing and limitiations
    BrentK-ADI committed Jul 10, 2024
    Configuration menu
    Copy the full SHA
    f49725d View commit details
    Browse the repository at this point in the history
  2. Minor build system fix

    Correct a case-sensitive file extension issue in the MAX32690 build scripts.  Did not present itself as an issue under MinGW or MSYS, just Linux.
    BrentK-ADI committed Jul 10, 2024
    Configuration menu
    Copy the full SHA
    494533f View commit details
    Browse the repository at this point in the history

Commits on Jul 11, 2024

  1. Pre-commit fixes.

    Resolve codespell and EOF errors found in the pre-commit CI task.
    BrentK-ADI committed Jul 11, 2024
    Configuration menu
    Copy the full SHA
    13f5f20 View commit details
    Browse the repository at this point in the history

Commits on Jul 25, 2024

  1. Combined DCD MUSB implementations

    Combined the new MAX32 MUSB implementation with the existing (TI) implementation to provide generic code base for working the MUSB DCD peripheral.
     - Added abstraction calls for FIFO setup, EP registers, Ctrl registers and interrupt setup.
     - Combined TM4C and MSP432E into a single header file.
     - Created musb_max32.h, and removed the MAX32 specific C implementation.
     - Updated MAX32 build system to use dcd_musb.c.
     - Added MAX32 conditions for cdc_dual_ports example descriptors missed during first testing.
    BrentK-ADI committed Jul 25, 2024
    Configuration menu
    Copy the full SHA
    5122d6d View commit details
    Browse the repository at this point in the history

Commits on Aug 13, 2024

  1. Configuration menu
    Copy the full SHA
    761399b View commit details
    Browse the repository at this point in the history

Commits on Aug 14, 2024

  1. Configuration menu
    Copy the full SHA
    f6b96f7 View commit details
    Browse the repository at this point in the history
  2. Configuration menu
    Copy the full SHA
    0be427b View commit details
    Browse the repository at this point in the history

Commits on Aug 15, 2024

  1. Configuration menu
    Copy the full SHA
    1402e6e View commit details
    Browse the repository at this point in the history
  2. Configuration menu
    Copy the full SHA
    a9df933 View commit details
    Browse the repository at this point in the history
  3. Configuration menu
    Copy the full SHA
    e339702 View commit details
    Browse the repository at this point in the history
  4. update musb fifo usage

    hathach committed Aug 15, 2024
    Configuration menu
    Copy the full SHA
    7d8d364 View commit details
    Browse the repository at this point in the history
  5. use musb_ep_csr_t for indexed CSR, also use indexed csr for TI access…

    … as well. Merge ep0 and epn together
    hathach committed Aug 15, 2024
    Configuration menu
    Copy the full SHA
    6152adb View commit details
    Browse the repository at this point in the history
  6. remove analog PHY from musb_regs_t

    hil: remove ch32v203 since not reliable enough
    hathach committed Aug 15, 2024
    Configuration menu
    Copy the full SHA
    33e3ea3 View commit details
    Browse the repository at this point in the history

Commits on Aug 16, 2024

  1. update cmake profile

    hathach committed Aug 16, 2024
    Configuration menu
    Copy the full SHA
    8e3093e View commit details
    Browse the repository at this point in the history

Commits on Aug 17, 2024

  1. Configuration menu
    Copy the full SHA
    eaf9cc1 View commit details
    Browse the repository at this point in the history
  2. Configuration menu
    Copy the full SHA
    e9109f3 View commit details
    Browse the repository at this point in the history
  3. minor update

    hathach committed Aug 17, 2024
    Configuration menu
    Copy the full SHA
    9934733 View commit details
    Browse the repository at this point in the history
  4. Configuration menu
    Copy the full SHA
    a6bee74 View commit details
    Browse the repository at this point in the history
  5. remove unused register def

    hathach committed Aug 17, 2024
    Configuration menu
    Copy the full SHA
    123830c View commit details
    Browse the repository at this point in the history
  6. Configuration menu
    Copy the full SHA
    fe7ffc8 View commit details
    Browse the repository at this point in the history

Commits on Aug 18, 2024

  1. more musb update

    hathach committed Aug 18, 2024
    Configuration menu
    Copy the full SHA
    76eb2f5 View commit details
    Browse the repository at this point in the history
  2. add flash_openocd_adi() for use with max32

    add feather max32666 to the hil pool
    hathach committed Aug 18, 2024
    Configuration menu
    Copy the full SHA
    e345380 View commit details
    Browse the repository at this point in the history

Commits on Aug 19, 2024

  1. implement dcd_edpt_iso_alloc/dcd_edpt_iso_activate for musb. video_ca…

    …pture example with iso kind of work but not smoothly. audio example does not seems to work as expected
    hathach committed Aug 19, 2024
    Configuration menu
    Copy the full SHA
    8fdd8d9 View commit details
    Browse the repository at this point in the history
  2. add hwfifo_flush()

    hathach committed Aug 19, 2024
    Configuration menu
    Copy the full SHA
    0c9d7a2 View commit details
    Browse the repository at this point in the history
  3. fix ci build

    hathach committed Aug 19, 2024
    Configuration menu
    Copy the full SHA
    635bdc1 View commit details
    Browse the repository at this point in the history