From cd92e2d6e7664c0c6ecaa7f6eae36d6a2b99a755 Mon Sep 17 00:00:00 2001 From: Lup Yuen Lee Date: Tue, 31 Dec 2024 08:43:51 +0800 Subject: [PATCH] boards/risc-v, xtensa: Remove CONFIG_DEV_ZERO CONFIG_DEV_ZERO is no longer needed in some defconfig files due to - https://github.com/apache/nuttx/pull/15223 This PR removes CONFIG_DEV_ZERO from the affected defconfig files: ```bash make distclean ; tools/refresh.sh --silent canmv230:knsh make distclean ; tools/refresh.sh --silent canmv230:master make distclean ; tools/refresh.sh --silent canmv230:nsbi ... ``` The failed builds above were extracted from [nuttx-prometheus-to-mastodon.json](https://lupyuen.org/articles/mastodon.html#appendix-post-nuttx-builds-to-mastodon) --- boards/risc-v/k230/canmv230/configs/knsh/defconfig | 1 - boards/risc-v/k230/canmv230/configs/master/defconfig | 1 - boards/risc-v/k230/canmv230/configs/nsbi/defconfig | 1 - boards/risc-v/k230/canmv230/configs/nsh/defconfig | 1 - boards/risc-v/k230/canmv230/configs/pnsh/defconfig | 1 - boards/risc-v/k230/canmv230/configs/remote/defconfig | 1 - boards/risc-v/qemu-rv/rv-virt/configs/flats/defconfig | 1 - boards/risc-v/qemu-rv/rv-virt/configs/flats64/defconfig | 1 - boards/risc-v/qemu-rv/rv-virt/configs/knsh_paging/defconfig | 1 - boards/risc-v/qemu-rv/rv-virt/configs/knsh_romfs/defconfig | 1 - boards/risc-v/qemu-rv/rv-virt/configs/leds/defconfig | 1 - boards/risc-v/qemu-rv/rv-virt/configs/leds64/defconfig | 1 - boards/risc-v/qemu-rv/rv-virt/configs/leds64_rust/defconfig | 1 - boards/risc-v/qemu-rv/rv-virt/configs/leds64_zig/defconfig | 1 - boards/risc-v/qemu-rv/rv-virt/configs/nsbi/defconfig | 1 - boards/risc-v/qemu-rv/rv-virt/configs/nsbi64/defconfig | 1 - boards/risc-v/qemu-rv/rv-virt/configs/pnsh/defconfig | 1 - boards/risc-v/qemu-rv/rv-virt/configs/pnsh64/defconfig | 1 - boards/risc-v/qemu-rv/rv-virt/configs/python/defconfig | 1 - boards/risc-v/qemu-rv/rv-virt/configs/virt_nsh/defconfig | 1 - boards/risc-v/sg2000/milkv_duos/configs/nsh/defconfig | 1 - boards/xtensa/esp32s3/esp32s3-eye/configs/gpio/defconfig | 1 - boards/xtensa/esp32s3/esp32s3-eye/configs/i2c/defconfig | 1 - boards/xtensa/esp32s3/esp32s3-eye/configs/lcd/defconfig | 1 - 24 files changed, 24 deletions(-) diff --git a/boards/risc-v/k230/canmv230/configs/knsh/defconfig b/boards/risc-v/k230/canmv230/configs/knsh/defconfig index 33c65880c8..e5e48913bd 100644 --- a/boards/risc-v/k230/canmv230/configs/knsh/defconfig +++ b/boards/risc-v/k230/canmv230/configs/knsh/defconfig @@ -46,7 +46,6 @@ CONFIG_BOARD_LOOPSPERMSEC=53291 CONFIG_BUILD_KERNEL=y CONFIG_DEBUG_ASSERTIONS=y CONFIG_DEBUG_FEATURES=y -CONFIG_DEV_ZERO=y CONFIG_ELF=y CONFIG_EXAMPLES_HELLO=y CONFIG_FS_PROCFS=y diff --git a/boards/risc-v/k230/canmv230/configs/master/defconfig b/boards/risc-v/k230/canmv230/configs/master/defconfig index 2f75621e38..d493125edc 100644 --- a/boards/risc-v/k230/canmv230/configs/master/defconfig +++ b/boards/risc-v/k230/canmv230/configs/master/defconfig @@ -49,7 +49,6 @@ CONFIG_DEBUG_FEATURES=y CONFIG_DEBUG_FULLOPT=y CONFIG_DEBUG_SYMBOLS=y CONFIG_DEV_SIMPLE_ADDRENV=y -CONFIG_DEV_ZERO=y CONFIG_ELF=y CONFIG_EXAMPLES_HELLO=y CONFIG_FS_PROCFS=y diff --git a/boards/risc-v/k230/canmv230/configs/nsbi/defconfig b/boards/risc-v/k230/canmv230/configs/nsbi/defconfig index 695185f4a5..18c0e77474 100644 --- a/boards/risc-v/k230/canmv230/configs/nsbi/defconfig +++ b/boards/risc-v/k230/canmv230/configs/nsbi/defconfig @@ -47,7 +47,6 @@ CONFIG_DEBUG_ASSERTIONS=y CONFIG_DEBUG_FEATURES=y CONFIG_DEBUG_FULLOPT=y CONFIG_DEBUG_SYMBOLS=y -CONFIG_DEV_ZERO=y CONFIG_ELF=y CONFIG_EXAMPLES_HELLO=y CONFIG_FS_PROCFS=y diff --git a/boards/risc-v/k230/canmv230/configs/nsh/defconfig b/boards/risc-v/k230/canmv230/configs/nsh/defconfig index e0017e3a06..da2d2363cc 100644 --- a/boards/risc-v/k230/canmv230/configs/nsh/defconfig +++ b/boards/risc-v/k230/canmv230/configs/nsh/defconfig @@ -29,7 +29,6 @@ CONFIG_ARCH_STACKDUMP=y CONFIG_BOARD_LOOPSPERMSEC=53291 CONFIG_BUILTIN=y CONFIG_DEBUG_FEATURES=y -CONFIG_DEV_ZERO=y CONFIG_ELF=y CONFIG_EXAMPLES_CALIB_UDELAY=y CONFIG_EXAMPLES_HELLO=y diff --git a/boards/risc-v/k230/canmv230/configs/pnsh/defconfig b/boards/risc-v/k230/canmv230/configs/pnsh/defconfig index af9e263b93..3fab49b6a5 100644 --- a/boards/risc-v/k230/canmv230/configs/pnsh/defconfig +++ b/boards/risc-v/k230/canmv230/configs/pnsh/defconfig @@ -31,7 +31,6 @@ CONFIG_BOARD_LOOPSPERMSEC=53291 CONFIG_BUILD_PROTECTED=y CONFIG_BUILTIN=y CONFIG_DEBUG_FEATURES=y -CONFIG_DEV_ZERO=y CONFIG_ELF=y CONFIG_EXAMPLES_HELLO=y CONFIG_FS_PROCFS=y diff --git a/boards/risc-v/k230/canmv230/configs/remote/defconfig b/boards/risc-v/k230/canmv230/configs/remote/defconfig index 6340b07e06..31f77ad2ef 100644 --- a/boards/risc-v/k230/canmv230/configs/remote/defconfig +++ b/boards/risc-v/k230/canmv230/configs/remote/defconfig @@ -39,7 +39,6 @@ CONFIG_DEBUG_FEATURES=y CONFIG_DEBUG_FULLOPT=y CONFIG_DEBUG_SYMBOLS=y CONFIG_DEV_SIMPLE_ADDRENV=y -CONFIG_DEV_ZERO=y CONFIG_ELF=y CONFIG_FS_PROCFS=y CONFIG_FS_ROMFS=y diff --git a/boards/risc-v/qemu-rv/rv-virt/configs/flats/defconfig b/boards/risc-v/qemu-rv/rv-virt/configs/flats/defconfig index cab54f6a6d..10fdbaa8c9 100644 --- a/boards/risc-v/qemu-rv/rv-virt/configs/flats/defconfig +++ b/boards/risc-v/qemu-rv/rv-virt/configs/flats/defconfig @@ -33,7 +33,6 @@ CONFIG_BUILTIN=y CONFIG_DEBUG_FEATURES=y CONFIG_DEBUG_FULLOPT=y CONFIG_DEBUG_SYMBOLS=y -CONFIG_DEV_ZERO=y CONFIG_ELF=y CONFIG_EXAMPLES_HELLO=y CONFIG_FS_HOSTFS=y diff --git a/boards/risc-v/qemu-rv/rv-virt/configs/flats64/defconfig b/boards/risc-v/qemu-rv/rv-virt/configs/flats64/defconfig index 23b5ab30b1..61b92da384 100644 --- a/boards/risc-v/qemu-rv/rv-virt/configs/flats64/defconfig +++ b/boards/risc-v/qemu-rv/rv-virt/configs/flats64/defconfig @@ -35,7 +35,6 @@ CONFIG_DEBUG_FEATURES=y CONFIG_DEBUG_FULLOPT=y CONFIG_DEBUG_SYMBOLS=y CONFIG_DEVICE_TREE=y -CONFIG_DEV_ZERO=y CONFIG_ELF=y CONFIG_EXAMPLES_HELLO=y CONFIG_FS_HOSTFS=y diff --git a/boards/risc-v/qemu-rv/rv-virt/configs/knsh_paging/defconfig b/boards/risc-v/qemu-rv/rv-virt/configs/knsh_paging/defconfig index 95ded9d392..4d1c9bf904 100644 --- a/boards/risc-v/qemu-rv/rv-virt/configs/knsh_paging/defconfig +++ b/boards/risc-v/qemu-rv/rv-virt/configs/knsh_paging/defconfig @@ -50,7 +50,6 @@ CONFIG_BOARD_LOOPSPERMSEC=6366 CONFIG_BUILD_KERNEL=y CONFIG_DEBUG_FEATURES=y CONFIG_DEBUG_SYMBOLS=y -CONFIG_DEV_ZERO=y CONFIG_ELF=y CONFIG_EXAMPLES_HELLO=m CONFIG_EXAMPLES_HELLO_STACKSIZE=8192 diff --git a/boards/risc-v/qemu-rv/rv-virt/configs/knsh_romfs/defconfig b/boards/risc-v/qemu-rv/rv-virt/configs/knsh_romfs/defconfig index b62e8f13f8..b8afd306c7 100644 --- a/boards/risc-v/qemu-rv/rv-virt/configs/knsh_romfs/defconfig +++ b/boards/risc-v/qemu-rv/rv-virt/configs/knsh_romfs/defconfig @@ -48,7 +48,6 @@ CONFIG_BINFMT_ELF_EXECUTABLE=y CONFIG_BOARD_LATE_INITIALIZE=y CONFIG_BOARD_LOOPSPERMSEC=6366 CONFIG_BUILD_KERNEL=y -CONFIG_DEV_ZERO=y CONFIG_ELF=y CONFIG_EXAMPLES_HELLO=m CONFIG_EXAMPLES_HELLO_STACKSIZE=8192 diff --git a/boards/risc-v/qemu-rv/rv-virt/configs/leds/defconfig b/boards/risc-v/qemu-rv/rv-virt/configs/leds/defconfig index 21155e96bf..96d12fb909 100644 --- a/boards/risc-v/qemu-rv/rv-virt/configs/leds/defconfig +++ b/boards/risc-v/qemu-rv/rv-virt/configs/leds/defconfig @@ -33,7 +33,6 @@ CONFIG_BUILTIN=y CONFIG_DEBUG_FEATURES=y CONFIG_DEBUG_FULLOPT=y CONFIG_DEBUG_SYMBOLS=y -CONFIG_DEV_ZERO=y CONFIG_ELF=y CONFIG_EXAMPLES_HELLO=y CONFIG_EXAMPLES_LEDS=y diff --git a/boards/risc-v/qemu-rv/rv-virt/configs/leds64/defconfig b/boards/risc-v/qemu-rv/rv-virt/configs/leds64/defconfig index 4b2dbb55ba..bea586e4f4 100644 --- a/boards/risc-v/qemu-rv/rv-virt/configs/leds64/defconfig +++ b/boards/risc-v/qemu-rv/rv-virt/configs/leds64/defconfig @@ -35,7 +35,6 @@ CONFIG_DEBUG_FEATURES=y CONFIG_DEBUG_FULLOPT=y CONFIG_DEBUG_SYMBOLS=y CONFIG_DEVICE_TREE=y -CONFIG_DEV_ZERO=y CONFIG_ELF=y CONFIG_EXAMPLES_HELLO=y CONFIG_EXAMPLES_LEDS=y diff --git a/boards/risc-v/qemu-rv/rv-virt/configs/leds64_rust/defconfig b/boards/risc-v/qemu-rv/rv-virt/configs/leds64_rust/defconfig index 696083e984..9f1eec0c64 100644 --- a/boards/risc-v/qemu-rv/rv-virt/configs/leds64_rust/defconfig +++ b/boards/risc-v/qemu-rv/rv-virt/configs/leds64_rust/defconfig @@ -35,7 +35,6 @@ CONFIG_DEBUG_FEATURES=y CONFIG_DEBUG_FULLOPT=y CONFIG_DEBUG_SYMBOLS=y CONFIG_DEVICE_TREE=y -CONFIG_DEV_ZERO=y CONFIG_ELF=y CONFIG_EXAMPLES_HELLO=y CONFIG_EXAMPLES_LEDS=y diff --git a/boards/risc-v/qemu-rv/rv-virt/configs/leds64_zig/defconfig b/boards/risc-v/qemu-rv/rv-virt/configs/leds64_zig/defconfig index a51da08646..52f3713e6d 100644 --- a/boards/risc-v/qemu-rv/rv-virt/configs/leds64_zig/defconfig +++ b/boards/risc-v/qemu-rv/rv-virt/configs/leds64_zig/defconfig @@ -35,7 +35,6 @@ CONFIG_DEBUG_FEATURES=y CONFIG_DEBUG_FULLOPT=y CONFIG_DEBUG_SYMBOLS=y CONFIG_DEVICE_TREE=y -CONFIG_DEV_ZERO=y CONFIG_ELF=y CONFIG_EXAMPLES_HELLO=y CONFIG_EXAMPLES_LEDS=y diff --git a/boards/risc-v/qemu-rv/rv-virt/configs/nsbi/defconfig b/boards/risc-v/qemu-rv/rv-virt/configs/nsbi/defconfig index 1d94b0db9f..00d8a2faac 100644 --- a/boards/risc-v/qemu-rv/rv-virt/configs/nsbi/defconfig +++ b/boards/risc-v/qemu-rv/rv-virt/configs/nsbi/defconfig @@ -49,7 +49,6 @@ CONFIG_DEBUG_ASSERTIONS=y CONFIG_DEBUG_FEATURES=y CONFIG_DEBUG_FULLOPT=y CONFIG_DEBUG_SYMBOLS=y -CONFIG_DEV_ZERO=y CONFIG_ELF=y CONFIG_EXAMPLES_HELLO=m CONFIG_FS_HOSTFS=y diff --git a/boards/risc-v/qemu-rv/rv-virt/configs/nsbi64/defconfig b/boards/risc-v/qemu-rv/rv-virt/configs/nsbi64/defconfig index 32fdb9f34d..66702a0cd2 100644 --- a/boards/risc-v/qemu-rv/rv-virt/configs/nsbi64/defconfig +++ b/boards/risc-v/qemu-rv/rv-virt/configs/nsbi64/defconfig @@ -49,7 +49,6 @@ CONFIG_DEBUG_ASSERTIONS=y CONFIG_DEBUG_FEATURES=y CONFIG_DEBUG_FULLOPT=y CONFIG_DEBUG_SYMBOLS=y -CONFIG_DEV_ZERO=y CONFIG_ELF=y CONFIG_EXAMPLES_HELLO=m CONFIG_FS_HOSTFS=y diff --git a/boards/risc-v/qemu-rv/rv-virt/configs/pnsh/defconfig b/boards/risc-v/qemu-rv/rv-virt/configs/pnsh/defconfig index 2cdd56a8e7..88281a037a 100644 --- a/boards/risc-v/qemu-rv/rv-virt/configs/pnsh/defconfig +++ b/boards/risc-v/qemu-rv/rv-virt/configs/pnsh/defconfig @@ -36,7 +36,6 @@ CONFIG_DEBUG_FEATURES=y CONFIG_DEBUG_FULLOPT=y CONFIG_DEBUG_SYMBOLS=y CONFIG_DEFAULT_TASK_STACKSIZE=4096 -CONFIG_DEV_ZERO=y CONFIG_ELF=y CONFIG_EXAMPLES_HELLO=y CONFIG_FS_HOSTFS=y diff --git a/boards/risc-v/qemu-rv/rv-virt/configs/pnsh64/defconfig b/boards/risc-v/qemu-rv/rv-virt/configs/pnsh64/defconfig index d282e6ee5c..0b8ccae896 100644 --- a/boards/risc-v/qemu-rv/rv-virt/configs/pnsh64/defconfig +++ b/boards/risc-v/qemu-rv/rv-virt/configs/pnsh64/defconfig @@ -36,7 +36,6 @@ CONFIG_DEBUG_FEATURES=y CONFIG_DEBUG_FULLOPT=y CONFIG_DEBUG_SYMBOLS=y CONFIG_DEFAULT_TASK_STACKSIZE=4096 -CONFIG_DEV_ZERO=y CONFIG_ELF=y CONFIG_EXAMPLES_HELLO=y CONFIG_FS_HOSTFS=y diff --git a/boards/risc-v/qemu-rv/rv-virt/configs/python/defconfig b/boards/risc-v/qemu-rv/rv-virt/configs/python/defconfig index be9fb6aae2..e0733ab41c 100644 --- a/boards/risc-v/qemu-rv/rv-virt/configs/python/defconfig +++ b/boards/risc-v/qemu-rv/rv-virt/configs/python/defconfig @@ -35,7 +35,6 @@ CONFIG_DEBUG_FEATURES=y CONFIG_DEBUG_FULLOPT=y CONFIG_DEBUG_SYMBOLS=y CONFIG_DEV_URANDOM=y -CONFIG_DEV_ZERO=y CONFIG_ELF=y CONFIG_EVENT_FD=y CONFIG_EXAMPLES_HELLO=y diff --git a/boards/risc-v/qemu-rv/rv-virt/configs/virt_nsh/defconfig b/boards/risc-v/qemu-rv/rv-virt/configs/virt_nsh/defconfig index 09f5d9bdb1..cb7da874cc 100644 --- a/boards/risc-v/qemu-rv/rv-virt/configs/virt_nsh/defconfig +++ b/boards/risc-v/qemu-rv/rv-virt/configs/virt_nsh/defconfig @@ -28,7 +28,6 @@ CONFIG_DEBUG_FEATURES=y CONFIG_DEBUG_FULLOPT=y CONFIG_DEBUG_SYMBOLS=y CONFIG_DEV_SIMPLE_ADDRENV=y -CONFIG_DEV_ZERO=y CONFIG_DRIVERS_VIRTIO=y CONFIG_DRIVERS_VIRTIO_MMIO=y CONFIG_DRIVERS_VIRTIO_SERIAL=y diff --git a/boards/risc-v/sg2000/milkv_duos/configs/nsh/defconfig b/boards/risc-v/sg2000/milkv_duos/configs/nsh/defconfig index 8656fae767..790726fc55 100644 --- a/boards/risc-v/sg2000/milkv_duos/configs/nsh/defconfig +++ b/boards/risc-v/sg2000/milkv_duos/configs/nsh/defconfig @@ -48,7 +48,6 @@ CONFIG_DEBUG_ASSERTIONS_EXPRESSION=y CONFIG_DEBUG_FEATURES=y CONFIG_DEBUG_FULLOPT=y CONFIG_DEBUG_SYMBOLS=y -CONFIG_DEV_ZERO=y CONFIG_ELF=y CONFIG_EXAMPLES_HELLO=m CONFIG_FS_PROCFS=y diff --git a/boards/xtensa/esp32s3/esp32s3-eye/configs/gpio/defconfig b/boards/xtensa/esp32s3/esp32s3-eye/configs/gpio/defconfig index efb9f70229..2bebce2c32 100644 --- a/boards/xtensa/esp32s3/esp32s3-eye/configs/gpio/defconfig +++ b/boards/xtensa/esp32s3/esp32s3-eye/configs/gpio/defconfig @@ -25,7 +25,6 @@ CONFIG_BUILTIN=y CONFIG_DEBUG_FULLOPT=y CONFIG_DEBUG_SYMBOLS=y CONFIG_DEV_GPIO=y -CONFIG_DEV_ZERO=y CONFIG_ESP32S3_GPIO_IRQ=y CONFIG_ESP32S3_USBSERIAL=y CONFIG_EXAMPLES_GPIO=y diff --git a/boards/xtensa/esp32s3/esp32s3-eye/configs/i2c/defconfig b/boards/xtensa/esp32s3/esp32s3-eye/configs/i2c/defconfig index 33c1996d71..f14a57c0da 100644 --- a/boards/xtensa/esp32s3/esp32s3-eye/configs/i2c/defconfig +++ b/boards/xtensa/esp32s3/esp32s3-eye/configs/i2c/defconfig @@ -22,7 +22,6 @@ CONFIG_BOARD_LOOPSPERMSEC=16717 CONFIG_BUILTIN=y CONFIG_DEBUG_FULLOPT=y CONFIG_DEBUG_SYMBOLS=y -CONFIG_DEV_ZERO=y CONFIG_ESP32S3_GPIO_IRQ=y CONFIG_ESP32S3_I2C0=y CONFIG_ESP32S3_I2C0_SCLPIN=5 diff --git a/boards/xtensa/esp32s3/esp32s3-eye/configs/lcd/defconfig b/boards/xtensa/esp32s3/esp32s3-eye/configs/lcd/defconfig index 14ce9a3018..d77a73378d 100644 --- a/boards/xtensa/esp32s3/esp32s3-eye/configs/lcd/defconfig +++ b/boards/xtensa/esp32s3/esp32s3-eye/configs/lcd/defconfig @@ -22,7 +22,6 @@ CONFIG_BOARD_LOOPSPERMSEC=16717 CONFIG_BUILTIN=y CONFIG_DEBUG_FULLOPT=y CONFIG_DEBUG_SYMBOLS=y -CONFIG_DEV_ZERO=y CONFIG_DRIVERS_VIDEO=y CONFIG_ESP32S3_EYE_LCD=y CONFIG_ESP32S3_GPIO_IRQ=y