Commit Graph

35131 Commits

Author SHA1 Message Date
Gregory Nutt
545cfada38 This commit removes CONFIG_ARCH_INT_DISABLEALL. In the normal course of things, interrupts must occasionally be disabled using the up_irq_save() inline function to prevent contention in use of resources that may be shared between interrupt level and non-interrupt level logic. Now the question arises, if we are using BASEPRI to disable interrupts and have high priority interrupts enabled (CONFIG_ARCH_HIPRI_INTERRUPT=y), do we disable all interrupts except SVCall (we cannot disable SVCall interrupts). Or do we only disable the "normal" interrupts?
If we are using the BASEPRI register to disable interrupts, then the answer is that we must disable ONLY the "normal interrupts".  That is because we cannot disable SVCALL interrupts and we cannot permit SVCAll interrupts running at a higher priority than the high priority interrupts (otherwise, they will introduce jitter in the high priority interrupt response time.)

Hence, if you need to disable the high priority interrupt, you will have to disable the interrupt either at the peripheral that generates the interrupt or at the NVIC.  Disabling global interrupts via the BASEPRI register cannot effect high priority interrupts.
2019-08-09 10:52:35 -06:00
Gregory Nutt
851285d729 Documentation/NuttX.html: Adjust URLs to board README.txt files to account for changes in boards/ sub-directory reorganization. 2019-08-09 08:04:27 -06:00
Alin Jerpelea
a06033df64 Merged in alinjerpelea/nuttx (pull request #971)
codestyle fixes

* misoc: codestyle fixes

     After the board restructuration is time for codestyle cleanup

    Signed-off-by: Alin Jerpelea <alin.jerpelea@sony.com>

* or1k: codestyle fixes

     After the board restructuration is time for codestyle cleanup

    Signed-off-by: Alin Jerpelea <alin.jerpelea@sony.com>

* renesas: codestyle fixes

     After the board restructuration is time for codestyle cleanup

    Signed-off-by: Alin Jerpelea <alin.jerpelea@sony.com>

* risc-v: codestyle fixes

     After the board restructuration is time for codestyle cleanup

    Signed-off-by: Alin Jerpelea <alin.jerpelea@sony.com>

* sim: codestyle fixes

     After the board restructuration is time for codestyle cleanup

    Signed-off-by: Alin Jerpelea <alin.jerpelea@sony.com>

* x86: codestyle fixes

     After the board restructuration is time for codestyle cleanup

    Signed-off-by: Alin Jerpelea <alin.jerpelea@sony.com>

* xtensa: codestyle fixes

     After the board restructuration is time for codestyle cleanup

    Signed-off-by: Alin Jerpelea <alin.jerpelea@sony.com>

* z16: codestyle fixes

     After the board restructuration is time for codestyle cleanup

    Signed-off-by: Alin Jerpelea <alin.jerpelea@sony.com>

* z80: codestyle fixes

     After the board restructuration is time for codestyle cleanup

    Signed-off-by: Alin Jerpelea <alin.jerpelea@sony.com>

Approved-by: Gregory Nutt <gnutt@nuttx.org>
2019-08-09 13:22:39 +00:00
Gregory Nutt
c300f27130 arch/arm/include/armv7-m/nvicpri.h: In the 'normal' case, the priority of the SVCALL interrupt was the same as the priority of the high priority interrupt. This means that SVCALL interrupt processing can defer the high priority interrupt and result in the jitter in that interrupt response. Fix is to raise the priority of the high priority interrupt above the priority of the SVCALL interrupt. Suggested by Nathan Hartman. 2019-08-09 07:07:16 -06:00
Gregory Nutt
72f56baafd README.txt: Update for new boards/ sub-directory layout. 2019-08-08 16:23:55 -06:00
Gregory Nutt
143382d2a6 Documentation/README.html: Update for new boards/ sub-directory layout. 2019-08-08 15:36:59 -06:00
Gregory Nutt
f75fba05e7 tools/testbuild.sh: Remove some recently introduced echo's that clutter the build test output 2019-08-08 12:37:37 -06:00
David Sidrane
786d3453a2 Merged in david_s5/nuttx/master_f7_eth (pull request #970)
stm32f7:ethernet add timeout on MAC reset

Approved-by: Gregory Nutt <gnutt@nuttx.org>
2019-08-08 16:17:57 +00:00
Gregory Nutt
8f3e024ef7 boards/arm/lpc17xx_40xx/u-blox-c027/configs/nsh/defconfig: Remove stray character in defconfig file. 2019-08-08 10:13:55 -06:00
Gregory Nutt
74c17076c7 Documentation: Update some documents affected by the change in the organization of the boards/ sub-directory. 2019-08-08 10:05:34 -06:00
Gregory Nutt
2730714774 Update more comments and README.txt files to reflect new organization of the boards/ sub-directory. 2019-08-08 09:17:04 -06:00
Alin Jerpelea
66565a69a7 Merged in alinjerpelea/nuttx (pull request #969)
avr: hc: mips: codestyle fixes

* avr: codestyle fixes

    After the board restructuration is time for codestyle cleanup

    Signed-off-by: Alin Jerpelea <alin.jerpelea@sony.com>

* hc: codestyle fixes

    After the board restructuration is time for codestyle cleanup

    Signed-off-by: Alin Jerpelea <alin.jerpelea@sony.com>

* mips: codestyle fixes

    After the board restructuration is time for codestyle cleanup

    Signed-off-by: Alin Jerpelea <alin.jerpelea@sony.com>

Approved-by: Gregory Nutt <gnutt@nuttx.org>
2019-08-08 14:53:04 +00:00
Gregory Nutt
240926c995 Beginning to update comments to reflect new organization of the boards/ sub-directory. 2019-08-08 08:46:54 -06:00
Markus Bernet
1e0987a729 drivers/sensors/sht3x.c: Add Sensirion SHT3x driver. 2019-08-08 07:34:15 -06:00
Gregory Nutt
eaaa73198b boards/Board.mk: Correct a simulator included path problem introduced by reorganization of arch/sim/src. 2019-08-08 07:17:43 -06:00
Nathan Hartman
2f0a3b6d75 arch/arm/src/tiva/common/tiva_timerlib.c: Fix one code error and some comment errors. tiva_timer16_setinterval(): Was DEBUGASSERTing on mode != TIMER16_MODE. Fixed to DEBUGASSERT on mode == TIMER16_MODE. 2019-08-07 18:58:45 -06:00
Gregory Nutt
ad122066ea defconfigs: All paths assigned to CONFIG_PASS1_BUILDIR must include the chip name. 2019-08-07 18:17:43 -06:00
Gregory Nutt
4635e238c7 tools/testbuld.sh: Fix a copy/paste error 2019-08-07 17:56:32 -06:00
Gregory Nutt
4b6f634a90 tools/: Update and verify all configuration related tools with new, boards directory layout. 2019-08-07 17:25:54 -06:00
Gregory Nutt
c840ac2496 arch/sim: Even though the simulation has no chips, it needs to have CONFIG_ARCH_CHIP and chip sub-directories. Otherwise, we would have to treat it as a special case in the build system. 2019-08-07 16:05:00 -06:00
Gregory Nutt
8ecb72ded6 Add defconfig files must include CONFIG_ARCH_CHIP= to break and chicken-and-egg problem. 2019-08-07 15:37:35 -06:00
Alin Jerpelea
1358e829ad Merged in alinjerpelea/nuttx (pull request #967)
group boards based on chip

* a1x: group boards based on chip

    All boards based on the same chip are moved to the same folder

    following the arch layout <arch>/<chip>/<board>.

    Signed-off-by: Alin Jerpelea <alin.jerpelea@sony.com>

* am335x: group boards based on chip

    All boards based on the same chip are moved to the same folder

    following the arch layout <arch>/<chip>/<board>.

    Signed-off-by: Alin Jerpelea <alin.jerpelea@sony.com>

* c5471: group boards based on chip

    All boards based on the same chip are moved to the same folder

    following the arch layout <arch>/<chip>/<board>.

    Signed-off-by: Alin Jerpelea <alin.jerpelea@sony.com>

* scx56xx: group boards based on chip

    All boards based on the same chip are moved to the same folder

    following the arch layout <arch>/<chip>/<board>.

    Signed-off-by: Alin Jerpelea <alin.jerpelea@sony.com>

* dm320: group boards based on chip

    All boards based on the same chip are moved to the same folder

    following the arch layout <arch>/<chip>/<board>.

    Signed-off-by: Alin Jerpelea <alin.jerpelea@sony.com>

* efm32: group boards based on chip

    All boards based on the same chip are moved to the same folder

    following the arch layout <arch>/<chip>/<board>.

    Signed-off-by: Alin Jerpelea <alin.jerpelea@sony.com>

* imx6: group boards based on chip

    All boards based on the same chip are moved to the same folder

    following the arch layout <arch>/<chip>/<board>.

    Signed-off-by: Alin Jerpelea <alin.jerpelea@sony.com>

* imxrt: group boards based on chip

    All boards based on the same chip are moved to the same folder

    following the arch layout <arch>/<chip>/<board>.

    Signed-off-by: Alin Jerpelea <alin.jerpelea@sony.com>

* kinetis: group boards based on chip

    All boards based on the same chip are moved to the same folder

    following the arch layout <arch>/<chip>/<board>.

    Signed-off-by: Alin Jerpelea <alin.jerpelea@sony.com>

* kl: group boards based on chip

    All boards based on the same chip are moved to the same folder

    following the arch layout <arch>/<chip>/<board>.

    Signed-off-by: Alin Jerpelea <alin.jerpelea@sony.com>

* lc823450: group boards based on chip

    All boards based on the same chip are moved to the same folder

    following the arch layout <arch>/<chip>/<board>.

    Signed-off-by: Alin Jerpelea <alin.jerpelea@sony.com>

* lpc17xx_40xx: group boards based on chip

    All boards based on the same chip are moved to the same folder

    following the arch layout <arch>/<chip>/<board>.

    Signed-off-by: Alin Jerpelea <alin.jerpelea@sony.com>

* lpc214x: group boards based on chip

    All boards based on the same chip are moved to the same folder

    following the arch layout <arch>/<chip>/<board>.

    Signed-off-by: Alin Jerpelea <alin.jerpelea@sony.com>

* lpc2378: group boards based on chip

    All boards based on the same chip are moved to the same folder

    following the arch layout <arch>/<chip>/<board>.

    Signed-off-by: Alin Jerpelea <alin.jerpelea@sony.com>

* lpc31xx: group boards based on chip

    All boards based on the same chip are moved to the same folder

    following the arch layout <arch>/<chip>/<board>.

    Signed-off-by: Alin Jerpelea <alin.jerpelea@sony.com>

* lpc43xx: group boards based on chip

    All boards based on the same chip are moved to the same folder

    following the arch layout <arch>/<chip>/<board>.

    Signed-off-by: Alin Jerpelea <alin.jerpelea@sony.com>

* lpc54xx: group boards based on chip

    All boards based on the same chip are moved to the same folder

    following the arch layout <arch>/<chip>/<board>.

    Signed-off-by: Alin Jerpelea <alin.jerpelea@sony.com>

* max326xx: group boards based on chip

    All boards based on the same chip are moved to the same folder

    following the arch layout <arch>/<chip>/<board>.

    Signed-off-by: Alin Jerpelea <alin.jerpelea@sony.com>

* moxart: group boards based on chip

    All boards based on the same chip are moved to the same folder

    following the arch layout <arch>/<chip>/<board>.

    Signed-off-by: Alin Jerpelea <alin.jerpelea@sony.com>

* nrf52: group boards based on chip

    All boards based on the same chip are moved to the same folder

    following the arch layout <arch>/<chip>/<board>.

    Signed-off-by: Alin Jerpelea <alin.jerpelea@sony.com>

* nuc1xx: group boards based on chip

    All boards based on the same chip are moved to the same folder

    following the arch layout <arch>/<chip>/<board>.

    Signed-off-by: Alin Jerpelea <alin.jerpelea@sony.com>

* sam34: group boards based on chip

    All boards based on the same chip are moved to the same folder

    following the arch layout <arch>/<chip>/<board>.

    Signed-off-by: Alin Jerpelea <alin.jerpelea@sony.com>

* sama5: group boards based on chip

    All boards based on the same chip are moved to the same folder

    following the arch layout <arch>/<chip>/<board>.

    Signed-off-by: Alin Jerpelea <alin.jerpelea@sony.com>

* samd2l2: group boards based on chip

    All boards based on the same chip are moved to the same folder

    following the arch layout <arch>/<chip>/<board>.

    Signed-off-by: Alin Jerpelea <alin.jerpelea@sony.com>

* samd5e5: group boards based on chip

    All boards based on the same chip are moved to the same folder

    following the arch layout <arch>/<chip>/<board>.

    Signed-off-by: Alin Jerpelea <alin.jerpelea@sony.com>

* samv7: group boards based on chip

    All boards based on the same chip are moved to the same folder

    following the arch layout <arch>/<chip>/<board>.

    Signed-off-by: Alin Jerpelea <alin.jerpelea@sony.com>

* stm32f0l0g0: group boards based on chip

    All boards based on the same chip are moved to the same folder

    following the arch layout <arch>/<chip>/<board>.

    Signed-off-by: Alin Jerpelea <alin.jerpelea@sony.com>

* stm32f7: group boards based on chip

    All boards based on the same chip are moved to the same folder

    following the arch layout <arch>/<chip>/<board>.

    Signed-off-by: Alin Jerpelea <alin.jerpelea@sony.com>

* stm32h7: group boards based on chip

    All boards based on the same chip are moved to the same folder

    following the arch layout <arch>/<chip>/<board>.

    Signed-off-by: Alin Jerpelea <alin.jerpelea@sony.com>

* stm32l4: group boards based on chip

    All boards based on the same chip are moved to the same folder

    following the arch layout <arch>/<chip>/<board>.

    Signed-off-by: Alin Jerpelea <alin.jerpelea@sony.com>

* stm32: group boards based on chip

    All boards based on the same chip are moved to the same folder

    following the arch layout <arch>/<chip>/<board>.

    Signed-off-by: Alin Jerpelea <alin.jerpelea@sony.com>

* str71x: group boards based on chip

    All boards based on the same chip are moved to the same folder

    following the arch layout <arch>/<chip>/<board>.

    Signed-off-by: Alin Jerpelea <alin.jerpelea@sony.com>

* tiva: group boards based on chip

    All boards based on the same chip are moved to the same folder

    following the arch layout <arch>/<chip>/<board>.

    Signed-off-by: Alin Jerpelea <alin.jerpelea@sony.com>

* tms570: group boards based on chip

    All boards based on the same chip are moved to the same folder

    following the arch layout <arch>/<chip>/<board>.

    Signed-off-by: Alin Jerpelea <alin.jerpelea@sony.com>

* xmc4: group boards based on chip

    All boards based on the same chip are moved to the same folder

    following the arch layout <arch>/<chip>/<board>.

    Signed-off-by: Alin Jerpelea <alin.jerpelea@sony.com>

* p112: typo fix

    this boars is a z80 board and was moved to the wrong arch

    Signed-off-by: Alin Jerpelea <alin.jerpelea@sony.com>

* avr: at32uc3: group boards based on chip

    All boards based on the same chip are moved to the same folder

    following the arch layout <arch>/<chip>/<board>.

    Signed-off-by: Alin Jerpelea <alin.jerpelea@sony.com>

* avr: at90usb: group boards based on chip

    All boards based on the same chip are moved to the same folder

    following the arch layout <arch>/<chip>/<board>.

    Signed-off-by: Alin Jerpelea <alin.jerpelea@sony.com>

* avr: atmega: group boards based on chip

    All boards based on the same chip are moved to the same folder

    following the arch layout <arch>/<chip>/<board>.

    Signed-off-by: Alin Jerpelea <alin.jerpelea@sony.com>

* hc: mcs92s12ne64: group boards based on chip

    All boards based on the same chip are moved to the same folder

    following the arch layout <arch>/<chip>/<board>.

    Signed-off-by: Alin Jerpelea <alin.jerpelea@sony.com>

* mips: pic32mx: group boards based on chip

    All boards based on the same chip are moved to the same folder

    following the arch layout <arch>/<chip>/<board>.

    Signed-off-by: Alin Jerpelea <alin.jerpelea@sony.com>

* mips: pic32mz: group boards based on chip

    All boards based on the same chip are moved to the same folder

    following the arch layout <arch>/<chip>/<board>.

    Signed-off-by: Alin Jerpelea <alin.jerpelea@sony.com>

* misoc: lm32: group boards based on chip

    All boards based on the same chip are moved to the same folder

    following the arch layout <arch>/<chip>/<board>.

    Signed-off-by: Alin Jerpelea <alin.jerpelea@sony.com>

* or1k: mor1kx: group boards based on chip

    All boards based on the same chip are moved to the same folder

    following the arch layout <arch>/<chip>/<board>.

    Signed-off-by: Alin Jerpelea <alin.jerpelea@sony.com>

* renesas: m32262f8: group boards based on chip

    All boards based on the same chip are moved to the same folder

    following the arch layout <arch>/<chip>/<board>.

    Signed-off-by: Alin Jerpelea <alin.jerpelea@sony.com>

* renesas: sh7032: group boards based on chip

    All boards based on the same chip are moved to the same folder

    following the arch layout <arch>/<chip>/<board>.

    Signed-off-by: Alin Jerpelea <alin.jerpelea@sony.com>

* risk-v: gap8: group boards based on chip

    All boards based on the same chip are moved to the same folder

    following the arch layout <arch>/<chip>/<board>.

    Signed-off-by: Alin Jerpelea <alin.jerpelea@sony.com>

* risk-v: nr5m100: group boards based on chip

    All boards based on the same chip are moved to the same folder

    following the arch layout <arch>/<chip>/<board>.

    Signed-off-by: Alin Jerpelea <alin.jerpelea@sony.com>

* sim: sim: group boards based on chip

    All boards based on the same chip are moved to the same folder

    following the arch layout <arch>/<chip>/<board>.

    Signed-off-by: Alin Jerpelea <alin.jerpelea@sony.com>

* x86: qemu: group boards based on chip

    All boards based on the same chip are moved to the same folder

    following the arch layout <arch>/<chip>/<board>.

    Signed-off-by: Alin Jerpelea <alin.jerpelea@sony.com>

* xtensa: esp32: group boards based on chip

    All boards based on the same chip are moved to the same folder

    following the arch layout <arch>/<chip>/<board>.

    Signed-off-by: Alin Jerpelea <alin.jerpelea@sony.com>

* z16: z16f2811: group boards based on chip

    All boards based on the same chip are moved to the same folder

    following the arch layout <arch>/<chip>/<board>.

    Signed-off-by: Alin Jerpelea <alin.jerpelea@sony.com>

* z80: ez80: group boards based on chip

    All boards based on the same chip are moved to the same folder

    following the arch layout <arch>/<chip>/<board>.

    Signed-off-by: Alin Jerpelea <alin.jerpelea@sony.com>

* z80: z180: group boards based on chip

    All boards based on the same chip are moved to the same folder

    following the arch layout <arch>/<chip>/<board>.

    Signed-off-by: Alin Jerpelea <alin.jerpelea@sony.com>

* z80: z80: group boards based on chip

    All boards based on the same chip are moved to the same folder

    following the arch layout <arch>/<chip>/<board>.

    Signed-off-by: Alin Jerpelea <alin.jerpelea@sony.com>

* z80: z8: group boards based on chip

    All boards based on the same chip are moved to the same folder

    following the arch layout <arch>/<chip>/<board>.

    Signed-off-by: Alin Jerpelea <alin.jerpelea@sony.com>

* tools: update tools for boards based on chip

    This patch updates only the linux tools

    Signed-off-by: Alin Jerpelea <alin.jerpelea@sony.com>

* pcduino-a10: defconfig update

    add ARCH_CHIP to defconfig

    Signed-off-by: Alin Jerpelea <alin.jerpelea@sony.com>

* beaglebone-black: defconfig update

    add ARCH_CHIP to defconfig

    Signed-off-by: Alin Jerpelea <alin.jerpelea@sony.com>

* c5471evm: defconfig update

    add ARCH_CHIP to defconfig

    Signed-off-by: Alin Jerpelea <alin.jerpelea@sony.com>

* spresense: defconfig update

    add ARCH_CHIP to defconfig

    Signed-off-by: Alin Jerpelea <alin.jerpelea@sony.com>

* ntosd-dm320: defconfig update

    add ARCH_CHIP to defconfig

    Signed-off-by: Alin Jerpelea <alin.jerpelea@sony.com>

* efm32-g8xx-stk: defconfig update

    add ARCH_CHIP to defconfig

    Signed-off-by: Alin Jerpelea <alin.jerpelea@sony.com>

* efm32gg-stk3700: defconfig update

    add ARCH_CHIP to defconfig

    Signed-off-by: Alin Jerpelea <alin.jerpelea@sony.com>

* olimex-efm32g880f128-stk: defconfig update

    add ARCH_CHIP to defconfig

    Signed-off-by: Alin Jerpelea <alin.jerpelea@sony.com>

* sabre-6quad: defconfig update

    add ARCH_CHIP to defconfig

    Signed-off-by: Alin Jerpelea <alin.jerpelea@sony.com>

* imxrt1050-evk: defconfig update

    add ARCH_CHIP to defconfig

    Signed-off-by: Alin Jerpelea <alin.jerpelea@sony.com>

* imxrt1060-evk: defconfig update

    add ARCH_CHIP to defconfig

    Signed-off-by: Alin Jerpelea <alin.jerpelea@sony.com>

* freedom-k28f: defconfig update

    add ARCH_CHIP to defconfig

    Signed-off-by: Alin Jerpelea <alin.jerpelea@sony.com>

* freedom-k64f: defconfig update

    add ARCH_CHIP to defconfig

    Signed-off-by: Alin Jerpelea <alin.jerpelea@sony.com>

* freedom-k66f: defconfig update

    add ARCH_CHIP to defconfig

    Signed-off-by: Alin Jerpelea <alin.jerpelea@sony.com>

* kwikstik-k40: defconfig update

    add ARCH_CHIP to defconfig

    Signed-off-by: Alin Jerpelea <alin.jerpelea@sony.com>

* teensy-3.x: defconfig update

    add ARCH_CHIP to defconfig

    Signed-off-by: Alin Jerpelea <alin.jerpelea@sony.com>

* twr-k60n512: defconfig update

    add ARCH_CHIP to defconfig

    Signed-off-by: Alin Jerpelea <alin.jerpelea@sony.com>

* twr-k64f120m: defconfig update

    add ARCH_CHIP to defconfig

    Signed-off-by: Alin Jerpelea <alin.jerpelea@sony.com>

* freedom-kl25z: defconfig update

    add ARCH_CHIP to defconfig

    Signed-off-by: Alin Jerpelea <alin.jerpelea@sony.com>

* freedom-kl26z: defconfig update

    add ARCH_CHIP to defconfig

    Signed-off-by: Alin Jerpelea <alin.jerpelea@sony.com>

* teensy-lc: defconfig update

    add ARCH_CHIP to defconfig

    Signed-off-by: Alin Jerpelea <alin.jerpelea@sony.com>

* lc823450: defconfig update

    add ARCH_CHIP to defconfig

    Signed-off-by: Alin Jerpelea <alin.jerpelea@sony.com>

* lincoln60: defconfig update

    add ARCH_CHIP to defconfig

    Signed-off-by: Alin Jerpelea <alin.jerpelea@sony.com>

* lpc4088-devkit: defconfig update

    add ARCH_CHIP to defconfig

    Signed-off-by: Alin Jerpelea <alin.jerpelea@sony.com>

* lpc4088-quickstart: defconfig update

    add ARCH_CHIP to defconfig

    Signed-off-by: Alin Jerpelea <alin.jerpelea@sony.com>

* lpcxpresso-lpc1768: defconfig update

    add ARCH_CHIP to defconfig

    Signed-off-by: Alin Jerpelea <alin.jerpelea@sony.com>

* mbed: defconfig update

    add ARCH_CHIP to defconfig

    Signed-off-by: Alin Jerpelea <alin.jerpelea@sony.com>

* mcb1700: defconfig update

    add ARCH_CHIP to defconfig

    Signed-off-by: Alin Jerpelea <alin.jerpelea@sony.com>

* olimex-lpc1766stk: defconfig update

    add ARCH_CHIP to defconfig

    Signed-off-by: Alin Jerpelea <alin.jerpelea@sony.com>

* open1788: defconfig update

    add ARCH_CHIP to defconfig

    Signed-off-by: Alin Jerpelea <alin.jerpelea@sony.com>

* pnev5180b: defconfig update

    add ARCH_CHIP to defconfig

    Signed-off-by: Alin Jerpelea <alin.jerpelea@sony.com>

* u-blox-c027: defconfig update

    add ARCH_CHIP to defconfig

    Signed-off-by: Alin Jerpelea <alin.jerpelea@sony.com>

* zkit-arm-1769: defconfig update

    add ARCH_CHIP to defconfig

    Signed-off-by: Alin Jerpelea <alin.jerpelea@sony.com>

* mcu123-lpc214x: defconfig update

    add ARCH_CHIP to defconfig

    Signed-off-by: Alin Jerpelea <alin.jerpelea@sony.com>

* zp214xpa: defconfig update

    add ARCH_CHIP to defconfig

    Signed-off-by: Alin Jerpelea <alin.jerpelea@sony.com>

* olimex-lpc2378: defconfig update

    add ARCH_CHIP to defconfig

    Signed-off-by: Alin Jerpelea <alin.jerpelea@sony.com>

* ea3131: defconfig update

    add ARCH_CHIP to defconfig

    Signed-off-by: Alin Jerpelea <alin.jerpelea@sony.com>

* ea3152: defconfig update

    add ARCH_CHIP to defconfig

    Signed-off-by: Alin Jerpelea <alin.jerpelea@sony.com>

* olimex-lpc-h3131: defconfig update

    add ARCH_CHIP to defconfig

    Signed-off-by: Alin Jerpelea <alin.jerpelea@sony.com>

* bambino-200e: defconfig update

    add ARCH_CHIP to defconfig

    Signed-off-by: Alin Jerpelea <alin.jerpelea@sony.com>

* lpc4330-xplorer: defconfig update

    add ARCH_CHIP to defconfig

    Signed-off-by: Alin Jerpelea <alin.jerpelea@sony.com>

* lpc4337-ws: defconfig update

    add ARCH_CHIP to defconfig

    Signed-off-by: Alin Jerpelea <alin.jerpelea@sony.com>

* lpc4337-evb: defconfig update

    add ARCH_CHIP to defconfig

    Signed-off-by: Alin Jerpelea <alin.jerpelea@sony.com>

* lpc4370-link2: defconfig update

    add ARCH_CHIP to defconfig

    Signed-off-by: Alin Jerpelea <alin.jerpelea@sony.com>

* lpcxpresso-lpc54628: defconfig update

    add ARCH_CHIP to defconfig

    Signed-off-by: Alin Jerpelea <alin.jerpelea@sony.com>

* max32660-evsys: defconfig update

    add ARCH_CHIP to defconfig

    Signed-off-by: Alin Jerpelea <alin.jerpelea@sony.com>

* moxa: defconfig update

    add ARCH_CHIP to defconfig

    Signed-off-by: Alin Jerpelea <alin.jerpelea@sony.com>

* nrf52-generic: defconfig update

    add ARCH_CHIP to defconfig

    Signed-off-by: Alin Jerpelea <alin.jerpelea@sony.com>

* nutiny-nuc120: defconfig update

    add ARCH_CHIP to defconfig

    Signed-off-by: Alin Jerpelea <alin.jerpelea@sony.com>

* arduino-due: defconfig update

    add ARCH_CHIP to defconfig

    Signed-off-by: Alin Jerpelea <alin.jerpelea@sony.com>

* flipnclick-sam3x: defconfig update

    add ARCH_CHIP to defconfig

    Signed-off-by: Alin Jerpelea <alin.jerpelea@sony.com>

* sam3u-ek: defconfig update

    add ARCH_CHIP to defconfig

    Signed-off-by: Alin Jerpelea <alin.jerpelea@sony.com>

* sam4cmp-db: defconfig update

    add ARCH_CHIP to defconfig

    Signed-off-by: Alin Jerpelea <alin.jerpelea@sony.com>

* sam4e-ek: defconfig update

    add ARCH_CHIP to defconfig

    Signed-off-by: Alin Jerpelea <alin.jerpelea@sony.com>

* sam4l-xplained: defconfig update

    add ARCH_CHIP to defconfig

    Signed-off-by: Alin Jerpelea <alin.jerpelea@sony.com>

* sam4s-xplained: defconfig update

    add ARCH_CHIP to defconfig

    Signed-off-by: Alin Jerpelea <alin.jerpelea@sony.com>

* sam4s-xplained-pro: defconfig update

    add ARCH_CHIP to defconfig

    Signed-off-by: Alin Jerpelea <alin.jerpelea@sony.com>

* sama5d2-xult: defconfig update

    add ARCH_CHIP to defconfig

    Signed-off-by: Alin Jerpelea <alin.jerpelea@sony.com>

* sama5d3-xplained: defconfig update

    add ARCH_CHIP to defconfig

    Signed-off-by: Alin Jerpelea <alin.jerpelea@sony.com>

* sama5d3x-ek: defconfig update

    add ARCH_CHIP to defconfig

    Signed-off-by: Alin Jerpelea <alin.jerpelea@sony.com>

* sama5d4-ek: defconfig update

    add ARCH_CHIP to defconfig

    Signed-off-by: Alin Jerpelea <alin.jerpelea@sony.com>

* samd20-xplained: defconfig update

    add ARCH_CHIP to defconfig

    Signed-off-by: Alin Jerpelea <alin.jerpelea@sony.com>

* samd21-xplained: defconfig update

    add ARCH_CHIP to defconfig

    Signed-off-by: Alin Jerpelea <alin.jerpelea@sony.com>

* saml21-xplained: defconfig update

    add ARCH_CHIP to defconfig

    Signed-off-by: Alin Jerpelea <alin.jerpelea@sony.com>

* metro-m4: defconfig update

    add ARCH_CHIP to defconfig

    Signed-off-by: Alin Jerpelea <alin.jerpelea@sony.com>

* same70-xplained: defconfig update

    add ARCH_CHIP to defconfig

    Signed-off-by: Alin Jerpelea <alin.jerpelea@sony.com>

* same71-xult: defconfig update

    add ARCH_CHIP to defconfig

    Signed-off-by: Alin Jerpelea <alin.jerpelea@sony.com>

* axoloti: defconfig update

    add ARCH_CHIP to defconfig

    Signed-off-by: Alin Jerpelea <alin.jerpelea@sony.com>

* clicker2-stm32: defconfig update

    add ARCH_CHIP to defconfig

    Signed-off-by: Alin Jerpelea <alin.jerpelea@sony.com>

* cloudctrl: defconfig update

    add ARCH_CHIP to defconfig

    Signed-off-by: Alin Jerpelea <alin.jerpelea@sony.com>

* fire-stm32v2: defconfig update

    add ARCH_CHIP to defconfig

    Signed-off-by: Alin Jerpelea <alin.jerpelea@sony.com>

* hymini-stm32v: defconfig update

    add ARCH_CHIP to defconfig

    Signed-off-by: Alin Jerpelea <alin.jerpelea@sony.com>

* maple: defconfig update

    add ARCH_CHIP to defconfig

    Signed-off-by: Alin Jerpelea <alin.jerpelea@sony.com>

* mikroe-stm32f4: defconfig update

    add ARCH_CHIP to defconfig

    Signed-off-by: Alin Jerpelea <alin.jerpelea@sony.com>

* nucleo-f103rb: defconfig update

    add ARCH_CHIP to defconfig

    Signed-off-by: Alin Jerpelea <alin.jerpelea@sony.com>

* nucleo-f207zg: defconfig update

    add ARCH_CHIP to defconfig

    Signed-off-by: Alin Jerpelea <alin.jerpelea@sony.com>

* nucleo-f302r8: defconfig update

    add ARCH_CHIP to defconfig

    Signed-off-by: Alin Jerpelea <alin.jerpelea@sony.com>

* nucleo-f303re: defconfig update

    add ARCH_CHIP to defconfig

    Signed-off-by: Alin Jerpelea <alin.jerpelea@sony.com>

* nucleo-f303ze: defconfig update

    add ARCH_CHIP to defconfig

    Signed-off-by: Alin Jerpelea <alin.jerpelea@sony.com>

* nucleo-f334r8: defconfig update

    add ARCH_CHIP to defconfig

    Signed-off-by: Alin Jerpelea <alin.jerpelea@sony.com>

* nucleo-f410rb: defconfig update

    add ARCH_CHIP to defconfig

    Signed-off-by: Alin Jerpelea <alin.jerpelea@sony.com>

* nucleo-f446re: defconfig update

    add ARCH_CHIP to defconfig

    Signed-off-by: Alin Jerpelea <alin.jerpelea@sony.com>

* nucleo-f4x1re: defconfig update

    add ARCH_CHIP to defconfig

    Signed-off-by: Alin Jerpelea <alin.jerpelea@sony.com>

* nucleo-1152re: defconfig update

    add ARCH_CHIP to defconfig

    Signed-off-by: Alin Jerpelea <alin.jerpelea@sony.com>

* olimex-stm32-e407: defconfig update

    add ARCH_CHIP to defconfig

    Signed-off-by: Alin Jerpelea <alin.jerpelea@sony.com>

* olimex-stm32-h405: defconfig update

    add ARCH_CHIP to defconfig

    Signed-off-by: Alin Jerpelea <alin.jerpelea@sony.com>

* olimex-stm32-h407: defconfig update

    add ARCH_CHIP to defconfig

    Signed-off-by: Alin Jerpelea <alin.jerpelea@sony.com>

* olimex-stm32-p107: defconfig update

    add ARCH_CHIP to defconfig

    Signed-off-by: Alin Jerpelea <alin.jerpelea@sony.com>

* olimex-stm32-p207: defconfig update

    add ARCH_CHIP to defconfig

    Signed-off-by: Alin Jerpelea <alin.jerpelea@sony.com>

* olimex-stm32-p407: defconfig update

    add ARCH_CHIP to defconfig

    Signed-off-by: Alin Jerpelea <alin.jerpelea@sony.com>

* olimex-stm32: defconfig update

    add ARCH_CHIP to defconfig

    Signed-off-by: Alin Jerpelea <alin.jerpelea@sony.com>

* omnibusf4: defconfig update

    add ARCH_CHIP to defconfig

    Signed-off-by: Alin Jerpelea <alin.jerpelea@sony.com>

* photon: defconfig update

    add ARCH_CHIP to defconfig

    Signed-off-by: Alin Jerpelea <alin.jerpelea@sony.com>

* shenzou: defconfig update

    add ARCH_CHIP to defconfig

    Signed-off-by: Alin Jerpelea <alin.jerpelea@sony.com>

* stm3210e-eval: defconfig update

    add ARCH_CHIP to defconfig

    Signed-off-by: Alin Jerpelea <alin.jerpelea@sony.com>

* stm3220g-eval: defconfig update

    add ARCH_CHIP to defconfig

    Signed-off-by: Alin Jerpelea <alin.jerpelea@sony.com>

* stm3240g-eval: defconfig update

    add ARCH_CHIP to defconfig

    Signed-off-by: Alin Jerpelea <alin.jerpelea@sony.com>

* stm32_tiny: defconfig update

    add ARCH_CHIP to defconfig

    Signed-off-by: Alin Jerpelea <alin.jerpelea@sony.com>

* stm32butterfly2: defconfig update

    add ARCH_CHIP to defconfig

    Signed-off-by: Alin Jerpelea <alin.jerpelea@sony.com>

* stm32f103-minimum: defconfig update

    add ARCH_CHIP to defconfig

    Signed-off-by: Alin Jerpelea <alin.jerpelea@sony.com>

* stm32f334-disco: defconfig update

    add ARCH_CHIP to defconfig

    Signed-off-by: Alin Jerpelea <alin.jerpelea@sony.com>

* stm32f3discovery: defconfig update

    add ARCH_CHIP to defconfig

    Signed-off-by: Alin Jerpelea <alin.jerpelea@sony.com>

* stm32f411e-disco: defconfig update

    add ARCH_CHIP to defconfig

    Signed-off-by: Alin Jerpelea <alin.jerpelea@sony.com>

* stm32f429i-disco: defconfig update

    add ARCH_CHIP to defconfig

    Signed-off-by: Alin Jerpelea <alin.jerpelea@sony.com>

* stm32f4discovery: defconfig update

    add ARCH_CHIP to defconfig

    Signed-off-by: Alin Jerpelea <alin.jerpelea@sony.com>

* stm32ldiscovery: defconfig update

    add ARCH_CHIP to defconfig

    Signed-off-by: Alin Jerpelea <alin.jerpelea@sony.com>

* stm32vldiscovery: defconfig update

    add ARCH_CHIP to defconfig

    Signed-off-by: Alin Jerpelea <alin.jerpelea@sony.com>

* viewtool-stm32f107: defconfig update

    add ARCH_CHIP to defconfig

    Signed-off-by: Alin Jerpelea <alin.jerpelea@sony.com>

* b-l072z-lrwan1: defconfig update

    add ARCH_CHIP to defconfig

    Signed-off-by: Alin Jerpelea <alin.jerpelea@sony.com>

* nucleo-f072rb: defconfig update

    add ARCH_CHIP to defconfig

    Signed-off-by: Alin Jerpelea <alin.jerpelea@sony.com>

* nucleo-f091rc: defconfig update

    add ARCH_CHIP to defconfig

    Signed-off-by: Alin Jerpelea <alin.jerpelea@sony.com>

* nucleo-f071rg: defconfig update

    add ARCH_CHIP to defconfig

    Signed-off-by: Alin Jerpelea <alin.jerpelea@sony.com>

* nucleo-l073rz: defconfig update

    add ARCH_CHIP to defconfig

    Signed-off-by: Alin Jerpelea <alin.jerpelea@sony.com>

* stm32f051-discovery: defconfig update

    add ARCH_CHIP to defconfig

    Signed-off-by: Alin Jerpelea <alin.jerpelea@sony.com>

* stm32f072-discovery: defconfig update

    add ARCH_CHIP to defconfig

    Signed-off-by: Alin Jerpelea <alin.jerpelea@sony.com>

* nucleo-144: defconfig update

    add ARCH_CHIP to defconfig

    Signed-off-by: Alin Jerpelea <alin.jerpelea@sony.com>

* stm32f746-ws: defconfig update

    add ARCH_CHIP to defconfig

    Signed-off-by: Alin Jerpelea <alin.jerpelea@sony.com>

* stm32f746g-disco: defconfig update

    add ARCH_CHIP to defconfig

    Signed-off-by: Alin Jerpelea <alin.jerpelea@sony.com>

* stm32f746g-disco: defconfig update

    add ARCH_CHIP to defconfig

    Signed-off-by: Alin Jerpelea <alin.jerpelea@sony.com>

* nucleo-h743zi: defconfig update

    add ARCH_CHIP to defconfig

    Signed-off-by: Alin Jerpelea <alin.jerpelea@sony.com>

* b-l475e-iot01a: defconfig update

    add ARCH_CHIP to defconfig

    Signed-off-by: Alin Jerpelea <alin.jerpelea@sony.com>

* nucleo-l432kc: defconfig update

    add ARCH_CHIP to defconfig

    Signed-off-by: Alin Jerpelea <alin.jerpelea@sony.com>

* nucleo-l432re: defconfig update

    add ARCH_CHIP to defconfig

    Signed-off-by: Alin Jerpelea <alin.jerpelea@sony.com>

* nucleo-l476rg: defconfig update

    add ARCH_CHIP to defconfig

    Signed-off-by: Alin Jerpelea <alin.jerpelea@sony.com>

* nucleo-l496zg: defconfig update

    add ARCH_CHIP to defconfig

    Signed-off-by: Alin Jerpelea <alin.jerpelea@sony.com>

* stm32l476-mdk: defconfig update

    add ARCH_CHIP to defconfig

    Signed-off-by: Alin Jerpelea <alin.jerpelea@sony.com>

* stm32l476vg-disco: defconfig update

    add ARCH_CHIP to defconfig

    Signed-off-by: Alin Jerpelea <alin.jerpelea@sony.com>

* stm32l4r9ai-disco: defconfig update

    add ARCH_CHIP to defconfig

    Signed-off-by: Alin Jerpelea <alin.jerpelea@sony.com>

* olimex-strp711: defconfig update

    add ARCH_CHIP to defconfig

    Signed-off-by: Alin Jerpelea <alin.jerpelea@sony.com>

* dk-tm4c129x: defconfig update

    add ARCH_CHIP to defconfig

    Signed-off-by: Alin Jerpelea <alin.jerpelea@sony.com>

* eagle100: defconfig update

    add ARCH_CHIP to defconfig

    Signed-off-by: Alin Jerpelea <alin.jerpelea@sony.com>

* ekk-lm3s9b96: defconfig update

    add ARCH_CHIP to defconfig

    Signed-off-by: Alin Jerpelea <alin.jerpelea@sony.com>

* launchxl-cc1310: defconfig update

    add ARCH_CHIP to defconfig

    Signed-off-by: Alin Jerpelea <alin.jerpelea@sony.com>

* launchxl-cc1312r1: defconfig update

    add ARCH_CHIP to defconfig

    Signed-off-by: Alin Jerpelea <alin.jerpelea@sony.com>

* lm3s6432-s2e: defconfig update

    add ARCH_CHIP to defconfig

    Signed-off-by: Alin Jerpelea <alin.jerpelea@sony.com>

* lm3s6965-ek: defconfig update

    add ARCH_CHIP to defconfig

    Signed-off-by: Alin Jerpelea <alin.jerpelea@sony.com>

* lm3s8962-ek: defconfig update

    add ARCH_CHIP to defconfig

    Signed-off-by: Alin Jerpelea <alin.jerpelea@sony.com>

* lm4f120-launchpad: defconfig update

    add ARCH_CHIP to defconfig

    Signed-off-by: Alin Jerpelea <alin.jerpelea@sony.com>

* lm4c123g-launchpad: defconfig update

    add ARCH_CHIP to defconfig

    Signed-off-by: Alin Jerpelea <alin.jerpelea@sony.com>

* lm4c1294-launchpad: defconfig update

    add ARCH_CHIP to defconfig

    Signed-off-by: Alin Jerpelea <alin.jerpelea@sony.com>

* launchxl-tms57004: defconfig update

    add ARCH_CHIP to defconfig

    Signed-off-by: Alin Jerpelea <alin.jerpelea@sony.com>

* tms570ls31x-usb-kit: defconfig update

    add ARCH_CHIP to defconfig

    Signed-off-by: Alin Jerpelea <alin.jerpelea@sony.com>

* xmc4500-relax: defconfig update

    add ARCH_CHIP to defconfig

    Signed-off-by: Alin Jerpelea <alin.jerpelea@sony.com>

* zp214xpa: typo fix

    add missing tools/oocd.sh

    Signed-off-by: Alin Jerpelea <alin.jerpelea@sony.com>

Approved-by: Gregory Nutt <gnutt@nuttx.org>
2019-08-07 20:49:39 +00:00
Augusto Fraga Giachero
a1f1adb878 arch/arm/src/lpc17xx_40xx/lpc17_40_ethernet.c: Fix the initialization for DP83848x PHYs. The DP83848x requires the RMII mode to be manually enabled through the MII_DP83848C_RBR register. Before querying the speed and mode it should wait for the link to be established. 2019-08-07 09:22:50 -06:00
Augusto Fraga Giachero
41d3ef5f1b arch/arm/src/lpc17xx_40xx/lpc17_40_ethernet.c: Follow the procedure listed in the LPC176x/5x User Manual when reading from and writing to the PHY's registers (section 10.11.14). I couldn't see any behavioral change after this commit, but nonetheless is a good practice to follow the manufacturer's recommended procedure. 2019-08-07 09:01:10 -06:00
Augusto Fraga Giachero
17518b4a7d arch/arm/src/lpc17xx_40xx/Kconfig: Add missing LPC17_40_PHY_CEMENT_DISABLE config to the lpc17xx Kconfig file. For some reason this config wasn't referenced anywhere else except in arch/arm/src/lpc17xx_40xx/lpc17_40_ethernet.c. 2019-08-07 08:59:38 -06:00
David Sidrane
7a85cf1728 fs/procfs/fs_procfsuptime: Fixed type warning. 2019-08-07 07:56:10 -06:00
David Sidrane
1e90dd9284 net/socket/getpeername: Fixed warning in DEBUG code. 2019-08-07 07:53:56 -06:00
Nathan Hartman
06f693965c Tiva: Fix errors in low-level timer support
arch/arm/src/tiva/common/tiva_timerlib.c:
* tiva_gptm_configure() and tiva_gptm_release(): Fix error: Was calling
  tiva_emac_periphrdy() instead of tiva_gptm_periphrdy().

arch/arm/src/tiva/tiva_timer.h:
* Fix error in "abcde" description of bit flag defines.
2019-08-07 07:35:37 -06:00
Nathan Hartman
162e2e1c65 arch/arm/src/tiva/common/tiva_timerlib.c: Fix minor errors in tiva_timerlib
Fix incorrect preprocessor conditionals related to Kconfig defines:
* CONFIG_TIVA_TIMER32_EDGECOUNT -> CONFIG_TIVA_TIMER16_EDGECOUNT
* CONFIG_TIVA_TIMER32_TIMECAP -> CONFIG_TIVA_TIMER16_TIMECAP
* CONFIG_TIVA_TIMER32_PWM -> CONFIG_TIVA_TIMER16_PWM
2019-08-06 17:09:42 -06:00
David S. Alessio
ced0dc1e16 arch/arm/src/armv7-m: Add ARMv7-M setjmp/longjump functions. 2019-08-06 15:59:19 -06:00
Gregory Nutt
ec5120f69e sched/group and syscall/: Implement 'real' setuid, getuid, setgid, and getgid interfaces. These will be inheritance by all child task groups. 2019-08-06 14:13:43 -06:00
Gregory Nutt
945e27d85c libs/libc/unistd.h: Add getuid() and getgid() to match Michael Jung's setuid() and setgid(). 2019-08-06 12:38:43 -06:00
Gregory Nutt
c92da140eb boards/arm: Update patches to linker scripts in kernel/Makefile files. 2019-08-06 12:09:04 -06:00
Gregory Nutt
207e5072ef defconfigs: pathes assigned to CONFIG_PASS1_BUILDIR must now include the architecture. 2019-08-06 11:06:28 -06:00
Gregory Nutt
78fe3a3906 tools/configure.sh: Needs to be able to run from the tools sub-directory. 2019-08-06 10:51:39 -06:00
Gregory Nutt
d4d67ec425 tools/: Update configuration-related tools for last change to boards/ directory organization. 2019-08-06 10:39:12 -06:00
Alin Jerpelea
af28821c77 Merged in alinjerpelea/nuttx (pull request #966)
group boards by architecture

* z80: group boards by architecture

    all boards that share the same architecture are moved to the same arch
    folder following the soc layout

    Signed-off-by: Alin Jerpelea <alin.jerpelea@sony.com>

* z16: group boards by architecture

    all boards that share the same architecture are moved to the same arch
    folder following the soc layout

    Signed-off-by: Alin Jerpelea <alin.jerpelea@sony.com>

* xtensa: group boards by architecture

    all boards that share the same architecture are moved to the same arch
    folder following the soc layout

    Signed-off-by: Alin Jerpelea <alin.jerpelea@sony.com>

* x86: group boards by architecture

    all boards that share the same architecture are moved to the same arch
    folder following the soc layout

    Signed-off-by: Alin Jerpelea <alin.jerpelea@sony.com>

* sim: group boards by architecture

    all boards that share the same architecture are moved to the same arch
    folder following the soc layout

    Signed-off-by: Alin Jerpelea <alin.jerpelea@sony.com>

* risc-v: group boards by architecture

    all boards that share the same architecture are moved to the same arch
    folder following the soc layout

    Signed-off-by: Alin Jerpelea <alin.jerpelea@sony.com>

* renesas: group boards by architecture

    all boards that share the same architecture are moved to the same arch
    folder following the soc layout

    Signed-off-by: Alin Jerpelea <alin.jerpelea@sony.com>

* or1k: group boards by architecture

    all boards that share the same architecture are moved to the same arch
    folder following the soc layout

    Signed-off-by: Alin Jerpelea <alin.jerpelea@sony.com>

* misoc: group boards by architecture

    all boards that share the same architecture are moved to the same arch
    folder following the soc layout

    Signed-off-by: Alin Jerpelea <alin.jerpelea@sony.com>

* mips: group boards by architecture

    all boards that share the same architecture are moved to the same arch
    folder following the soc layout

    Signed-off-by: Alin Jerpelea <alin.jerpelea@sony.com>

* hc: group boards by architecture

    all boards that share the same architecture are moved to the same arch
    folder following the soc layout

    Signed-off-by: Alin Jerpelea <alin.jerpelea@sony.com>

* avr: group boards by architecture

    all boards that share the same architecture are moved to the same arch
    folder following the soc layout

    Signed-off-by: Alin Jerpelea <alin.jerpelea@sony.com>

* arm: group boards by architecture

    all boards that share the same architecture are moved to the same arch
    folder following the soc layout

    Signed-off-by: Alin Jerpelea <alin.jerpelea@sony.com>

* boards: group boards by architecture

    Signed-off-by: Alin Jerpelea <alin.jerpelea@sony.com>

Approved-by: Gregory Nutt <gnutt@nuttx.org>
2019-08-06 14:37:27 +00:00
Gregory Nutt
c6b5049e3e tools/configure.sh: Restore support for custom, out-of-tree configurations that was broken in a previous commit. 2019-08-06 08:36:40 -06:00
Markus Bernet
f1462d2a2f arch/arm/src/stm32h7: Fix UART7/8 typos. Fix bug in ETH_MACQTXFCR configuration. 2019-08-06 07:37:55 -06:00
Yang ChungFan
4db8c826d7 drivers/pipes: Use inode reference counter instead of device reference counter to handle dup(). I found that if I dup() a pipe, the reference counter d_refs is not increased. If I close any of the fd, backed by the same pipe, the pipe will be freed. This causes any further usage on the fd referencing a non existent pipe. This change uses the inode reference counter, which is properly maintained during dup(). 2019-08-06 07:31:57 -06:00
Michael Jung
e8af615578 libs/libc/unistd: Stubs for setuid and setgid. Added stubbed implementations of setuid and setgid. These functions are essentially stubs pretending that NuttX supported users and groups and that the only configured user and group in the system were both 'root' with a uid and a gid of 0, respectively. The intent is not to provide meaningful new features, but to ease porting of foreign source code to NuttX. 2019-08-06 07:17:23 -06:00
김정찬
a12f80fb90 sched/mqueue/mq_desclose.c: Add a test to verify that message queue is closed by the same task group that opened it. If not, then list corruption would result. This test is only performed if CONFIG_DEBUG_FEATURES is enabled since it should not normally be an issue: It would be a strange programming practice to open a message queue in open task group, then close it in another. 2019-08-05 18:30:07 -06:00
Gregory Nutt
721994846c tools/: Change preferred argument of configurations tools to use ':' as the delimiter between <board-name> and <config-name>. This is to emphasize that this is not a path; it is configuration specification.
The legacy '/' delimiter is still supported but not recommend and not advertised.

Squashed commit of the following:

    Update configurations instructions in more README.txt files to show ':' delimiter vs '/' delimiter.
    Update configurations instructions in various README.txt file to show ':' delimiter vs '/' delimiter.
    tools:  Update all configuration-related tools to accept ':' separator between board and configuration name.
2019-08-05 16:55:51 -06:00
Gregory Nutt
0de938a190 tools/configure.sh and .c: When dumping available configurations, omit the 'config/' in the path. 2019-08-05 16:55:49 -06:00
David Sidrane
1881a7216e Merged in david_s5/nuttx/master_kinetis_i2c_fix_txfer (pull request #965)
kinetis:i2c transfer ensure correct result returned

kinetis_i2c_transfer released the mutex then fetched
   the state, this resulted in returning the correct
   results.

Approved-by: Gregory Nutt <gnutt@nuttx.org>
2019-08-05 20:31:34 +00:00
Gregory Nutt
cb1672a05a boards/: Fix more comments related to the reorganization of the board configuration directories. 2019-08-05 10:48:10 -06:00
Gregory Nutt
aa49f831be tools/refresh.sh: Fix the configuratin refresh script for changes to configuration paths. 2019-08-05 10:18:07 -06:00
Gregory Nutt
e12c133a53 Change references to boards/<board>/<config> to boards/<board>/configs/<config> in comments, Documentation, URLs. 2019-08-05 10:16:02 -06:00
Gregory Nutt
e1588f6cc2 tools/testbuild.sh: Fixes needed for changes to boards/ directory structure. 2019-08-05 09:14:30 -06:00
Gregory Nutt
341cbb272b tools/configure.sh and configure.c. Update to preserve backward compatibility in usage. 2019-08-05 09:03:12 -06:00