Skip to content

June 2023 Release

Compare
Choose a tag to compare
@lorne-maxim lorne-maxim released this 30 Jun 17:02
· 384 commits to release since this release
0c7efe7

This is the June 2023 release of the MSDK.

Installation

See the "Installation" in the MSDK User Guide for instructions on installing the MSDK via the online installer.

For existing users, see the "Maintenance" section of the User Guide for instructions on updating the MSDK.

Offline installers tagged at this version of the MSDK are available at the bottom of this release page. Note: The offline installers have the same pre-requisites as the online installers that must be met before running.

What's Changed

RISC-V Toolchain Upgrade

C++ Support

  • Official support for C++ has been added to the MSDK.
  • The AUTOSEARCH mechanism of the build system will now search for .cpp files in the project to add to the build.
  • All microcontrollers now include a Hello_World_Cpp example demonstrating basic language features such as classes.
  • Add C++ Support, Add Basic C++ Example, Consolidate GCC Makefiles by @Jake-Carter in #619

Driver Files for Board Support Packages Move

  • Driver files for some Board Support Packages have been consolidated to the MiscDrivers folder as of _MiscDrivers: Update all boards to use PB, LED, and stdio source files in MiscDrivers. by @Jacob-Scheiffler in #587
  • The BSPs inside the MSDK have been updated to reflect this, but custom BSPs may throw missing file errors if they were using LED/PB/TFT/stdio drivers from the old location.

To resolve these errors, add the updated locations of the source files of your board.mk of your BSP. If these files are included from your project only, add these locations to your project.mk file.

# Locate MiscDrivers directory
MISC_DRIVERS_DIR ?= $(MAXIM_PATH)/Libraries/MiscDrivers

# Note:  The following additions add all of the MiscDrivers folders to the build.
# You probably don't need all of them.

# Add MiscDrivers folders to search for source files
VPATH += $(MISC_DRIVERS_DIR)
VPATH += $(MISC_DRIVERS_DIR)/ADC
VPATH += $(MISC_DRIVERS_DIR)/BarcodeDecoder
VPATH += $(MISC_DRIVERS_DIR)/Camera
VPATH += $(MISC_DRIVERS_DIR)/CODEC
VPATH += $(MISC_DRIVERS_DIR)/Display
VPATH += $(MISC_DRIVERS_DIR)/ExtMemory
VPATH += $(MISC_DRIVERS_DIR)/LED
VPATH += $(MISC_DRIVERS_DIR)/PMIC
VPATH += $(MISC_DRIVERS_DIR)/PushButton
VPATH += $(MISC_DRIVERS_DIR)/TempSensor
VPATH += $(MISC_DRIVERS_DIR)/Touchscreen

# Add MiscDrivers folder to search for header files
IPATH += $(MISC_DRIVERS_DIR)
IPATH += $(MISC_DRIVERS_DIR)/ADC
IPATH += $(MISC_DRIVERS_DIR)/BarcodeDecoder
IPATH += $(MISC_DRIVERS_DIR)/Camera
IPATH += $(MISC_DRIVERS_DIR)/CODEC
IPATH += $(MISC_DRIVERS_DIR)/Display
IPATH += $(MISC_DRIVERS_DIR)/ExtMemory
IPATH += $(MISC_DRIVERS_DIR)/LED
IPATH += $(MISC_DRIVERS_DIR)/PMIC
IPATH += $(MISC_DRIVERS_DIR)/PushButton
IPATH += $(MISC_DRIVERS_DIR)/TempSensor
IPATH += $(MISC_DRIVERS_DIR)/Touchscreen

Build System Improvements

  • "project.mk" is now a tracked file in the dependency graph for the build. When a change is made to project.mk, the project will automatically rebuild. (Rebuild Project when project.mk Changes by @Jake-Carter in #591)
  • User's ability to create custom BSPs and load them from directories outside of the MSDK has been improved. (Allow Users to Set BSP Search Directory, Make mxc.h Safe Against LIB_BOARD=0, Remove MiscDrivers Files from mxc.h by @Jake-Carter in #613)
  • BLE project build times have been reduced by packing Cordio as a static library file. (Build Cordio as a Library File by @kevin-gillespie in #492)
  • A new rule for generating a project_defines.h file with build-time and compiler-specific definitions has been added (Update Project Files by @Jake-Carter in #628)
  • Allow Overriding Linkerfile for SBT Projects by @Jake-Carter in #592
  • Makefile targets for flashing have been added (ex make flash.openocd) (Added Makefile targets for flashing. by @kevin-gillespie in #519)

VS Code Project File Update

Library Updates

Other Notable Features

  • CSI2/ImgCapture Image Processing Pipeline Rework, New MAX78002 QSPI Example, New RetinaNet Example by @Jake-Carter in #583
  • Add GPIO3 support to MAX32655, MAX32680, MAX78000, and MAX78002 by @Jacob-Scheiffler in #597
  • Update HART UART with new transmit features and fixes for MAX32675 and MAX32680 by @jdk-maxim in #600
  • Add Cordio API to get Bluetooth MAC address, trace output of MAC address and advertising name for MAX32655, MAX32665, MAX32690 by @EdwinFairchild in #615
  • Update AppSwitcher example to use new features with External Flash instead of SDHC by @MertCanBoz1 in #571
  • Add Facial Recognition Demo for MAX78000FTHR by @vicloginov in #569
  • Add MAX78000CAM01 Board Support, Add CAM01 Face Detection Demo, Move Debayering Implementation by @Jake-Carter in #611
  • Add SPI v2 Implementation to MAX78002 by @sihyung-maxim in #632
  • Add Examples for Building and Using Static Libraries by @ttmut in #476, #543

Other Changes & Bug Fixes

New Contributors

Full Diff: v2023_03_Release...v2023_06