Skip to content

Commit d3be39f

Browse files
committed
Add Kconfig to enable Rust and set required options
1 parent 92c9f80 commit d3be39f

File tree

3 files changed

+8
-3
lines changed

3 files changed

+8
-3
lines changed

Kconfig

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,6 @@
1+
menuconfig RUST
2+
bool "Rust"
3+
select THREAD_CUSTOM_DATA
4+
select CPLUSPLUS
5+
help
6+
Rust language support.

samples/rust-app/prj.conf

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,4 @@
1-
CONFIG_HEAP_MEM_POOL_SIZE=1024
2-
CONFIG_THREAD_CUSTOM_DATA=y
3-
CONFIG_CPLUSPLUS=y
1+
CONFIG_RUST=y
42
CONFIG_SERIAL=y
53
CONFIG_UART_NATIVE_POSIX=y
64
CONFIG_NATIVE_UART_0_ON_OWN_PTY=y

zephyr/module.yml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,2 +1,3 @@
11
build:
22
cmake: .
3+
kconfig: Kconfig

0 commit comments

Comments
 (0)