This is an automated email from the ASF dual-hosted git repository.

xiaoxiang781216 pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/nuttx.git


The following commit(s) were added to refs/heads/master by this push:
     new 5053734b503 arch/risc-v/espressif: Fix CMake irq.h header ordering race
5053734b503 is described below

commit 5053734b503c64c82ca657f37c16b37ea390ce31
Author: Filipe Cavalcanti <[email protected]>
AuthorDate: Tue May 19 10:13:01 2026 +0200

    arch/risc-v/espressif: Fix CMake irq.h header ordering race
    
    Ensure esp-hal copied headers are generated during nuttx_context so 
parallel CMake builds cannot compile sources before arch/chip/irq.h exists.
    
    Signed-off-by: Filipe Cavalcanti <[email protected]>
---
 arch/risc-v/src/common/espressif/CMakeLists.txt | 1 +
 1 file changed, 1 insertion(+)

diff --git a/arch/risc-v/src/common/espressif/CMakeLists.txt 
b/arch/risc-v/src/common/espressif/CMakeLists.txt
index 8de8efcd283..5339014b6a2 100644
--- a/arch/risc-v/src/common/espressif/CMakeLists.txt
+++ b/arch/risc-v/src/common/espressif/CMakeLists.txt
@@ -345,6 +345,7 @@ add_custom_command(
 add_custom_target(copy_esp3rdparty_headers DEPENDS ${_gpio_sig_map} ${_irq})
 
 add_dependencies(arch copy_esp3rdparty_headers)
+add_dependencies(nuttx_context copy_esp3rdparty_headers)
 
 # 
##############################################################################
 # Compiler and Linker Flags

Reply via email to