Skip to content

DFP2.1.0 & Appkit-E8 support#6

Open
JuhoEskeli-AlifSemi wants to merge 1 commit intoaliffrom
dfp_210_appkit-e8
Open

DFP2.1.0 & Appkit-E8 support#6
JuhoEskeli-AlifSemi wants to merge 1 commit intoaliffrom
dfp_210_appkit-e8

Conversation

@JuhoEskeli-AlifSemi
Copy link
Copy Markdown

Changes

src/portable/alif/alif_e7_dk/dcd_ensemble.c

Fix linker errors for CMSIS (bare-metal/FreeRTOS) builds — usb_ctrl2_phy_power_on_reset_set() and usb_ctrl2_phy_power_on_reset_clear() were only defined in the Zephyr #if block. The CMSIS #else block was missing equivalents, causing undefined reference linker errors in dcd_init and dcd_deinit. Added the missing wrappers delegating to usb_phy_por_set() / usb_phy_por_clear() from DFP 2.1.0's sys_ctrl_usb.h.

hw/bsp/alif/family.c

Fix LED GPIO selection for boards with a single RGB LED — family.c hardcoded BOARD_LEDRGB1_* (second RGB LED), which is not present on AppKit-E8-AIML (BOARD_LEDRGB_COUNT 1). Added a BOARD_LEDRGB_COUNT-based preprocessor guard to select LEDRGB0 on single-LED boards and LEDRGB1 on boards with two or more RGB LEDs (DevKit-E7, DevKit-E8). Behaviour on existing targets is unchanged.

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.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant