This is an automated email from the ASF dual-hosted git repository.
xiaoxiang 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 f3ec1bd60c xtensa/esp32s3: Update the reserved size for struct __lock
f3ec1bd60c is described below
commit f3ec1bd60ccc29a6b176bcf2234ff8834bf66a4f
Author: Tiago Medicci Serrano <[email protected]>
AuthorDate: Tue Dec 10 17:02:22 2024 -0300
xtensa/esp32s3: Update the reserved size for struct __lock
After https://github.com/apache/nuttx/pull/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.
---
arch/xtensa/src/common/espressif/platform_include/sys/lock.h | 6 +++---
1 file changed, 3 insertions(+), 3 deletions(-)
diff --git a/arch/xtensa/src/common/espressif/platform_include/sys/lock.h
b/arch/xtensa/src/common/espressif/platform_include/sys/lock.h
index 7aa5e9b8ef..c289861bb4 100644
--- a/arch/xtensa/src/common/espressif/platform_include/sys/lock.h
+++ b/arch/xtensa/src/common/espressif/platform_include/sys/lock.h
@@ -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
};