Skip to content

Commit f512009

Browse files
committed
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 <[email protected]>
1 parent 4c34ceb commit f512009

File tree

5 files changed

+5
-10
lines changed

5 files changed

+5
-10
lines changed

samples/blinky_arduino/prj.conf

+1-2
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,2 @@
11
CONFIG_GPIO=y
2-
CONFIG_CPLUSPLUS=y
3-
CONFIG_ARDUINO_API=y
2+
CONFIG_ARDUINO_API=y

samples/button_press_led/prj.conf

+1-2
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,2 @@
11
CONFIG_GPIO=y
2-
CONFIG_CPLUSPLUS=y
3-
CONFIG_ARDUINO_API=y
2+
CONFIG_ARDUINO_API=y

samples/hello_arduino/prj.conf

+1-2
Original file line numberDiff line numberDiff line change
@@ -1,2 +1 @@
1-
CONFIG_CPLUSPLUS=y
2-
CONFIG_ARDUINO_API=y
1+
CONFIG_ARDUINO_API=y

samples/i2cdemo/prj.conf

+1-2
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,6 @@
11
CONFIG_GPIO=y
2-
CONFIG_CPLUSPLUS=y
32
CONFIG_ARDUINO_API=y
43
CONFIG_I2C=y
54
CONFIG_NEWLIB_LIBC=y
65
CONFIG_NEWLIB_LIBC_FLOAT_PRINTF=y
7-
CONFIG_RING_BUFFER=y
6+
CONFIG_RING_BUFFER=y

samples/threads_arduino/prj.conf

+1-2
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,3 @@
11
CONFIG_HEAP_MEM_POOL_SIZE=256
22
CONFIG_GPIO=y
3-
CONFIG_CPLUSPLUS=y
4-
CONFIG_ARDUINO_API=y
3+
CONFIG_ARDUINO_API=y

0 commit comments

Comments
 (0)