You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@nuttx.apache.org by xi...@apache.org on 2020/09/15 07:25:26 UTC

[incubator-nuttx] branch feature/syscall-instrumentation updated (952af92 -> cc23a91)

This is an automated email from the ASF dual-hosted git repository.

xiaoxiang pushed a change to branch feature/syscall-instrumentation
in repository https://gitbox.apache.org/repos/asf/incubator-nuttx.git.


    from 952af92  sched/note: Move the circle buffer code to driver
     add 35b2e7c  boards: spresense: Fix build error for wifi_smp
     add 0a2c7f7  RX65N RTC Pre-check Warnings Resolved
     add 835d394  tiva: tiva_timerlow32.c: Fix nxstyle warnings
     add ce93fe7  arm: cxd56xx: Fix nvic settings for SMP
     add 42a1d45  arch/sim: replace printf fprintf to syslog, '\r\n' -> '\n'
     add 21cff9f  sim/Make.defs: add -fvisibility=hidden to CFLAGS
     add 2cfb239  arch/sim/src/nuttx-names.in: only host code need replace if -fvisibility=hidden
     add 2d9e0f6  stm32f7:DMA Do not disqualify DMA capability based on cache alignment
     add 9106c4e  stm32h7:DMA Do not disqualify DMA capability based on cache alignment
     add bf06776  fs/vfs: reuse file_dup2 directly in file_dup to fix segfault issue
     add 20c5c57  Update tiva_timerlow32.c
     add 8f6b2f6  tiva: tiva_adclib.c: Fix nxstyle warnings
     add 06ca12e  arch/: Trivial typos, mostly "their is" to "there is"
     add 22651fa  arch: cxd56xx: Introduce cxd56_testset.c
     add a712fbd  boards: wifi_smp: Add CONFIG_CXD56_TESTSET=y to defconfig
     add 2c8aa86  tools: Add nuttx-gdbinit for nuttx thread debugging
     add d785394  arch/sim/src/sim/up_tapdev.c: fix compile error
     add 61cd792  nrf52840-dk: fix config dependency
     add dcd49c3  nrf52_rtc: add missing getcounter()
     add 459ad29  nrf52: extend systimer support; support WFI/WFE again
     add 55b48b1  mmcsd_sdio: Arm the write complete detection
     add 80405e1  sched_note:Allow for external endpoints
     add 3316c19  tiva: tiva_adclow.c, tiva_allocateheap: Fix nxstyle warnings
     add 1c488eb  sched_note:Allow for external endpoints - spelling
     add 3d07d45  CI: Disable keeping ccache across builds
     add c8c2745  include/sys/types.h: add u_intXX_t support
     add 6dc3cbe  arch/Kconfig: add ARCH_HAVE_SERIAL_TERMIOS support to ARCH_SIM
     add f428160  signal: add SIGQUIT & SIGTERM support
     add 58317b1  drivers: wireless: Fix warnings in gs2200m.c
     add 154d6bc  arch: cxd56xx: Use spinlock API in cxd56_gpioint.c
     add b079726  libc/stdio: Allocate file_struct dynamically
     add d1d8f25  boards/esp32: Remove CONFIG_NFILE_STREAMS option
     add 70caa27  tiva: tiva_dumpgpio.c: Fix nxstyle warnings
     add 7b965a2  Documentation: build documentation using sphinx -j option which parallelizes jobs
     add 6b6d983  arch/xtensa/src/esp32/esp32_spiflash.c: Don't double check for direct read mode.
     add 9c0157c  arch/xtensa/src/esp32/esp32_spiflash.c: Cosmetic changes.
     add c27bf32  arch/xtensa/src/esp32/Kconfig: Add the SPI FLASH title to make appear in menuconfig.
     add d485ccc  boards/xtensa/esp32/esp32-core: Support for the external FLASH.
     add 53b975f  boards/xtensa/esp32/esp32-core: Add a defconfig example for the SPIFlash.
     add dbf5816  CI: remove use of source cache, use artifacts instead
     add 0c3930b  sched: Rename note_add to sched_note_add
     add c187840  fix: normalize two board configs which were not updated for CONFIG_NFILE_STREAMS change
     add 94e1a92  documentation: work on quickstart, add tabs sphinx extension
     add 5106c3f  documentation: make the "make clean" suggestion a warning
     add 493b0bf  drivers/timers/pwm.c: add missing new lines to some debug messages
     add a2b00fd  nrf52: add PWM support
     add e7f3028  nrf52: add ADC support
     add 13ff8e0  boards/nrf52840-dk: add ADC and PWM examples
     add 49d0d41  arch/arm/src/nrf52/nrf52_pwm.c: add missing index for pwm2 and pwm3
     add 749eac9  boards/nrf52840-dk: normalize adc and pwm configs
     add 1ab6833  tiva: tiva_eeprom.c: Fix nxstyle warnings
     add 7d16090  Fix testbuild.sh to actually fail when using -x. Leave -x out for CI so that we detect all possible build errors for a job.
     add 5f85024  nrf52: SPI cmddata function mapping wrong for SPI(0,2,3)
     add 3d11590  Remove extra application of EXTRAFLAGS and KDEFINE and the arch-level
     add 93eeecf  nrf52: SPI transfer failure and corruption
     add 34b34e2  Fix: ensure archive files do not carry object files from prior builds
     add 3634bb6  sim/uart: support tty operation in arch/sim
     add 03c7951  libc/termios: modify termios setting follow linux and posix
     add e681396  tiva: tiva_lowputc.c, tiva_qencoder.c: Fix nxstyle warnings
     add 027e2ee  libc: Implement umask function
     add 539a033  sched: Refine the comment for SCHED_INSTRUMENTATION_EXTERNAL
     add c9e618b  nRF: Incorrect base addresses for SPI controllers 1,2,3
     add 6b7dd62  mm/mm_heap/mm_initialize.c: add sem lock to mm_addregion()
     add 7d1ac72  boards/Board.mk: Make the context target a double colon target and allow other obards to extend it instead of relaying on a definition of a variable.
     add 3e48832  z80: missing removal of KDEFINE/EXTRAFLAGS at arch level
     add 0e22ece  RX65N Ethernet pre-check warnings resolved
     add 7ce5369  Fix cxd56 uart deadlock
     add a97a9ae  arch/xtensa/src/esp32/esp32_spiflash.c: File scope global variables are prefixed with g_
     add 55f7473  arch/xtensa/src/esp32/esp32_spiflash.c: #if0-out unused functions.
     add d47131d  arch/xtensa/src/esp32/hardware/esp32_spi.h: Remove a leftover license.
     add c11c1dc  libs/libc/stdio: replace double_t to double
     add 77ae037  note: Rename note driver to noteram driver
     add b1f851c  boards/xtensa/esp32/esp32-core/scripts/Make.defs: Generate a map file with a cross reference table.
     add f1b74fe  boards/xtensa/esp32/esp32-core/scripts/esp32.template: Rename the file to have it automatically syntax highlited in editors.
     add e90eee9  boards/xtensa/esp32/esp32-core/scripts/esp32.template.ld: Update the linker script and correct some addresses.
     add cc23a91  Rename note_add to sched_note_add in sched_note_irqhandler()

No new revisions were added by this update.

