From 0626c8f1d3558cafb9cdf96e61dae5954f434aec Mon Sep 17 00:00:00 2001 From: "Peter A. Bigot" Date: Tue, 16 Jul 2019 12:50:55 -0500 Subject: [PATCH] samples: add board customization for native_posix_64 Sample applications for display functions do not work on native_posix_64 due to missing overrides. Clone the native_posix_64 Kconfig override for all samples that have a native_posix Kconfig override. Signed-off-by: Peter A. Bigot --- samples/display/cfb/boards/native_posix_64.conf | 3 +++ samples/gui/lvgl/boards/native_posix_64.conf | 5 +++++ samples/net/gptp/boards/native_posix_64.conf | 5 +++++ samples/net/zperf/boards/native_posix_64.conf | 1 + samples/subsys/shell/fs/boards/native_posix_64.conf | 2 ++ 5 files changed, 16 insertions(+) create mode 100644 samples/display/cfb/boards/native_posix_64.conf create mode 100644 samples/gui/lvgl/boards/native_posix_64.conf create mode 100644 samples/net/gptp/boards/native_posix_64.conf create mode 100644 samples/net/zperf/boards/native_posix_64.conf create mode 100644 samples/subsys/shell/fs/boards/native_posix_64.conf diff --git a/samples/display/cfb/boards/native_posix_64.conf b/samples/display/cfb/boards/native_posix_64.conf new file mode 100644 index 00000000000..c08a40a6cb5 --- /dev/null +++ b/samples/display/cfb/boards/native_posix_64.conf @@ -0,0 +1,3 @@ +CONFIG_SDL_DISPLAY_DEV_NAME="DISPLAY" +CONFIG_SDL_DISPLAY_X_RES=250 +CONFIG_SDL_DISPLAY_Y_RES=120 diff --git a/samples/gui/lvgl/boards/native_posix_64.conf b/samples/gui/lvgl/boards/native_posix_64.conf new file mode 100644 index 00000000000..77136ee89c4 --- /dev/null +++ b/samples/gui/lvgl/boards/native_posix_64.conf @@ -0,0 +1,5 @@ +CONFIG_SDL_DISPLAY=y +CONFIG_SDL_DISPLAY_DEV_NAME="DISPLAY" +CONFIG_SDL_DISPLAY_X_RES=320 +CONFIG_SDL_DISPLAY_Y_RES=240 + diff --git a/samples/net/gptp/boards/native_posix_64.conf b/samples/net/gptp/boards/native_posix_64.conf new file mode 100644 index 00000000000..d0d3b870c45 --- /dev/null +++ b/samples/net/gptp/boards/native_posix_64.conf @@ -0,0 +1,5 @@ +# Settings for native_posix ethernet driver +CONFIG_ETH_NATIVE_POSIX_PTP_CLOCK=y + +#CONFIG_ETH_NATIVE_POSIX_RANDOM_MAC=y +CONFIG_ETH_NATIVE_POSIX_MAC_ADDR="00:00:5e:00:53:2a" diff --git a/samples/net/zperf/boards/native_posix_64.conf b/samples/net/zperf/boards/native_posix_64.conf new file mode 100644 index 00000000000..eb56d825c96 --- /dev/null +++ b/samples/net/zperf/boards/native_posix_64.conf @@ -0,0 +1 @@ +CONFIG_NATIVE_POSIX_SLOWDOWN_TO_REAL_TIME=y diff --git a/samples/subsys/shell/fs/boards/native_posix_64.conf b/samples/subsys/shell/fs/boards/native_posix_64.conf new file mode 100644 index 00000000000..007ce1f5576 --- /dev/null +++ b/samples/subsys/shell/fs/boards/native_posix_64.conf @@ -0,0 +1,2 @@ +CONFIG_FUSE_FS_ACCESS=y +