Skip to content

Commit

Permalink
boards/arm/nrf52/nrf52840-dk: replace some configs with jumbo config
Browse files Browse the repository at this point in the history
replace some configs with jumbo config for nrf52840-dk
  • Loading branch information
raiden00pl authored and xiaoxiang781216 committed Oct 20, 2024
1 parent 0170438 commit 56b50a2
Show file tree
Hide file tree
Showing 6 changed files with 23 additions and 215 deletions.
29 changes: 6 additions & 23 deletions Documentation/platforms/arm/nrf52/boards/nrf52840-dk/index.rst
Original file line number Diff line number Diff line change
Expand Up @@ -60,15 +60,13 @@ follow::

Where <subdir> is one of the following:

adc
----

This configuration shows the use of the ADC peripheral.

buttons
-------
jumbo
-----

This configuration shows the use of the buttons subsystem.
This configuration enables many Apache NuttX features. This is
mostly to help provide additional code coverage in CI, but also
allows for a users to see a wide range of features that are
supported by the OS.

cdcacm
-------
Expand Down Expand Up @@ -97,16 +95,6 @@ ostest_tickless
This is a NSH configuration that includes ``apps/testing/ostest`` as a builtin
and enable support for the tick-less OS.

pwm
---

This configuration shows the use of the PWM peripheral.

qspi
----

NuttShell configuration with enabled support for on-board MX25R QSPI memory.

rndis
-----

Expand All @@ -129,11 +117,6 @@ sx127x

NuttShell configuration with support for sx127x chip.

timer
------

This configuration shows the use of the TIMER peripheral.

usbnsh
------

Expand Down
49 changes: 0 additions & 49 deletions boards/arm/nrf52/nrf52840-dk/configs/adc/defconfig

This file was deleted.

51 changes: 0 additions & 51 deletions boards/arm/nrf52/nrf52840-dk/configs/buttons/defconfig

This file was deleted.

Original file line number Diff line number Diff line change
Expand Up @@ -8,29 +8,46 @@
# CONFIG_ARCH_FPU is not set
# CONFIG_NSH_DISABLE_IFCONFIG is not set
# CONFIG_NSH_DISABLE_PS is not set
CONFIG_ADC=y
CONFIG_ANALOG=y
CONFIG_ARCH="arm"
CONFIG_ARCH_BOARD="nrf52840-dk"
CONFIG_ARCH_BOARD_COMMON=y
CONFIG_ARCH_BOARD_NRF52840_DK=y
CONFIG_ARCH_BUTTONS=y
CONFIG_ARCH_CHIP="nrf52"
CONFIG_ARCH_CHIP_NRF52840=y
CONFIG_ARCH_CHIP_NRF52=y
CONFIG_ARCH_IRQBUTTONS=y
CONFIG_ARCH_STACKDUMP=y
CONFIG_ARCH_STDARG_H=y
CONFIG_BOARD_LOOPSPERMSEC=5500
CONFIG_BUILTIN=y
CONFIG_EXAMPLES_ADC=y
CONFIG_EXAMPLES_ADC_NSAMPLES=4
CONFIG_EXAMPLES_ADC_SWTRIG=y
CONFIG_EXAMPLES_PWM=y
CONFIG_EXAMPLES_TIMER=y
CONFIG_EXAMPLES_WATCHDOG=y
CONFIG_FAT_LCNAMES=y
CONFIG_FAT_LFN=y
CONFIG_FS_FAT=y
CONFIG_FS_LITTLEFS=y
CONFIG_INIT_ENTRYPOINT="nsh_main"
CONFIG_MM_REGIONS=2
CONFIG_MTD=y
CONFIG_MTD_MX25RXX=y
CONFIG_NRF52_PWM0=y
CONFIG_NRF52_PWM0_CH0=y
CONFIG_NRF52_PWM0_CH1=y
CONFIG_NRF52_PWM0_CH2=y
CONFIG_NRF52_PWM0_CH3=y
CONFIG_NRF52_PWM_MULTICHAN=y
CONFIG_NRF52_QSPI=y
CONFIG_NRF52_SAADC=y
CONFIG_NRF52_TIMER2=y
CONFIG_NRF52_UART0=y
CONFIG_NRF52_WDT=y
CONFIG_NSH_ARCHINIT=y
CONFIG_NSH_BUILTIN_APPS=y
CONFIG_NSH_FILEIOSIZE=512
Expand Down
45 changes: 0 additions & 45 deletions boards/arm/nrf52/nrf52840-dk/configs/qspi/defconfig

This file was deleted.

47 changes: 0 additions & 47 deletions boards/arm/nrf52/nrf52840-dk/configs/timer/defconfig

This file was deleted.

0 comments on commit 56b50a2

Please sign in to comment.