boards/lckfb-szpi-esp32s3: enable required IRQ vector table configs for uvc#18650
Open
JianyuWang0623 wants to merge 1 commit intoapache:masterfrom
Open
boards/lckfb-szpi-esp32s3: enable required IRQ vector table configs for uvc#18650JianyuWang0623 wants to merge 1 commit intoapache:masterfrom
JianyuWang0623 wants to merge 1 commit intoapache:masterfrom
Conversation
…or uvc Enable CONFIG_ARCH_IRQ_TO_NDX, CONFIG_ARCH_MINIMAL_VECTORTABLE_DYNAMIC and CONFIG_ARCH_NUSER_INTERRUPTS=2 which are now required by the Xtensa ESP32-S3 interrupt handling after upstream changes. Signed-off-by: wangjianyu3 <wangjianyu3@xiaomi.com>
simbit18
approved these changes
Mar 30, 2026
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.
Summary
After recent upstream changes to the Xtensa ESP32-S3 interrupt handling, the minimal vector table mechanism now requires explicit enablement of
CONFIG_ARCH_MINIMAL_VECTORTABLE_DYNAMIC,CONFIG_ARCH_IRQ_TO_NDX, andCONFIG_ARCH_NUSER_INTERRUPTS.Without these configs, the
lckfb-szpi-esp32s3:uvcdefconfig fails to build with:This patch adds the three required Kconfig options to the UVC defconfig:
CONFIG_ARCH_MINIMAL_VECTORTABLE_DYNAMIC=y— enable dynamic minimal RAM vector tableCONFIG_ARCH_IRQ_TO_NDX=y— useup_irq_to_ndx()for IRQ-to-index mapping instead of RAM-basedg_irqmap[]CONFIG_ARCH_NUSER_INTERRUPTS=2— declare the number of valid mapped user interruptsImpact
Build-only fix. No runtime behavior change — these configs were already implicitly required by the board's existing
CONFIG_ARCH_MINIMAL_VECTORTABLE=ysetting; the upstream change made them explicitly mandatory.No impact on other boards or configurations.
Testing
Build test on host (Ubuntu, x86_64):
Build completes successfully. Verified defconfig is normalized:
No diff after refresh, confirming config consistency.