Open
Conversation
Update BSP files across all Alif boards to support DFP 2.1.0 package structure. Add new board targets and refactor family.cmake and family.c to handle the updated device layouts.
e78f626 to
3912dfa
Compare
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Changes
src/portable/alif/alif_e7_dk/dcd_ensemble.cFix linker errors for CMSIS (bare-metal/FreeRTOS) builds —
usb_ctrl2_phy_power_on_reset_set()andusb_ctrl2_phy_power_on_reset_clear()were only defined in the Zephyr#ifblock. The CMSIS#elseblock was missing equivalents, causing undefined reference linker errors indcd_initanddcd_deinit. Added the missing wrappers delegating tousb_phy_por_set()/usb_phy_por_clear()from DFP 2.1.0'ssys_ctrl_usb.h.hw/bsp/alif/family.cFix LED GPIO selection for boards with a single RGB LED —
family.chardcodedBOARD_LEDRGB1_*(second RGB LED), which is not present on AppKit-E8-AIML (BOARD_LEDRGB_COUNT 1). Added aBOARD_LEDRGB_COUNT-based preprocessor guard to selectLEDRGB0on single-LED boards andLEDRGB1on boards with two or more RGB LEDs (DevKit-E7, DevKit-E8). Behaviour on existing targets is unchanged.