Summary of changes:
 .github/workflows/build.yml                        |  71 +-
 Documentation/Makefile                             |   2 +-
 Documentation/Pipfile                              |   1 +
 Documentation/Pipfile.lock                         |  28 +-
 Documentation/_static/custom.css                   |  20 +
 Documentation/components/nsh/config.rst            |   2 +-
 Documentation/conf.py                              |   1 +
 Documentation/contributing/documentation.rst       |  19 +
 Documentation/quickstart/compiling.rst             | 103 ++-
 Documentation/quickstart/install.rst               | 256 +++---
 Documentation/quickstart/quickstart.rst            |  33 +-
 Documentation/quickstart/running.rst               | 125 ++-
 README.md                                          |  12 +-
 arch/Kconfig                                       |   1 +
 arch/README.txt                                    |   6 +-
 arch/arm/Kconfig                                   |   2 +
 arch/arm/src/Makefile                              |  10 +-
 arch/arm/src/common/arm_exit.c                     |  11 +-
 arch/arm/src/common/arm_idle.c                     |   2 +-
 arch/arm/src/cxd56xx/Kconfig                       |   7 +
 arch/arm/src/cxd56xx/Make.defs                     |   9 +-
 arch/arm/src/cxd56xx/cxd56_cpustart.c              |   4 +
 arch/arm/src/cxd56xx/cxd56_gpioint.c               |  18 +-
 arch/arm/src/cxd56xx/cxd56_idle.c                  |   2 +-
 arch/arm/src/cxd56xx/cxd56_serial.c                |   4 +-
 arch/arm/src/cxd56xx/cxd56_sph.c                   |   6 +-
 .../src/cxd56xx/cxd56_testset.c}                   |  72 +-
 arch/arm/src/efm32/efm32_idle.c                    |   2 +-
 arch/arm/src/eoss3/eoss3_idle.c                    |   2 +-
 arch/arm/src/imx6/imx_idle.c                       |   2 +-
 arch/arm/src/imxrt/imxrt_idle.c                    |   2 +-
 arch/arm/src/kinetis/kinetis_idle.c                |   2 +-
 arch/arm/src/kl/kl_idle.c                          |   2 +-
 arch/arm/src/lc823450/lc823450_idle.c              |   2 +-
 arch/arm/src/lpc17xx_40xx/lpc17_40_idle.c          |   2 +-
 arch/arm/src/lpc43xx/lpc43_idle.c                  |   2 +-
 arch/arm/src/lpc54xx/lpc54_idle.c                  |   2 +-
 arch/arm/src/max326xx/common/max326_idle.c         |   2 +-
 arch/arm/src/moxart/moxart_idle.c                  |   2 +-
 arch/arm/src/nrf52/Kconfig                         | 286 +++++++
 arch/arm/src/nrf52/Make.defs                       |  24 +-
 arch/arm/src/nrf52/hardware/nrf52_pwm.h            | 176 ++++
 arch/arm/src/nrf52/hardware/nrf52_saadc.h          | 130 ++-
 arch/arm/src/nrf52/nrf52_adc.c                     | 950 +++++++++++++++++++++
 arch/arm/src/nrf52/nrf52_adc.h                     | 161 ++++
 arch/arm/src/nrf52/nrf52_idle.c                    |   6 +-
 arch/arm/src/nrf52/nrf52_pwm.c                     | 719 ++++++++++++++++
 arch/arm/src/nrf52/nrf52_pwm.h                     | 131 +++
 arch/arm/src/nrf52/nrf52_rtc.c                     |  14 +
 arch/arm/src/nrf52/nrf52_rtc.h                     |   2 +
 arch/arm/src/nrf52/nrf52_spi.c                     |  36 +-
 .../up_idle.c => arm/src/nrf52/nrf52_systick.c}    |  46 +-
 arch/arm/src/nrf52/nrf52_tickless_rtc.c            | 330 +++++++
 arch/arm/src/nrf52/nrf52_timerisr.c                | 148 ----
 arch/arm/src/nuc1xx/nuc_idle.c                     |   2 +-
 arch/arm/src/s32k1xx/s32k1xx_idle.c                |   2 +-
 arch/arm/src/sam34/sam4cm_cpuidlestack.c           |   2 +-
 arch/arm/src/sam34/sam4cm_idle.c                   |   2 +-
 arch/arm/src/samd2l2/sam_idle.c                    |   2 +-
 arch/arm/src/samd5e5/sam_idle.c                    |   2 +-
 arch/arm/src/stm32/stm32_idle.c                    |   8 +-
 arch/arm/src/stm32f0l0g0/stm32_idle.c              |   2 +-
 arch/arm/src/stm32f7/Kconfig                       |  11 +
 arch/arm/src/stm32f7/stm32_dma.c                   |   4 +-
 arch/arm/src/stm32h7/Kconfig                       |  10 +
 arch/arm/src/stm32h7/stm32_dma.c                   |   6 +-
 arch/arm/src/stm32l4/stm32l4_idle.c                |   2 +-
 arch/arm/src/tiva/common/tiva_adclib.c             |  44 +-
 arch/arm/src/tiva/common/tiva_adclow.c             |   4 +-
 arch/arm/src/tiva/common/tiva_allocateheap.c       |  11 +-
 arch/arm/src/tiva/common/tiva_dumpgpio.c           |  27 +-
 arch/arm/src/tiva/common/tiva_eeprom.c             |  64 +-
 arch/arm/src/tiva/common/tiva_idle.c               |   2 +-
 arch/arm/src/tiva/common/tiva_lowputc.c            |   3 +-
 arch/arm/src/tiva/common/tiva_qencoder.c           |  53 +-
 arch/arm/src/tiva/common/tiva_timerlow32.c         |  84 +-
 arch/arm/src/xmc4/xmc4_idle.c                      |   2 +-
 arch/avr/src/Makefile                              |  10 +-
 arch/avr/src/common/up_exit.c                      |  11 +-
 arch/avr/src/common/up_idle.c                      |   2 +-
 arch/hc/src/Makefile                               |  10 +-
 arch/hc/src/common/up_exit.c                       |  11 +-
 arch/hc/src/common/up_idle.c                       |   2 +-
 arch/mips/src/Makefile                             |  10 +-
 arch/mips/src/common/mips_exit.c                   |  11 +-
 arch/mips/src/common/mips_idle.c                   |   2 +-
 arch/misoc/src/Makefile                            |  10 +-
 arch/misoc/src/lm32/lm32_exit.c                    |  11 +-
 arch/misoc/src/minerva/minerva_exit.c              |  11 +-
 arch/misoc/src/minerva/minerva_idle.c              |  12 +-
 arch/or1k/src/Makefile                             |  10 +-
 arch/or1k/src/common/up_exit.c                     |  11 +-
 arch/or1k/src/common/up_idle.c                     |   2 +-
 arch/renesas/src/Makefile                          |  10 +-
 arch/renesas/src/common/up_exit.c                  |  11 +-
 arch/renesas/src/rx65n/rx65n_eth.c                 | 153 ----
 arch/renesas/src/rx65n/rx65n_rtc.c                 |   4 +
 arch/risc-v/src/Makefile                           |  10 +-
 arch/risc-v/src/common/riscv_exit.c                |  11 +-
 arch/risc-v/src/common/riscv_idle.c                |   2 +-
 arch/risc-v/src/fe310/fe310_idle.c                 |   2 +-
 arch/risc-v/src/gap8/gap8_idle.c                   |   2 +-
 arch/risc-v/src/k210/k210_idle.c                   |   2 +-
 arch/risc-v/src/litex/litex_idle.c                 |   2 +-
 arch/sim/Kconfig                                   |  24 +
 arch/sim/src/Makefile                              |  21 +-
 arch/sim/src/nuttx-names.in                        | 135 ---
 arch/sim/src/sim/up_devconsole.c                   | 319 -------
 arch/sim/src/sim/up_deviceimage.c                  |  14 +-
 arch/sim/src/sim/up_head.c                         |   5 +-
 arch/sim/src/sim/up_idle.c                         |   6 +-
 arch/sim/src/sim/up_initialize.c                   |  10 +-
 arch/sim/src/sim/up_internal.h                     |  16 +-
 arch/sim/src/sim/up_simuart.c                      | 124 ++-
 arch/sim/src/sim/up_tapdev.c                       |  48 +-
 arch/sim/src/sim/up_uart.c                         | 572 +++++++++++++
 arch/sim/src/sim/up_vpnkit.c                       |   5 +-
 arch/sim/src/sim/up_wpcap.c                        |  16 +-
 arch/sim/src/sim/up_x11framebuffer.c               |  15 +-
 arch/sim/src/sim/vpnkit/negotiate.c                |   5 +-
 arch/sim/src/sim/vpnkit/protocol.c                 |   3 +-
 arch/x86/src/Makefile                              |  10 +-
 arch/x86/src/common/up_exit.c                      |  11 +-
 arch/x86/src/qemu/qemu_idle.c                      |   2 +-
 arch/x86_64/src/Makefile                           |  10 +-
 arch/x86_64/src/common/up_exit.c                   |  11 +-
 arch/x86_64/src/intel64/intel64_idle.c             |   2 +-
 arch/xtensa/src/Makefile                           |  10 +-
 arch/xtensa/src/common/xtensa_exit.c               |  11 +-
 arch/xtensa/src/common/xtensa_idle.c               |   2 +-
 arch/xtensa/src/esp32/Kconfig                      |   2 +-
 arch/xtensa/src/esp32/esp32_spiflash.c             |  90 +-
 arch/xtensa/src/esp32/hardware/esp32_spi.h         |  17 -
 arch/z16/src/Makefile                              |   6 +-
 arch/z16/src/common/z16_exit.c                     |  11 +-
 arch/z80/src/Makefile.sdccl                        |   2 +-
 arch/z80/src/Makefile.sdccw                        |   2 +-
 arch/z80/src/Makefile.zdsiil                       |   4 +-
 arch/z80/src/Makefile.zdsiiw                       |   4 +-
 arch/z80/src/common/z80_exit.c                     |  11 +-
 boards/Board.mk                                    |  11 +-
 boards/README.txt                                  |   6 +-
 boards/arm/a1x/pcduino-a10/configs/nsh/defconfig   |   1 -
 .../am335x/beaglebone-black/configs/lcd/defconfig  |   1 -
 .../am335x/beaglebone-black/configs/nsh/defconfig  |   1 -
 boards/arm/c5471/c5471evm/configs/httpd/defconfig  |   1 -
 .../arm/c5471/c5471evm/configs/nettest/defconfig   |   1 -
 boards/arm/c5471/c5471evm/configs/nsh/defconfig    |   1 -
 .../arm/cxd56xx/spresense/configs/audio/defconfig  |   1 -
 .../cxd56xx/spresense/configs/audio_sdk/defconfig  |   1 -
 .../arm/cxd56xx/spresense/configs/camera/defconfig |   1 -
 boards/arm/cxd56xx/spresense/configs/elf/defconfig |   1 -
 .../spresense/configs/example_camera/defconfig     |   1 -
 .../spresense/configs/example_lcd/defconfig        |   1 -
 boards/arm/cxd56xx/spresense/configs/lcd/defconfig |   1 -
 boards/arm/cxd56xx/spresense/configs/lte/defconfig |   1 -
 .../arm/cxd56xx/spresense/configs/module/defconfig |   1 -
 boards/arm/cxd56xx/spresense/configs/mpy/defconfig |   1 -
 boards/arm/cxd56xx/spresense/configs/nsh/defconfig |   1 -
 .../spresense/configs/posix_spawn/defconfig        |   1 -
 .../arm/cxd56xx/spresense/configs/rndis/defconfig  |   1 -
 boards/arm/cxd56xx/spresense/configs/smp/defconfig |   1 -
 .../arm/cxd56xx/spresense/configs/usbmsc/defconfig |   1 -
 .../arm/cxd56xx/spresense/configs/usbnsh/defconfig |   1 -
 .../arm/cxd56xx/spresense/configs/wifi/defconfig   |   1 -
 .../cxd56xx/spresense/configs/wifi_smp/defconfig   |   4 +-
 .../dm320/ntosd-dm320/configs/nettest/defconfig    |   1 -
 .../arm/dm320/ntosd-dm320/configs/poll/defconfig   |   1 -
 boards/arm/dm320/ntosd-dm320/configs/udp/defconfig |   1 -
 .../dm320/ntosd-dm320/configs/webserver/defconfig  |   1 -
 .../arm/efm32/efm32-g8xx-stk/configs/nsh/defconfig |   1 -
 .../efm32/efm32gg-stk3700/configs/nsh/defconfig    |   1 -
 .../olimex-efm32g880f128-stk/configs/nsh/defconfig |   1 -
 boards/arm/imx6/sabre-6quad/configs/nsh/defconfig  |   1 -
 boards/arm/imx6/sabre-6quad/configs/smp/defconfig  |   1 -
 .../imxrt/imxrt1020-evk/configs/netnsh/defconfig   |   1 -
 .../arm/imxrt/imxrt1020-evk/configs/nsh/defconfig  |   1 -
 .../imxrt/imxrt1020-evk/configs/usdhc/defconfig    |   1 -
 .../arm/imxrt/imxrt1050-evk/configs/knsh/defconfig |   1 -
 .../imxrt1050-evk/configs/libcxxtest/defconfig     |   1 -
 .../imxrt/imxrt1050-evk/configs/netnsh/defconfig   |   1 -
 .../arm/imxrt/imxrt1050-evk/configs/nsh/defconfig  |   1 -
 .../arm/imxrt/imxrt1060-evk/configs/knsh/defconfig |   1 -
 .../imxrt1060-evk/configs/libcxxtest/defconfig     |   1 -
 .../arm/imxrt/imxrt1060-evk/configs/lvgl/defconfig |   1 -
 .../imxrt/imxrt1060-evk/configs/netnsh/defconfig   |   1 -
 .../arm/imxrt/imxrt1060-evk/configs/nsh/defconfig  |   1 -
 .../imxrt/imxrt1060-evk/configs/nshocram/defconfig |   1 -
 .../arm/kinetis/freedom-k28f/configs/nsh/defconfig |   1 -
 .../freedom-k28f/configs/nshsdusb/defconfig        |   1 -
 .../kinetis/freedom-k64f/configs/netnsh/defconfig  |   1 -
 .../arm/kinetis/freedom-k64f/configs/nsh/defconfig |   1 -
 .../kinetis/freedom-k66f/configs/netnsh/defconfig  |   1 -
 .../arm/kinetis/freedom-k66f/configs/nsh/defconfig |   1 -
 .../kinetis/kwikstik-k40/configs/ostest/defconfig  |   1 -
 .../arm/kinetis/teensy-3.x/configs/nsh/defconfig   |   1 -
 .../kinetis/teensy-3.x/configs/usbnsh/defconfig    |   1 -
 .../arm/kinetis/twr-k60n512/configs/nsh/defconfig  |   1 -
 .../kinetis/twr-k64f120m/configs/netnsh/defconfig  |   1 -
 .../arm/kinetis/twr-k64f120m/configs/nsh/defconfig |   1 -
 boards/arm/kl/freedom-kl25z/configs/nsh/defconfig  |   1 -
 boards/arm/kl/freedom-kl26z/configs/nsh/defconfig  |   1 -
 boards/arm/kl/teensy-lc/configs/nsh/defconfig      |   1 -
 .../lc823450-xgevk/configs/audio/defconfig         |   1 -
 .../lc823450/lc823450-xgevk/configs/bt/defconfig   |   1 -
 .../lc823450/lc823450-xgevk/configs/elf/defconfig  |   1 -
 .../lc823450/lc823450-xgevk/configs/ipl2/defconfig |   1 -
 .../lc823450/lc823450-xgevk/configs/knsh/defconfig |   1 -
 .../lc823450-xgevk/configs/kostest/defconfig       |   1 -
 .../lc823450-xgevk/configs/krndis/defconfig        |   1 -
 .../lc823450/lc823450-xgevk/configs/nsh/defconfig  |   1 -
 .../lc823450-xgevk/configs/posix_spawn/defconfig   |   1 -
 .../lc823450-xgevk/configs/rndis/defconfig         |   1 -
 .../lc823450/lc823450-xgevk/configs/usb/defconfig  |   1 -
 .../lincoln60/configs/netnsh/defconfig             |   1 -
 .../lpc17xx_40xx/lincoln60/configs/nsh/defconfig   |   1 -
 .../lincoln60/configs/thttpd-binfs/defconfig       |   1 -
 .../lpc4088-devkit/configs/knsh/defconfig          |   1 -
 .../lpc4088-devkit/configs/nsh/defconfig           |   1 -
 .../lpc4088-quickstart/configs/knsh/defconfig      |   1 -
 .../lpc4088-quickstart/configs/nsh/defconfig       |   1 -
 .../lpcxpresso-lpc1768/configs/dhcpd/defconfig     |   1 -
 .../lpcxpresso-lpc1768/configs/nsh/defconfig       |   1 -
 .../lpcxpresso-lpc1768/configs/nx/defconfig        |   1 -
 .../lpcxpresso-lpc1768/configs/thttpd/defconfig    |   1 -
 .../lpcxpresso-lpc1768/configs/usbmsc/defconfig    |   1 -
 .../arm/lpc17xx_40xx/lx_cpu/configs/nsh/defconfig  |   1 -
 boards/arm/lpc17xx_40xx/mbed/configs/nsh/defconfig |   1 -
 .../arm/lpc17xx_40xx/mcb1700/configs/nsh/defconfig |   1 -
 .../olimex-lpc1766stk/configs/ftpc/defconfig       |   1 -
 .../olimex-lpc1766stk/configs/hidkbd/defconfig     |   1 -
 .../olimex-lpc1766stk/configs/hidmouse/defconfig   |   1 -
 .../olimex-lpc1766stk/configs/nettest/defconfig    |   1 -
 .../olimex-lpc1766stk/configs/nsh/defconfig        |   1 -
 .../olimex-lpc1766stk/configs/slip-httpd/defconfig |   1 -
 .../configs/thttpd-binfs/defconfig                 |   1 -
 .../configs/thttpd-nxflat/defconfig                |   1 -
 .../olimex-lpc1766stk/configs/usbmsc/defconfig     |   1 -
 .../olimex-lpc1766stk/configs/usbserial/defconfig  |   1 -
 .../olimex-lpc1766stk/configs/zmodem/defconfig     |   1 -
 .../arm/lpc17xx_40xx/open1788/configs/fb/defconfig |   1 -
 .../lpc17xx_40xx/open1788/configs/knsh/defconfig   |   1 -
 .../open1788/configs/knxterm/defconfig             |   1 -
 .../lpc17xx_40xx/open1788/configs/nsh/defconfig    |   1 -
 .../open1788/configs/nxlines/defconfig             |   1 -
 .../open1788/configs/pdcurses/defconfig            |   1 -
 .../lpc17xx_40xx/open1788/configs/pwfb/defconfig   |   1 -
 .../lpc17xx_40xx/u-blox-c027/configs/nsh/defconfig |   1 -
 .../zkit-arm-1769/configs/hello/defconfig          |   1 -
 .../zkit-arm-1769/configs/nsh/defconfig            |   1 -
 .../zkit-arm-1769/configs/nxhello/defconfig        |   1 -
 .../zkit-arm-1769/configs/thttpd/defconfig         |   1 -
 .../mcu123-lpc214x/configs/composite/defconfig     |   1 -
 .../lpc214x/mcu123-lpc214x/configs/nsh/defconfig   |   1 -
 .../mcu123-lpc214x/configs/usbmsc/defconfig        |   1 -
 .../mcu123-lpc214x/configs/usbserial/defconfig     |   1 -
 boards/arm/lpc214x/zp214xpa/configs/nsh/defconfig  |   1 -
 .../arm/lpc214x/zp214xpa/configs/nxlines/defconfig |   1 -
 .../lpc2378/olimex-lpc2378/configs/nsh/defconfig   |   1 -
 boards/arm/lpc31xx/ea3131/configs/nsh/defconfig    |   1 -
 boards/arm/lpc31xx/ea3131/configs/pgnsh/defconfig  |   1 -
 .../arm/lpc31xx/ea3131/configs/usbserial/defconfig |   1 -
 boards/arm/lpc31xx/ea3152/configs/ostest/defconfig |   1 -
 .../lpc31xx/olimex-lpc-h3131/configs/nsh/defconfig |   1 -
 .../lpc43xx/bambino-200e/configs/knsh/defconfig    |   1 -
 .../bambino-200e/configs/max31855/defconfig        |   1 -
 .../lpc43xx/bambino-200e/configs/netnsh/defconfig  |   1 -
 .../arm/lpc43xx/bambino-200e/configs/nsh/defconfig |   1 -
 .../lpc43xx/bambino-200e/configs/usbnsh/defconfig  |   1 -
 .../lpc43xx/lpc4330-xplorer/configs/nsh/defconfig  |   1 -
 .../arm/lpc43xx/lpc4337-ws/configs/nsh/defconfig   |   1 -
 .../arm/lpc43xx/lpc4357-evb/configs/nsh/defconfig  |   1 -
 .../lpc43xx/lpc4370-link2/configs/nsh/defconfig    |   1 -
 .../lpcxpresso-lpc54628/configs/fb/defconfig       |   1 -
 .../lpcxpresso-lpc54628/configs/lvgl/defconfig     |   1 -
 .../lpcxpresso-lpc54628/configs/netnsh/defconfig   |   1 -
 .../lpcxpresso-lpc54628/configs/nsh/defconfig      |   1 -
 .../lpcxpresso-lpc54628/configs/nxwm/defconfig     |   1 -
 .../lpcxpresso-lpc54628/configs/pwfb/defconfig     |   1 -
 .../lpcxpresso-lpc54628/configs/pwlines/defconfig  |   1 -
 .../lpcxpresso-lpc54628/configs/twm4nx1/defconfig  |   1 -
 .../lpcxpresso-lpc54628/configs/twm4nx2/defconfig  |   1 -
 .../max326xx/max32660-evsys/configs/nsh/defconfig  |   1 -
 boards/arm/moxart/moxa/configs/nsh/defconfig       |   1 -
 .../arm/nrf52/nrf52-feather/configs/nsh/defconfig  |   1 -
 .../nrf52/nrf52-feather/configs/userleds/defconfig |   1 -
 boards/arm/nrf52/nrf52832-dk/configs/nsh/defconfig |   1 -
 .../arm/nrf52/nrf52832-dk/configs/wdog/defconfig   |   1 -
 .../arm/nrf52/nrf52832-mdk/configs/nsh/defconfig   |   1 -
 .../nrf52/nrf52832-sparkfun/configs/nsh/defconfig  |   1 -
 .../nrf52840-dk/configs/{timer => adc}/defconfig   |  11 +-
 .../nrf52/nrf52840-dk/configs/highpri/defconfig    |   1 -
 boards/arm/nrf52/nrf52840-dk/configs/nsh/defconfig |   1 -
 .../nrf52840-dk/configs/{timer => pwm}/defconfig   |  15 +-
 .../arm/nrf52/nrf52840-dk/configs/timer/defconfig  |   2 -
 boards/arm/nrf52/nrf52840-dk/include/board.h       |  28 +
 boards/arm/nrf52/nrf52840-dk/src/Makefile          |  10 +
 boards/arm/nrf52/nrf52840-dk/src/nrf52840-dk.h     |  24 +
 boards/arm/nrf52/nrf52840-dk/src/nrf52_adc.c       | 200 +++++
 boards/arm/nrf52/nrf52840-dk/src/nrf52_bringup.c   |  26 +-
 .../arm/nrf52/nrf52840-dk/src/nrf52_pwm.c          |  75 +-
 .../nrf52/nrf52840-dongle/configs/nsh/defconfig    |   1 -
 .../arm/nuc1xx/nutiny-nuc120/configs/nsh/defconfig |   1 -
 .../rddrone-uavcan144/configs/nsh/defconfig        |   1 -
 .../rddrone-uavcan144/configs/nshdebug/defconfig   |   1 -
 .../rddrone-uavcan146/configs/nsh/defconfig        |   1 -
 .../rddrone-uavcan146/configs/nshdebug/defconfig   |   1 -
 .../arm/s32k1xx/s32k118evb/configs/nsh/defconfig   |   1 -
 .../arm/s32k1xx/s32k144evb/configs/nsh/defconfig   |   1 -
 .../arm/s32k1xx/s32k146evb/configs/nsh/defconfig   |   1 -
 .../arm/s32k1xx/s32k148evb/configs/nsh/defconfig   |   1 -
 boards/arm/sam34/arduino-due/configs/nsh/defconfig |   1 -
 .../sam34/flipnclick-sam3x/configs/nsh/defconfig   |   1 -
 .../flipnclick-sam3x/configs/nxlines/defconfig     |   1 -
 boards/arm/sam34/sam3u-ek/configs/knsh/defconfig   |   1 -
 boards/arm/sam34/sam3u-ek/configs/nsh/defconfig    |   1 -
 boards/arm/sam34/sam3u-ek/configs/nx/defconfig     |   1 -
 boards/arm/sam34/sam3u-ek/configs/nxwm/defconfig   |   1 -
 boards/arm/sam34/sam4cmp-db/configs/nsh/defconfig  |   1 -
 boards/arm/sam34/sam4e-ek/configs/nsh/defconfig    |   1 -
 boards/arm/sam34/sam4e-ek/configs/nxwm/defconfig   |   1 -
 boards/arm/sam34/sam4e-ek/configs/usbnsh/defconfig |   1 -
 .../arm/sam34/sam4l-xplained/configs/nsh/defconfig |   1 -
 .../arm/sam34/sam4s-xplained/configs/nsh/defconfig |   1 -
 .../sama5/sama5d2-xult/configs/netnsh/defconfig    |   1 -
 .../arm/sama5/sama5d2-xult/configs/nsh/defconfig   |   1 -
 .../sama5/sama5d2-xult/configs/sdmmcnsh/defconfig  |   1 -
 .../sama5d3-xplained/configs/bridge/defconfig      |   1 -
 .../ethernet-over-usb-2-high-speed/defconfig       |   1 -
 .../sama5/sama5d3-xplained/configs/nsh/defconfig   |   1 -
 .../arm/sama5/sama5d3x-ek/configs/demo/defconfig   |   1 -
 .../arm/sama5/sama5d3x-ek/configs/hello/defconfig  |   1 -
 .../sama5/sama5d3x-ek/configs/norboot/defconfig    |   1 -
 boards/arm/sama5/sama5d3x-ek/configs/nsh/defconfig |   1 -
 boards/arm/sama5/sama5d3x-ek/configs/nx/defconfig  |   1 -
 .../sama5/sama5d3x-ek/configs/nxplayer/defconfig   |   1 -
 .../arm/sama5/sama5d3x-ek/configs/nxwm/defconfig   |   1 -
 .../arm/sama5/sama5d3x-ek/configs/ov2640/defconfig |   1 -
 .../sama5/sama5d4-ek/configs/at25boot/defconfig    |   1 -
 .../arm/sama5/sama5d4-ek/configs/bridge/defconfig  |   1 -
 .../sama5/sama5d4-ek/configs/dramboot/defconfig    |   1 -
 boards/arm/sama5/sama5d4-ek/configs/elf/defconfig  |   1 -
 boards/arm/sama5/sama5d4-ek/configs/ipv6/defconfig |   1 -
 boards/arm/sama5/sama5d4-ek/configs/knsh/defconfig |   1 -
 boards/arm/sama5/sama5d4-ek/configs/nsh/defconfig  |   1 -
 boards/arm/sama5/sama5d4-ek/configs/nxwm/defconfig |   1 -
 .../arm/sama5/sama5d4-ek/configs/ramtest/defconfig |   1 -
 .../arm/samd2l2/arduino-m0/configs/nsh/defconfig   |   1 -
 .../samd2l2/arduino-m0/configs/usbnsh/defconfig    |   1 -
 .../samd2l2/samd20-xplained/configs/nsh/defconfig  |   1 -
 .../samd2l2/samd21-xplained/configs/nsh/defconfig  |   1 -
 .../samd2l2/saml21-xplained/configs/nsh/defconfig  |   1 -
 boards/arm/samd5e5/metro-m4/configs/nsh/defconfig  |   1 -
 .../same54-xplained-pro/configs/nsh/defconfig      |   1 -
 .../configs/mrf24j40-starhub/defconfig             |   1 -
 .../samv7/same70-xplained/configs/netnsh/defconfig |   1 -
 .../samv7/same70-xplained/configs/nsh/defconfig    |   1 -
 .../samv7/same70-xplained/configs/twm4nx/defconfig |   1 -
 .../arm/samv7/samv71-xult/configs/knsh/defconfig   |   1 -
 .../arm/samv7/samv71-xult/configs/module/defconfig |   1 -
 .../samv71-xult/configs/mrf24j40-starhub/defconfig |   1 -
 .../samv7/samv71-xult/configs/mxtxplnd/defconfig   |   1 -
 .../arm/samv7/samv71-xult/configs/netnsh/defconfig |   1 -
 boards/arm/samv7/samv71-xult/configs/nsh/defconfig |   1 -
 .../arm/samv7/samv71-xult/configs/nxwm/defconfig   |   1 -
 boards/arm/samv7/samv71-xult/configs/vnc/defconfig |   1 -
 .../arm/samv7/samv71-xult/configs/vnxwm/defconfig  |   1 -
 .../arm/stm32/b-g474e-dpow1/configs/nsh/defconfig  |   1 -
 .../stm32/clicker2-stm32/configs/knsh/defconfig    |   1 -
 .../configs/mrf24j40-6lowpan/defconfig             |   1 -
 .../clicker2-stm32/configs/mrf24j40-mac/defconfig  |   1 -
 .../configs/mrf24j40-starhub/defconfig             |   1 -
 .../configs/mrf24j40-starpoint/defconfig           |   1 -
 .../arm/stm32/clicker2-stm32/configs/nsh/defconfig |   1 -
 .../stm32/clicker2-stm32/configs/usbnsh/defconfig  |   1 -
 .../clicker2-stm32/configs/xbee-6lowpan/defconfig  |   1 -
 boards/arm/stm32/cloudctrl/configs/nsh/defconfig   |   1 -
 .../arm/stm32/fire-stm32v2/configs/nsh/defconfig   |   1 -
 .../arm/stm32/hymini-stm32v/configs/nsh/defconfig  |   1 -
 .../arm/stm32/hymini-stm32v/configs/nsh2/defconfig |   1 -
 .../stm32/hymini-stm32v/configs/usbmsc/defconfig   |   1 -
 .../stm32/hymini-stm32v/configs/usbnsh/defconfig   |   1 -
 .../hymini-stm32v/configs/usbserial/defconfig      |   1 -
 boards/arm/stm32/maple/configs/nsh/defconfig       |   1 -
 boards/arm/stm32/maple/configs/nx/defconfig        |   1 -
 boards/arm/stm32/maple/configs/usbnsh/defconfig    |   1 -
 .../mikroe-stm32f4/configs/fulldemo/defconfig      |   1 -
 .../stm32/mikroe-stm32f4/configs/kostest/defconfig |   1 -
 .../arm/stm32/mikroe-stm32f4/configs/nsh/defconfig |   1 -
 .../arm/stm32/mikroe-stm32f4/configs/nx/defconfig  |   1 -
 .../stm32/mikroe-stm32f4/configs/nxlines/defconfig |   1 -
 .../stm32/mikroe-stm32f4/configs/nxtext/defconfig  |   1 -
 .../stm32/mikroe-stm32f4/configs/usbnsh/defconfig  |   1 -
 .../arm/stm32/nucleo-f103rb/configs/adc/defconfig  |   1 -
 .../arm/stm32/nucleo-f103rb/configs/nsh/defconfig  |   1 -
 .../arm/stm32/nucleo-f103rb/configs/pwm/defconfig  |   1 -
 .../arm/stm32/nucleo-f207zg/configs/adc/defconfig  |   1 -
 .../arm/stm32/nucleo-f207zg/configs/nsh/defconfig  |   1 -
 .../arm/stm32/nucleo-f207zg/configs/pwm/defconfig  |   1 -
 .../stm32/nucleo-f302r8/configs/highpri/defconfig  |   1 -
 .../arm/stm32/nucleo-f302r8/configs/nsh/defconfig  |   1 -
 .../arm/stm32/nucleo-f303re/configs/adc/defconfig  |   1 -
 .../arm/stm32/nucleo-f303re/configs/can/defconfig  |   1 -
 .../stm32/nucleo-f303re/configs/hello/defconfig    |   1 -
 .../arm/stm32/nucleo-f303re/configs/nsh/defconfig  |   1 -
 .../stm32/nucleo-f303re/configs/nxlines/defconfig  |   1 -
 .../arm/stm32/nucleo-f303re/configs/pwm/defconfig  |   1 -
 .../stm32/nucleo-f303re/configs/serialrx/defconfig |   1 -
 .../arm/stm32/nucleo-f303ze/configs/adc/defconfig  |   1 -
 .../arm/stm32/nucleo-f303ze/configs/nsh/defconfig  |   1 -
 .../nucleo-f303ze/configs/nxlines_oled/defconfig   |   1 -
 .../arm/stm32/nucleo-f334r8/configs/adc/defconfig  |   1 -
 .../stm32/nucleo-f334r8/configs/highpri/defconfig  |   1 -
 .../arm/stm32/nucleo-f334r8/configs/nsh/defconfig  |   1 -
 .../stm32/nucleo-f334r8/configs/spwm1/defconfig    |   1 -
 .../stm32/nucleo-f334r8/configs/spwm2/defconfig    |   1 -
 .../arm/stm32/nucleo-f410rb/configs/nsh/defconfig  |   1 -
 .../arm/stm32/nucleo-f412zg/configs/nsh/defconfig  |   1 -
 .../stm32/nucleo-f429zi/configs/netnsh/defconfig   |   1 -
 .../arm/stm32/nucleo-f429zi/configs/nsh/defconfig  |   1 -
 .../arm/stm32/nucleo-f446re/configs/nsh/defconfig  |   1 -
 .../stm32/nucleo-f4x1re/configs/f401-nsh/defconfig |   1 -
 .../configs/f411-mcp2515-extid/defconfig           |   1 -
 .../stm32/nucleo-f4x1re/configs/f411-nsh/defconfig |   1 -
 .../arm/stm32/nucleo-l152re/configs/nsh/defconfig  |   1 -
 .../olimex-stm32-e407/configs/bmp180/defconfig     |   1 -
 .../stm32/olimex-stm32-e407/configs/dac/defconfig  |   1 -
 .../olimex-stm32-e407/configs/discover/defconfig   |   1 -
 .../olimex-stm32-e407/configs/ina219/defconfig     |   1 -
 .../configs/mrf24j40-6lowpan/defconfig             |   1 -
 .../configs/mrf24j40-mac/defconfig                 |   1 -
 .../olimex-stm32-e407/configs/netnsh/defconfig     |   1 -
 .../stm32/olimex-stm32-e407/configs/nsh/defconfig  |   1 -
 .../olimex-stm32-e407/configs/telnetd/defconfig    |   1 -
 .../olimex-stm32-e407/configs/timer/defconfig      |   1 -
 .../olimex-stm32-e407/configs/usbnsh/defconfig     |   1 -
 .../olimex-stm32-e407/configs/webserver/defconfig  |   1 -
 .../olimex-stm32-h405/configs/usbnsh/defconfig     |   1 -
 .../stm32/olimex-stm32-h407/configs/nsh/defconfig  |   1 -
 .../olimex-stm32-h407/configs/nsh_uext/defconfig   |   1 -
 .../stm32/olimex-stm32-p107/configs/nsh/defconfig  |   1 -
 .../stm32/olimex-stm32-p207/configs/nsh/defconfig  |   1 -
 .../olimex-stm32-p407/configs/audio/defconfig      |   1 -
 .../olimex-stm32-p407/configs/dhtxx/defconfig      |   1 -
 .../olimex-stm32-p407/configs/hidkbd/defconfig     |   1 -
 .../stm32/olimex-stm32-p407/configs/kelf/defconfig |   1 -
 .../olimex-stm32-p407/configs/kmodule/defconfig    |   1 -
 .../stm32/olimex-stm32-p407/configs/knsh/defconfig |   1 -
 .../olimex-stm32-p407/configs/module/defconfig     |   1 -
 .../stm32/olimex-stm32-p407/configs/nsh/defconfig  |   1 -
 .../olimex-stm32-p407/configs/zmodem/defconfig     |   1 -
 .../stm32/olimexino-stm32/configs/can/defconfig    |   1 -
 .../olimexino-stm32/configs/composite/defconfig    |   1 -
 .../stm32/olimexino-stm32/configs/nsh/defconfig    |   1 -
 .../olimexino-stm32/configs/smallnsh/defconfig     |   1 -
 .../stm32/olimexino-stm32/configs/tiny/defconfig   |   1 -
 boards/arm/stm32/omnibusf4/configs/nsh/defconfig   |   1 -
 boards/arm/stm32/photon/configs/nsh/defconfig      |   1 -
 boards/arm/stm32/photon/configs/rgbled/defconfig   |   1 -
 boards/arm/stm32/photon/configs/usbnsh/defconfig   |   1 -
 boards/arm/stm32/photon/configs/wlan/defconfig     |   1 -
 boards/arm/stm32/shenzhou/configs/nsh/defconfig    |   1 -
 boards/arm/stm32/shenzhou/configs/nxwm/defconfig   |   1 -
 boards/arm/stm32/shenzhou/configs/thttpd/defconfig |   1 -
 .../stm3210e-eval/configs/composite/defconfig      |   1 -
 .../arm/stm32/stm3210e-eval/configs/nsh/defconfig  |   1 -
 .../arm/stm32/stm3210e-eval/configs/nsh2/defconfig |   1 -
 .../arm/stm32/stm3210e-eval/configs/nx/defconfig   |   1 -
 .../stm32/stm3210e-eval/configs/nxterm/defconfig   |   1 -
 .../arm/stm32/stm3210e-eval/configs/pm/defconfig   |   1 -
 .../stm32/stm3210e-eval/configs/usbmsc/defconfig   |   1 -
 .../stm3210e-eval/configs/usbserial/defconfig      |   1 -
 .../stm32/stm3220g-eval/configs/dhcpd/defconfig    |   1 -
 .../stm32/stm3220g-eval/configs/nettest/defconfig  |   1 -
 .../arm/stm32/stm3220g-eval/configs/nsh/defconfig  |   1 -
 .../arm/stm32/stm3220g-eval/configs/nsh2/defconfig |   1 -
 .../arm/stm32/stm3220g-eval/configs/nxwm/defconfig |   1 -
 .../stm32/stm3220g-eval/configs/telnetd/defconfig  |   1 -
 .../stm32/stm3240g-eval/configs/dhcpd/defconfig    |   1 -
 .../stm32/stm3240g-eval/configs/discover/defconfig |   1 -
 .../arm/stm32/stm3240g-eval/configs/fb/defconfig   |   1 -
 .../stm32/stm3240g-eval/configs/knxwm/defconfig    |   1 -
 .../stm32/stm3240g-eval/configs/nettest/defconfig  |   1 -
 .../arm/stm32/stm3240g-eval/configs/nsh/defconfig  |   1 -
 .../arm/stm32/stm3240g-eval/configs/nsh2/defconfig |   1 -
 .../stm32/stm3240g-eval/configs/nxterm/defconfig   |   1 -
 .../arm/stm32/stm3240g-eval/configs/nxwm/defconfig |   1 -
 .../stm32/stm3240g-eval/configs/telnetd/defconfig  |   1 -
 .../stm3240g-eval/configs/webserver/defconfig      |   1 -
 .../stm32/stm3240g-eval/configs/xmlrpc/defconfig   |   1 -
 boards/arm/stm32/stm32_tiny/configs/nsh/defconfig  |   1 -
 .../arm/stm32/stm32_tiny/configs/usbnsh/defconfig  |   1 -
 .../stm32/stm32butterfly2/configs/nsh/defconfig    |   1 -
 .../stm32/stm32butterfly2/configs/nshnet/defconfig |   1 -
 .../stm32butterfly2/configs/nshusbdev/defconfig    |   1 -
 .../stm32butterfly2/configs/nshusbhost/defconfig   |   1 -
 .../stm32f103-minimum/configs/apds9960/defconfig   |   1 -
 .../stm32f103-minimum/configs/audio_tone/defconfig |   1 -
 .../stm32f103-minimum/configs/buttons/defconfig    |   1 -
 .../stm32f103-minimum/configs/hello/defconfig      |   1 -
 .../stm32f103-minimum/configs/jlx12864g/defconfig  |   1 -
 .../stm32f103-minimum/configs/lcd1602/defconfig    |   1 -
 .../stm32f103-minimum/configs/mcp2515/defconfig    |   1 -
 .../stm32f103-minimum/configs/nrf24/defconfig      |   1 -
 .../stm32/stm32f103-minimum/configs/nsh/defconfig  |   1 -
 .../stm32/stm32f103-minimum/configs/pwm/defconfig  |   1 -
 .../stm32f103-minimum/configs/rfid-rc522/defconfig |   1 -
 .../stm32f103-minimum/configs/rgbled/defconfig     |   1 -
 .../stm32f103-minimum/configs/usbnsh/defconfig     |   1 -
 .../stm32f103-minimum/configs/userled/defconfig    |   1 -
 .../stm32f103-minimum/configs/veml6070/defconfig   |   1 -
 .../stm32f334-disco/configs/buckboost/defconfig    |   1 -
 .../stm32/stm32f334-disco/configs/nsh/defconfig    |   1 -
 .../stm32f334-disco/configs/powerled/defconfig     |   1 -
 .../stm32/stm32f3discovery/configs/nsh/defconfig   |   1 -
 .../stm32f3discovery/configs/usbnsh/defconfig      |   1 -
 .../stm32/stm32f411-minimum/configs/nsh/defconfig  |   1 -
 .../stm32/stm32f411e-disco/configs/nsh/defconfig   |   1 -
 .../stm32/stm32f429i-disco/configs/adc/defconfig   |   1 -
 .../stm32f429i-disco/configs/extflash/defconfig    |   1 -
 .../stm32/stm32f429i-disco/configs/fb/defconfig    |   1 -
 .../stm32f429i-disco/configs/highpri/defconfig     |   1 -
 .../stm32/stm32f429i-disco/configs/lcd/defconfig   |   1 -
 .../stm32/stm32f429i-disco/configs/lvgl/defconfig  |   1 -
 .../stm32/stm32f429i-disco/configs/nsh/defconfig   |   1 -
 .../stm32f429i-disco/configs/nxhello/defconfig     |   1 -
 .../stm32/stm32f429i-disco/configs/nxwm/defconfig  |   1 -
 .../stm32f429i-disco/configs/usbmsc/defconfig      |   1 -
 .../stm32f429i-disco/configs/usbnsh/defconfig      |   1 -
 .../stm32/stm32f4discovery/configs/audio/defconfig |   1 -
 .../stm32f4discovery/configs/canard/defconfig      |   1 -
 .../stm32f4discovery/configs/cxxtest/defconfig     |   1 -
 .../stm32/stm32f4discovery/configs/elf/defconfig   |   1 -
 .../stm32f4discovery/configs/hciuart/defconfig     |   1 -
 .../stm32/stm32f4discovery/configs/ipv6/defconfig  |   1 -
 .../stm32f4discovery/configs/kostest/defconfig     |   1 -
 .../stm32f4discovery/configs/max31855/defconfig    |   1 -
 .../stm32f4discovery/configs/max7219/defconfig     |   1 -
 .../stm32f4discovery/configs/mmcsdspi/defconfig    |   1 -
 .../stm32f4discovery/configs/module/defconfig      |   1 -
 .../stm32f4discovery/configs/netnsh/defconfig      |   1 -
 .../stm32/stm32f4discovery/configs/nsh/defconfig   |   1 -
 .../stm32f4discovery/configs/nxlines/defconfig     |   1 -
 .../stm32/stm32f4discovery/configs/pm/defconfig    |   1 -
 .../stm32f4discovery/configs/posix_spawn/defconfig |   1 -
 .../stm32f4discovery/configs/pseudoterm/defconfig  |   1 -
 .../stm32f4discovery/configs/rgbled/defconfig      |   1 -
 .../stm32/stm32f4discovery/configs/rndis/defconfig |   1 -
 .../stm32f4discovery/configs/testlibcxx/defconfig  |   1 -
 .../stm32f4discovery/configs/usbmsc/defconfig      |   1 -
 .../stm32f4discovery/configs/usbnsh/defconfig      |   1 -
 .../stm32/stm32f4discovery/configs/wifi/defconfig  |   1 -
 .../stm32f4discovery/configs/winbuild/defconfig    |   1 -
 .../stm32f4discovery/configs/xen1210/defconfig     |   1 -
 .../stm32/stm32ldiscovery/configs/chrono/defconfig |   1 -
 .../stm32/stm32ldiscovery/configs/nsh/defconfig    |   1 -
 .../stm32/stm32vldiscovery/configs/nsh/defconfig   |   1 -
 .../viewtool-stm32f107/configs/ft80x/defconfig     |   1 -
 .../viewtool-stm32f107/configs/highpri/defconfig   |   1 -
 .../viewtool-stm32f107/configs/netnsh/defconfig    |   1 -
 .../stm32/viewtool-stm32f107/configs/nsh/defconfig |   1 -
 .../configs/tcpblaster/defconfig                   |   1 -
 .../b-l072z-lrwan1/configs/adc/defconfig           |   1 -
 .../b-l072z-lrwan1/configs/nsh/defconfig           |   1 -
 .../b-l072z-lrwan1/configs/nxlines_oled/defconfig  |   1 -
 .../b-l072z-lrwan1/configs/sx127x/defconfig        |   1 -
 .../nucleo-f072rb/configs/nsh/defconfig            |   1 -
 .../nucleo-f091rc/configs/nsh/defconfig            |   1 -
 .../nucleo-f091rc/configs/sx127x/defconfig         |   1 -
 .../nucleo-g070rb/configs/nsh/defconfig            |   1 -
 .../nucleo-g071rb/configs/nsh/defconfig            |   1 -
 .../nucleo-l073rz/configs/nsh/defconfig            |   1 -
 .../nucleo-l073rz/configs/sx127x/defconfig         |   1 -
 .../stm32f051-discovery/configs/nsh/defconfig      |   1 -
 .../stm32f072-discovery/configs/nsh/defconfig      |   1 -
 .../stm32f7/nucleo-144/configs/f722-nsh/defconfig  |   1 -
 .../nucleo-144/configs/f746-evalos/defconfig       |   1 -
 .../stm32f7/nucleo-144/configs/f746-nsh/defconfig  |   1 -
 .../nucleo-144/configs/f767-evalos/defconfig       |   1 -
 .../nucleo-144/configs/f767-netnsh/defconfig       |   1 -
 .../stm32f7/nucleo-144/configs/f767-nsh/defconfig  |   1 -
 .../arm/stm32f7/stm32f746-ws/configs/nsh/defconfig |   3 +-
 .../stm32f7/stm32f746g-disco/configs/fb/defconfig  |   1 -
 .../stm32f746g-disco/configs/netnsh/defconfig      |   1 -
 .../stm32f7/stm32f746g-disco/configs/nsh/defconfig |   1 -
 .../stm32f769i-disco/configs/netnsh/defconfig      |   1 -
 .../stm32f7/stm32f769i-disco/configs/nsh/defconfig |   1 -
 .../stm32h7/nucleo-h743zi/configs/nsh/defconfig    |   1 -
 .../nucleo-h743zi/configs/nxlines_oled/defconfig   |   1 -
 .../stm32h7/nucleo-h743zi/configs/pwm/defconfig    |   1 -
 .../stm32h7/stm32h747i-disco/configs/nsh/defconfig |   1 -
 .../stm32l4/b-l475e-iot01a/configs/nsh/defconfig   |   1 -
 .../configs/spirit-6lowpan/defconfig               |   1 -
 .../configs/spirit-starhub/defconfig               |   1 -
 .../configs/spirit-starpoint/defconfig             |   1 -
 .../stm32l4/nucleo-l432kc/configs/nsh/defconfig    |   1 -
 .../stm32l4/nucleo-l432kc/configs/spwm/defconfig   |   1 -
 .../stm32l4/nucleo-l452re/configs/nsh/defconfig    |   1 -
 .../stm32l4/nucleo-l476rg/configs/nsh/defconfig    |   1 -
 .../stm32l4/nucleo-l476rg/configs/nxdemo/defconfig |   1 -
 .../stm32l4/nucleo-l496zg/configs/nsh/defconfig    |   1 -
 .../stm32l4/stm32l476-mdk/configs/nsh/defconfig    |   1 -
 .../stm32l476vg-disco/configs/knsh/defconfig       |   1 -
 .../stm32l476vg-disco/configs/nsh/defconfig        |   1 -
 .../stm32l4r9ai-disco/configs/knsh/defconfig       |   1 -
 .../stm32l4r9ai-disco/configs/nsh/defconfig        |   1 -
 .../olimex-strp711/configs/nettest/defconfig       |   1 -
 .../str71x/olimex-strp711/configs/nsh/defconfig    |   1 -
 boards/arm/tiva/dk-tm4c129x/configs/ipv6/defconfig |   1 -
 boards/arm/tiva/dk-tm4c129x/configs/nsh/defconfig  |   1 -
 boards/arm/tiva/eagle100/configs/httpd/defconfig   |   1 -
 boards/arm/tiva/eagle100/configs/nettest/defconfig |   1 -
 boards/arm/tiva/eagle100/configs/nsh/defconfig     |   1 -
 boards/arm/tiva/eagle100/configs/nxflat/defconfig  |   1 -
 boards/arm/tiva/eagle100/configs/thttpd/defconfig  |   1 -
 boards/arm/tiva/ekk-lm3s9b96/configs/nsh/defconfig |   1 -
 .../arm/tiva/launchxl-cc1310/configs/nsh/defconfig |   1 -
 .../tiva/launchxl-cc1312r1/configs/nsh/defconfig   |   1 -
 boards/arm/tiva/lm3s6432-s2e/configs/nsh/defconfig |   1 -
 .../tiva/lm3s6965-ek/configs/discover/defconfig    |   1 -
 boards/arm/tiva/lm3s6965-ek/configs/nsh/defconfig  |   1 -
 boards/arm/tiva/lm3s6965-ek/configs/nx/defconfig   |   1 -
 .../arm/tiva/lm3s6965-ek/configs/tcpecho/defconfig |   1 -
 boards/arm/tiva/lm3s8962-ek/configs/nsh/defconfig  |   1 -
 boards/arm/tiva/lm3s8962-ek/configs/nx/defconfig   |   1 -
 .../tiva/lm4f120-launchpad/configs/nsh/defconfig   |   1 -
 .../tm4c123g-launchpad/configs/mcp2515/defconfig   |   1 -
 .../tiva/tm4c123g-launchpad/configs/nsh/defconfig  |   1 -
 .../tiva/tm4c1294-launchpad/configs/ipv6/defconfig |   1 -
 .../tiva/tm4c1294-launchpad/configs/nsh/defconfig  |   1 -
 .../tms570/launchxl-tms57004/configs/nsh/defconfig |   1 -
 .../tms570ls31x-usb-kit/configs/nsh/defconfig      |   1 -
 .../arm/xmc4/xmc4500-relax/configs/nsh/defconfig   |   1 -
 .../arm/xmc4/xmc4700-relax/configs/nsh/defconfig   |   1 -
 boards/avr/at32uc3/avr32dev1/configs/nsh/defconfig |   1 -
 .../avr/at32uc3/avr32dev1/configs/ostest/defconfig |   1 -
 .../at90usb/micropendous3/configs/hello/defconfig  |   1 -
 .../avr/at90usb/teensy-2.0/configs/hello/defconfig |   1 -
 .../avr/at90usb/teensy-2.0/configs/nsh/defconfig   |   1 -
 .../at90usb/teensy-2.0/configs/usbmsc/defconfig    |   1 -
 boards/avr/atmega/amber/configs/hello/defconfig    |   1 -
 .../arduino-mega2560/configs/hello/defconfig       |   1 -
 .../atmega/arduino-mega2560/configs/nsh/defconfig  |   1 -
 .../atmega/moteino-mega/configs/hello/defconfig    |   1 -
 .../avr/atmega/moteino-mega/configs/nsh/defconfig  |   1 -
 .../hc/m9s12/demo9s12ne64/configs/ostest/defconfig |   2 +-
 boards/hc/m9s12/ne64badge/configs/ostest/defconfig |   2 +-
 boards/mips/pic32mx/mirtoo/configs/nsh/defconfig   |   1 -
 boards/mips/pic32mx/mirtoo/configs/nxffs/defconfig |   1 -
 .../pic32mx-starterkit/configs/nsh/defconfig       |   1 -
 .../pic32mx-starterkit/configs/nsh2/defconfig      |   1 -
 .../mips/pic32mx/pic32mx7mmb/configs/nsh/defconfig |   1 -
 .../pic32mx/sure-pic32mx/configs/nsh/defconfig     |   1 -
 .../pic32mx/sure-pic32mx/configs/usbnsh/defconfig  |   1 -
 boards/mips/pic32mx/ubw32/configs/nsh/defconfig    |   1 -
 .../flipnclick-pic32mz/configs/nsh/defconfig       |   1 -
 .../flipnclick-pic32mz/configs/nxlines/defconfig   |   1 -
 .../pic32mz-starterkit/configs/nsh/defconfig       |   1 -
 boards/misoc/lm32/misoc/configs/hello/defconfig    |   1 -
 boards/misoc/lm32/misoc/configs/nsh/defconfig      |   1 -
 boards/or1k/mor1kx/or1k/configs/nsh/defconfig      |   1 -
 .../renesas/m16c/skp16c26/configs/ostest/defconfig |   1 -
 .../rx65n/rx65n-grrose/configs/ipv6/defconfig      |   1 -
 .../rx65n/rx65n-grrose/configs/netnsh/defconfig    |   1 -
 .../rx65n/rx65n-grrose/configs/nsh/defconfig       |   1 -
 .../rx65n/rx65n-rsk1mb/configs/netnsh/defconfig    |   1 -
 .../rx65n/rx65n-rsk1mb/configs/nsh/defconfig       |   1 -
 .../rx65n/rx65n-rsk2mb/configs/ipv6/defconfig      |   1 -
 .../rx65n/rx65n-rsk2mb/configs/netnsh/defconfig    |   1 -
 .../rx65n/rx65n-rsk2mb/configs/nsh/defconfig       |   1 -
 boards/renesas/rx65n/rx65n/configs/nsh/defconfig   |   1 -
 .../renesas/sh1/us7032evb1/configs/nsh/defconfig   |   1 -
 .../sh1/us7032evb1/configs/ostest/defconfig        |   1 -
 .../fe310/hifive1-revb/configs/nsh/defconfig       |   1 -
 boards/risc-v/gap8/gapuino/configs/nsh/defconfig   |   1 -
 boards/risc-v/k210/maix-bit/configs/elf/defconfig  |   1 -
 boards/risc-v/k210/maix-bit/configs/knsh/defconfig |   1 -
 .../risc-v/k210/maix-bit/configs/kostest/defconfig |   1 -
 .../risc-v/k210/maix-bit/configs/module/defconfig  |   1 -
 boards/risc-v/k210/maix-bit/configs/nsh/defconfig  |   1 -
 .../k210/maix-bit/configs/posix_spawn/defconfig    |   1 -
 boards/risc-v/k210/maix-bit/configs/smp/defconfig  |   1 -
 boards/risc-v/litex/arty_a7/configs/nsh/defconfig  |   1 -
 .../nr5m100/nr5m100-nexys4/configs/nsh/defconfig   |   1 -
 boards/sim/sim/sim/configs/pf_ieee802154/defconfig |   1 -
 boards/sim/sim/sim/configs/pktradio/defconfig      |   1 -
 boards/sim/sim/sim/configs/sixlowpan/defconfig     |   1 -
 boards/sim/sim/sim/scripts/Make.defs               |  10 +
 boards/xtensa/esp32/esp32-core/Kconfig             |  19 +
 boards/xtensa/esp32/esp32-core/README.txt          |  12 +
 .../esp32/esp32-core/configs/mmcsdspi/defconfig    |   1 -
 .../esp32/esp32-core/configs/netnsh/defconfig      |   1 -
 .../xtensa/esp32/esp32-core/configs/nsh/defconfig  |   1 -
 .../esp32/esp32-core/configs/ostest/defconfig      |   1 -
 .../esp32/esp32-core/configs/random/defconfig      |   1 -
 .../xtensa/esp32/esp32-core/configs/smp/defconfig  |   1 -
 .../configs/{random => spiflash}/defconfig         |   8 +-
 boards/xtensa/esp32/esp32-core/scripts/Make.defs   |   7 +
 .../scripts/{esp32.template => esp32.template.ld}  |  16 +-
 boards/xtensa/esp32/esp32-core/src/Makefile        |   9 +-
 boards/xtensa/esp32/esp32-core/src/esp32-core.h    |   9 +
 boards/xtensa/esp32/esp32-core/src/esp32_bringup.c |   4 +
 .../xtensa/esp32/esp32-core/src/esp32_spiflash.c   |  90 +-
 .../z16/z16f/z16f2800100zcog/configs/nsh/defconfig |   1 -
 .../z16f/z16f2800100zcog/configs/ostest/defconfig  |   1 -
 .../ez80/ez80f910200kitg/configs/ostest/defconfig  |   1 -
 .../ez80/ez80f910200zco/configs/dhcpd/defconfig    |   1 -
 .../ez80/ez80f910200zco/configs/httpd/defconfig    |   1 -
 .../ez80/ez80f910200zco/configs/nettest/defconfig  |   1 -
 .../z80/ez80/ez80f910200zco/configs/nsh/defconfig  |   1 -
 .../z80/ez80/ez80f910200zco/configs/poll/defconfig |   1 -
 .../z80/ez80/makerlisp/configs/nsh_flash/defconfig |   1 -
 .../z80/ez80/makerlisp/configs/nsh_ram/defconfig   |   1 -
 boards/z80/ez80/makerlisp/configs/sdboot/defconfig |   1 -
 boards/z80/ez80/z20x/configs/hello/defconfig       |   1 -
 boards/z80/ez80/z20x/configs/nsh/defconfig         |   1 -
 boards/z80/ez80/z20x/configs/sdboot/defconfig      |   1 -
 boards/z80/ez80/z20x/configs/w25boot/defconfig     |   1 -
 boards/z80/z180/p112/configs/ostest/defconfig      |   2 +-
 .../z80/z8/z8encore000zco/configs/ostest/defconfig |   2 +-
 .../z80/z8/z8f64200100kit/configs/ostest/defconfig |   2 +-
 boards/z80/z80/z80sim/configs/nsh/defconfig        |   1 -
 boards/z80/z80/z80sim/configs/ostest/defconfig     |   2 +-
 drivers/mmcsd/mmcsd_sdio.c                         |   6 +
 drivers/note/Kconfig                               |  34 +-
 drivers/note/Make.defs                             |   4 +
 drivers/note/note_driver.c                         | 467 +---------
 drivers/note/{note_driver.c => noteram_driver.c}   | 128 +--
 drivers/timers/pwm.c                               |   6 +-
 drivers/wireless/gs2200m.c                         |   2 +
 fs/vfs/Make.defs                                   |   2 +-
 fs/vfs/fs_dupfd.c                                  |  30 +-
 fs/vfs/fs_fdopen.c                                 | 122 +--
 include/limits.h                                   |   2 +-
 include/nuttx/fs/fs.h                              |  38 +-
 include/nuttx/lib/lib.h                            |  18 +-
 include/nuttx/note/note_driver.h                   |   8 +-
 .../nuttx/note/{note_driver.h => noteram_driver.h} |  22 +-
 include/nuttx/sched.h                              |   6 +-
 include/nuttx/sched_note.h                         |   4 +-
 include/signal.h                                   |   2 +
 include/stdio.h                                    |   6 +-
 include/sys/stat.h                                 |   2 +
 include/sys/syscall_lookup.h                       |   2 +-
 include/sys/types.h                                |  12 +
 include/termios.h                                  | 242 +++---
 libs/libc/libc.csv                                 |  42 +-
 libs/libc/libc.h                                   |  21 +-
 libs/libc/misc/Make.defs                           |   4 +-
 libs/libc/misc/lib_stream.c                        |  74 +-
 .../libc/misc/lib_umask.c                          |  38 +-
 libs/libc/signal/sig_psignal.c                     |   2 +-
 libs/libc/stdio/Kconfig                            |   2 +-
 libs/libc/stdio/Make.defs                          |   2 +-
 libs/libc/stdio/legacy_dtoa.c                      |  16 +-
 libs/libc/stdio/legacy_libvsprintf.c               |   4 +-
 libs/libc/stdio/lib_clearerr.c                     |   4 +-
 libs/libc/stdio/lib_dtoa_data.c                    |   6 +-
 libs/libc/stdio/lib_dtoa_engine.c                  |   4 +-
 libs/libc/stdio/lib_dtoa_engine.h                  |   8 +-
 libs/libc/stdio/lib_fclose.c                       |  50 +-
 libs/libc/stdio/lib_feof.c                         |   4 +-
 libs/libc/stdio/lib_ferror.c                       |   4 +-
 libs/libc/stdio/lib_fileno.c                       |   4 +-
 libs/libc/stdio/lib_libdtoa.c                      |   2 +-
 libs/libc/stdio/lib_libflushall.c                  |  14 +-
 libs/libc/stdio/lib_libvscanf.c                    |  14 +-
 libs/libc/stdio/lib_libvsprintf.c                  |  12 +-
 libs/libc/stdio/lib_printf.c                       |   2 +-
 libs/libc/stdio/lib_vprintf.c                      |   2 +-
 libs/libc/string/lib_strsignal.c                   |  10 +
 libs/libc/termios/Make.defs                        |   2 +-
 libs/libc/termios/lib_cfgetspeed.c                 |  77 --
 libs/libc/termios/lib_cfsetspeed.c                 |  96 ---
 libs/libc/termios/lib_cfspeed.c                    | 196 +++++
 libs/libc/unistd/lib_daemon.c                      |   8 +-
 libs/libc/zoneinfo/Makefile                        |   2 +-
 mm/mm_heap/mm_initialize.c                         |   4 +
 net/socket/Make.defs                               |   2 +-
 sched/Kconfig                                      |  41 +-
 sched/group/group.h                                |   2 +-
 sched/group/group_create.c                         |   4 +-
 sched/group/group_leave.c                          |   6 +-
 sched/group/group_setupidlefiles.c                 |   2 +-
 sched/group/group_setupstreams.c                   |   4 +-
 sched/group/group_setuptaskfiles.c                 |   2 +-
 sched/sched/Make.defs                              |   2 +
 sched/sched/sched_getstreams.c                     |   4 +-
 sched/sched/sched_gettcb.c                         |  16 +-
 sched/sched/sched_note.c                           |  33 +-
 sched/signal/sig_default.c                         |   2 +
 sched/task/task_exithook.c                         |   2 +-
 syscall/syscall.csv                                |   4 +-
 tools/Config.mk                                    |  16 +-
 tools/mkconfig.c                                   | 182 ++--
 tools/nuttx-gdbinit                                | 352 ++++++++
 tools/testbuild.sh                                 |   8 +
 797 files changed, 6388 insertions(+), 3616 deletions(-)
 copy arch/{x86_64/src/intel64/intel64_idle.c => arm/src/cxd56xx/cxd56_testset.c} (57%)
 create mode 100644 arch/arm/src/nrf52/hardware/nrf52_pwm.h
 create mode 100644 arch/arm/src/nrf52/nrf52_adc.c
 create mode 100644 arch/arm/src/nrf52/nrf52_adc.h
 create mode 100644 arch/arm/src/nrf52/nrf52_pwm.c
 create mode 100644 arch/arm/src/nrf52/nrf52_pwm.h
 copy arch/{or1k/src/common/up_idle.c => arm/src/nrf52/nrf52_systick.c} (74%)
 create mode 100644 arch/arm/src/nrf52/nrf52_tickless_rtc.c
 delete mode 100644 arch/arm/src/nrf52/nrf52_timerisr.c
 delete mode 100644 arch/sim/src/sim/up_devconsole.c
 create mode 100644 arch/sim/src/sim/up_uart.c
 copy boards/arm/nrf52/nrf52840-dk/configs/{timer => adc}/defconfig (90%)
 copy boards/arm/nrf52/nrf52840-dk/configs/{timer => pwm}/defconfig (84%)
 create mode 100644 boards/arm/nrf52/nrf52840-dk/src/nrf52_adc.c
 copy arch/arm/src/eoss3/eoss3_idle.c => boards/arm/nrf52/nrf52840-dk/src/nrf52_pwm.c (62%)
 copy boards/xtensa/esp32/esp32-core/configs/{random => spiflash}/defconfig (93%)
 rename boards/xtensa/esp32/esp32-core/scripts/{esp32.template => esp32.template.ld} (78%)
 copy arch/arm/src/eoss3/eoss3_idle.c => boards/xtensa/esp32/esp32-core/src/esp32_spiflash.c (51%)
 copy drivers/note/{note_driver.c => noteram_driver.c} (78%)
 copy include/nuttx/note/{note_driver.h => noteram_driver.h} (82%)
 copy sched/sched/sched_getstreams.c => libs/libc/misc/lib_umask.c (72%)
 delete mode 100644 libs/libc/termios/lib_cfgetspeed.c
 delete mode 100644 libs/libc/termios/lib_cfsetspeed.c
 create mode 100644 libs/libc/termios/lib_cfspeed.c
 create mode 100644 tools/nuttx-gdbinit