Skip to content

Commit

Permalink
xtensa/esp32s3: Update the reserved size for struct __lock
Browse files Browse the repository at this point in the history
After #15075, the static
assertion at `nuttx/arch/xtensa/src/esp32s3/esp32s3_libc_stubs.c`
was being triggered when building any of the ESP32-S3's defconfigs.
This commit updates the reserved size to reflect the changes
introduced by the related PR.
  • Loading branch information
tmedicci committed Dec 10, 2024
1 parent 5607eec commit 74d060c
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions arch/xtensa/src/common/espressif/platform_include/sys/lock.h
Original file line number Diff line number Diff line change
Expand Up @@ -43,12 +43,12 @@ struct __lock
{
#ifdef CONFIG_PRIORITY_INHERITANCE
# if CONFIG_SEM_PREALLOCHOLDERS > 0
int reserved[5];
int reserved[6];
# else
int reserved[8];
int reserved[9];
# endif
#else
int reserved[4];
int reserved[5];
#endif
};

Expand Down

0 comments on commit 74d060c

Please sign in to comment.