Skip to content

Commit

Permalink
samples: Remove CONFIG_CPLUSPLUS
Browse files Browse the repository at this point in the history
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 <d-gole@ti.com>
  • Loading branch information
DhruvaG2000 committed Jun 19, 2024
1 parent 4c34ceb commit 034d1cd
Show file tree
Hide file tree
Showing 5 changed files with 5 additions and 10 deletions.
3 changes: 1 addition & 2 deletions samples/blinky_arduino/prj.conf
Original file line number Diff line number Diff line change
@@ -1,3 +1,2 @@
CONFIG_GPIO=y
CONFIG_CPLUSPLUS=y
CONFIG_ARDUINO_API=y
CONFIG_ARDUINO_API=y
3 changes: 1 addition & 2 deletions samples/button_press_led/prj.conf
Original file line number Diff line number Diff line change
@@ -1,3 +1,2 @@
CONFIG_GPIO=y
CONFIG_CPLUSPLUS=y
CONFIG_ARDUINO_API=y
CONFIG_ARDUINO_API=y
3 changes: 1 addition & 2 deletions samples/hello_arduino/prj.conf
Original file line number Diff line number Diff line change
@@ -1,2 +1 @@
CONFIG_CPLUSPLUS=y
CONFIG_ARDUINO_API=y
CONFIG_ARDUINO_API=y
3 changes: 1 addition & 2 deletions samples/i2cdemo/prj.conf
Original file line number Diff line number Diff line change
@@ -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
CONFIG_RING_BUFFER=y
3 changes: 1 addition & 2 deletions samples/threads_arduino/prj.conf
Original file line number Diff line number Diff line change
@@ -1,4 +1,3 @@
CONFIG_HEAP_MEM_POOL_SIZE=256
CONFIG_GPIO=y
CONFIG_CPLUSPLUS=y
CONFIG_ARDUINO_API=y
CONFIG_ARDUINO_API=y

0 comments on commit 034d1cd

Please sign in to comment.