JianyuWang0623 opened a new pull request, #18650:
URL: https://github.com/apache/nuttx/pull/18650

   ## 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`, and 
`CONFIG_ARCH_NUSER_INTERRUPTS`.
   
   Without these configs, the `lckfb-szpi-esp32s3:uvc` defconfig fails to build 
with:
   
   ```
   error: CONFIG_ARCH_MINIMAL_VECTORTABLE_DYNAMIC must be enabled
   ```
   
   This patch adds the three required Kconfig options to the UVC defconfig:
   
   - `CONFIG_ARCH_MINIMAL_VECTORTABLE_DYNAMIC=y` — enable dynamic minimal RAM 
vector table
   - `CONFIG_ARCH_IRQ_TO_NDX=y` — use `up_irq_to_ndx()` for IRQ-to-index 
mapping instead of RAM-based `g_irqmap[]`
   - `CONFIG_ARCH_NUSER_INTERRUPTS=2` — declare the number of valid mapped user 
interrupts
   
   ## Impact
   
   Build-only fix. No runtime behavior change — these configs were already 
implicitly required by the board's existing `CONFIG_ARCH_MINIMAL_VECTORTABLE=y` 
setting; the upstream change made them explicitly mandatory.
   
   No impact on other boards or configurations.
   
   ## Testing
   
   Build test on host (Ubuntu, x86_64):
   
   ```
   $ ./tools/configure.sh lckfb-szpi-esp32s3:uvc
   $ make -j$(nproc)
   ```
   
   Build completes successfully. Verified defconfig is normalized:
   
   ```
   $ ./tools/refresh.sh --silent lckfb-szpi-esp32s3:uvc
   ```
   
   No diff after refresh, confirming config consistency.


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: [email protected]

For queries about this service, please contact Infrastructure at:
[email protected]

Reply via email to