Skip to content

Commit

Permalink
elf:fix a ci error
Browse files Browse the repository at this point in the history
Configuration/Tool: teensy-2.0/nsh
In file included from
/github/workspace/sources/nuttx/include/nuttx/coredump.h:35:0,
                 from
/github/workspace/sources/nuttx/sched/misc/coredump.h:28,
                 from ./init/nx_bringup.c:54:
/github/workspace/sources/nuttx/include/nuttx/elf.h:31:22: fatal error:
arch/elf.h: No such file or directory

Signed-off-by: wanggang26 <wanggang26@xiaomi.com>
  • Loading branch information
wanggang26 authored and GUIDINGLI committed Oct 15, 2024
1 parent 8f3060e commit d22ad37
Showing 1 changed file with 4 additions and 1 deletion.
5 changes: 4 additions & 1 deletion include/nuttx/coredump.h
Original file line number Diff line number Diff line change
Expand Up @@ -32,7 +32,10 @@

#include <nuttx/streams.h>
#include <nuttx/memoryregion.h>
#include <nuttx/elf.h>

#ifdef CONFIG_ARM_COREDUMP_REGION
# include <nuttx/elf.h>
#endif

/****************************************************************************
* Pre-processor Definitions
Expand Down

0 comments on commit d22ad37

Please sign in to comment.