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

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

commit a604c46b00b9f379c7d2b7c968297b3d76adc03f
Author: Matteo Golin <[email protected]>
AuthorDate: Sun Feb 15 16:24:44 2026 -0500

    !interpreters/minibasic: Align naming of configuration options
    
    Aligns `CONFIG_INTERPRETER_*` options to `CONFIG_INTERPRETERS_*` options
    to be consistent with other interpreters.
    
    BREAKING CHANGE: All configurations using `CONFIG_INTERPRETER_MINIBASIC_*`
    options will no longer compile due to missing symbol errors. The fix is
    very quick: any configurations using this options should add a trailing
    S following INTERPRETER in the affected Kconfig variables. I believe
    `./tools/refresh.sh` should also be capable of doing this automatically.
    
    Signed-off-by: Matteo Golin <[email protected]>
---
 interpreters/minibasic/CMakeLists.txt | 4 ++--
 interpreters/minibasic/Kconfig        | 8 ++++----
 interpreters/minibasic/Makefile       | 4 ++--
 interpreters/minibasic/basic.c        | 6 +++---
 interpreters/minibasic/script.c       | 4 ++--
 5 files changed, 13 insertions(+), 13 deletions(-)

diff --git a/interpreters/minibasic/CMakeLists.txt 
b/interpreters/minibasic/CMakeLists.txt
index 7c1e1401d..c13cef5b1 100644
--- a/interpreters/minibasic/CMakeLists.txt
+++ b/interpreters/minibasic/CMakeLists.txt
@@ -28,7 +28,7 @@ if(CONFIG_INTERPRETERS_MINIBASIC)
     script.c
     basic.c
     STACKSIZE
-    ${CONFIG_INTERPRETER_MINIBASIC_STACKSIZE}
+    ${CONFIG_INTERPRETERS_MINIBASIC_STACKSIZE}
     PRIORITY
-    ${CONFIG_INTERPRETER_MINIBASIC_PRIORITY})
+    ${CONFIG_INTERPRETERS_MINIBASIC_PRIORITY})
 endif()
diff --git a/interpreters/minibasic/Kconfig b/interpreters/minibasic/Kconfig
index bab275fc0..0d54790b5 100644
--- a/interpreters/minibasic/Kconfig
+++ b/interpreters/minibasic/Kconfig
@@ -33,25 +33,25 @@ config INTERPRETERS_MINIBASIC
 
 if INTERPRETERS_MINIBASIC
 
-config INTERPRETER_MINIBASIC_PRIORITY
+config INTERPRETERS_MINIBASIC_PRIORITY
        int "Basic interpreter priority"
        default 100
        ---help---
                Task priority of the Basic interpreter main task
 
-config INTERPRETER_MINIBASIC_STACKSIZE
+config INTERPRETERS_MINIBASIC_STACKSIZE
        int "Basic interpreter stack size"
        default 4096
        ---help---
                Size of the stack allocated for the Basic interpreter main task
 
-config INTERPRETER_MINIBASIC_IOBUFSIZE
+config INTERPRETERS_MINIBASIC_IOBUFSIZE
        int "I/O buffer size"
        default 1024
        ---help---
                Size of the statically allocated I/O buffer.
 
-config INTERPRETER_MINIBASIC_TESTSCRIPT
+config INTERPRETERS_MINIBASIC_TESTSCRIPT
        bool "Test script"
        default n
        ---help---
diff --git a/interpreters/minibasic/Makefile b/interpreters/minibasic/Makefile
index 40f597750..61a439873 100644
--- a/interpreters/minibasic/Makefile
+++ b/interpreters/minibasic/Makefile
@@ -31,8 +31,8 @@ MAINSRC = script.c
 # Mini Basic built-in application info
 
 PROGNAME  = basic
-PRIORITY  = $(CONFIG_INTERPRETER_MINIBASIC_PRIORITY)
-STACKSIZE = $(CONFIG_INTERPRETER_MINIBASIC_STACKSIZE)
+PRIORITY  = $(CONFIG_INTERPRETERS_MINIBASIC_PRIORITY)
+STACKSIZE = $(CONFIG_INTERPRETERS_MINIBASIC_STACKSIZE)
 MODULE    = $(CONFIG_INTERPRETERS_MINIBASIC)
 
 include $(APPDIR)/Application.mk
diff --git a/interpreters/minibasic/basic.c b/interpreters/minibasic/basic.c
index 791463a30..054ff11f7 100644
--- a/interpreters/minibasic/basic.c
+++ b/interpreters/minibasic/basic.c
@@ -48,11 +48,11 @@
 
 /* Configuration */
 
-#ifndef CONFIG_INTERPRETER_MINIBASIC_IOBUFSIZE
-#  define CONFIG_INTERPRETER_MINIBASIC_IOBUFSIZE 1024
+#ifndef CONFIG_INTERPRETERS_MINIBASIC_IOBUFSIZE
+#  define CONFIG_INTERPRETERS_MINIBASIC_IOBUFSIZE 1024
 #endif
 
-#define IOBUFSIZE CONFIG_INTERPRETER_MINIBASIC_IOBUFSIZE
+#define IOBUFSIZE CONFIG_INTERPRETERS_MINIBASIC_IOBUFSIZE
 
 /* Tokens defined */
 
diff --git a/interpreters/minibasic/script.c b/interpreters/minibasic/script.c
index af3b668f9..c4070889b 100644
--- a/interpreters/minibasic/script.c
+++ b/interpreters/minibasic/script.c
@@ -45,7 +45,7 @@
  * Private Data
  ****************************************************************************/
 
-#ifdef CONFIG_INTERPRETER_MINIBASIC_TESTSCRIPT
+#ifdef CONFIG_INTERPRETERS_MINIBASIC_TESTSCRIPT
 /* Here is a simple script to play with */
 
 static FAR char *script =
@@ -147,7 +147,7 @@ int main(int argc, FAR char *argv[])
 
   if (argc == 1)
     {
-#ifdef CONFIG_INTERPRETER_MINIBASIC_TESTSCRIPT
+#ifdef CONFIG_INTERPRETERS_MINIBASIC_TESTSCRIPT
       basic(script, stdin, stdout, stderr);
 #else
       fprintf(stderr, "ERROR: Missing argument.\n");

Reply via email to