From f512009fad4d23c6be64c2ad8d2b2d0200e88129 Mon Sep 17 00:00:00 2001 From: Dhruva Gole Date: Wed, 19 Jun 2024 19:42:36 +0530 Subject: [PATCH] samples: Remove CONFIG_CPLUSPLUS This causes the following build errors: /__w/gsoc-2022-arduino-core/gsoc-2022-arduino-core/Arduino-Zephyr-API/samples/i2cdemo/prj.conf:2: warning: attempt to assign the value 'y' to the undefined symbol CPLUSPLUS Hence, remove it from all samples as it is no longer needed. Signed-off-by: Dhruva Gole --- samples/blinky_arduino/prj.conf | 3 +-- samples/button_press_led/prj.conf | 3 +-- samples/hello_arduino/prj.conf | 3 +-- samples/i2cdemo/prj.conf | 3 +-- samples/threads_arduino/prj.conf | 3 +-- 5 files changed, 5 insertions(+), 10 deletions(-) diff --git a/samples/blinky_arduino/prj.conf b/samples/blinky_arduino/prj.conf index 100a4977..290d61a3 100644 --- a/samples/blinky_arduino/prj.conf +++ b/samples/blinky_arduino/prj.conf @@ -1,3 +1,2 @@ CONFIG_GPIO=y -CONFIG_CPLUSPLUS=y -CONFIG_ARDUINO_API=y \ No newline at end of file +CONFIG_ARDUINO_API=y diff --git a/samples/button_press_led/prj.conf b/samples/button_press_led/prj.conf index 100a4977..290d61a3 100644 --- a/samples/button_press_led/prj.conf +++ b/samples/button_press_led/prj.conf @@ -1,3 +1,2 @@ CONFIG_GPIO=y -CONFIG_CPLUSPLUS=y -CONFIG_ARDUINO_API=y \ No newline at end of file +CONFIG_ARDUINO_API=y diff --git a/samples/hello_arduino/prj.conf b/samples/hello_arduino/prj.conf index df5e26f7..f93fa321 100644 --- a/samples/hello_arduino/prj.conf +++ b/samples/hello_arduino/prj.conf @@ -1,2 +1 @@ -CONFIG_CPLUSPLUS=y -CONFIG_ARDUINO_API=y \ No newline at end of file +CONFIG_ARDUINO_API=y diff --git a/samples/i2cdemo/prj.conf b/samples/i2cdemo/prj.conf index ba2e427a..d546d036 100644 --- a/samples/i2cdemo/prj.conf +++ b/samples/i2cdemo/prj.conf @@ -1,7 +1,6 @@ CONFIG_GPIO=y -CONFIG_CPLUSPLUS=y CONFIG_ARDUINO_API=y CONFIG_I2C=y CONFIG_NEWLIB_LIBC=y CONFIG_NEWLIB_LIBC_FLOAT_PRINTF=y -CONFIG_RING_BUFFER=y \ No newline at end of file +CONFIG_RING_BUFFER=y diff --git a/samples/threads_arduino/prj.conf b/samples/threads_arduino/prj.conf index d391af74..2d0830d4 100644 --- a/samples/threads_arduino/prj.conf +++ b/samples/threads_arduino/prj.conf @@ -1,4 +1,3 @@ CONFIG_HEAP_MEM_POOL_SIZE=256 CONFIG_GPIO=y -CONFIG_CPLUSPLUS=y -CONFIG_ARDUINO_API=y \ No newline at end of file +CONFIG_ARDUINO_API=y