From d851ba56e15c73e398baaf802ac6d09cbb8a9848 Mon Sep 17 00:00:00 2001 From: Gregory Nutt Date: Tue, 5 Mar 2019 06:33:42 -0600 Subject: [PATCH] Update README and C comments. --- configs/esp32-core/README.txt | 9 ++++++--- libs/libc/pthread/pthread_spinlock.c | 3 ++- 2 files changed, 8 insertions(+), 4 deletions(-) diff --git a/configs/esp32-core/README.txt b/configs/esp32-core/README.txt index 4a630c3f1e..5afceec459 100644 --- a/configs/esp32-core/README.txt +++ b/configs/esp32-core/README.txt @@ -44,9 +44,12 @@ STATUS CONFIG_SUPPRESS_UART_CONFIG=y - The NuttX fork, TizenRT, has taken the NuttX ESP32 code and taken it futher. - Refer to https://github.com/Samsung/TizenRT/tree/master/os/arch/xtensa for - the current status. + The NuttX fork, TizenRT, has taken the NuttX ESP32 code and developed it + further. Refer to: + + https://github.com/Samsung/TizenRT/tree/master/os/arch/xtensai + + for the current status. ESP32 Features ============== diff --git a/libs/libc/pthread/pthread_spinlock.c b/libs/libc/pthread/pthread_spinlock.c index ef188ef50b..56639dc60a 100644 --- a/libs/libc/pthread/pthread_spinlock.c +++ b/libs/libc/pthread/pthread_spinlock.c @@ -197,7 +197,8 @@ int pthread_spin_lock(pthread_spinlock_t *lock) /* Loop until we successfully take the spinlock (i.e., until the previous * state of the spinlock was SP_UNLOCKED). NOTE that the test/set operaion - * is performed via boardctl() to avoid a variety of issues. + * is performed via boardctl() to avoid a variety of issues. An option + * might be to move the implementation of up_testset() to libs/libc/machine. */ do