Xiang Xiao
6a3c2aded6
Fix wait loop and void cast ( #24 )
...
* Simplify EINTR/ECANCEL error handling
1. Add semaphore uninterruptible wait function
2 .Replace semaphore wait loop with a single uninterruptible wait
3. Replace all sem_xxx to nxsem_xxx
* Unify the void cast usage
1. Remove void cast for function because many place ignore the returned value witout cast
2. Replace void cast for variable with UNUSED macro
2020-01-02 10:54:43 -06:00
David Sidrane
eb2bcfc44f
boards/arm/imxrt/imxrt1020-evk/include/board.h: Enable the GPIO based CD.
2019-12-12 08:34:58 -06:00
David Sidrane
2cbcb8fd00
arch/arm/src/imxrt/imxrt_clockconfig.c and board.h: Allow clock setting for SPI and I2C from board.h.
2019-12-12 08:33:05 -06:00
Gregory Nutt
b2035ebb1c
boards/arm/imxrt/imxrt1020-evk/src/imxrt_autoleds.c: Must include imxrt1020-evk.h
2019-12-08 08:24:02 -06:00
Gregory Nutt
3e85a7e53d
boards/arm/imxrt/imxrt10x0-evk/include/board.h and src/imxrt10x0-evk.h: Board internal GPIO definitions were erroneously moved to board.h in a previous comment. This restores them to where they belong in the private imxrt10x0-evk.h header file.
2019-12-08 08:02:31 -06:00
Gregory Nutt
dd55d4d8d6
board.h edited online with Bitbucket
...
Fixes a stray chacter introduced in a previous commit.
2019-12-08 12:26:55 +00:00
Brennan Ashton
56c68c4db6
boards/arm/imxrt/imxrt1020-evk: Fix several errors relation to USBOTG: pin definitions in include/board.h and include path for imxrt_usbotg.h in src/imxrt_usbhost.c.
2019-12-07 21:45:39 -06:00
Dave Marples
f410d9711a
boards/arm/imxrt/imxrt10x0-evk/include/board.h: Set up TRACE clocking correctly. This also reverts 7dcd57aa4a
.
2019-11-29 14:54:08 -06:00
Gregory Nutt
7dcd57aa4a
boars/arm/imxrt/imxrt10x0-evk/include/board.h: Define IMXRT_TRACE_CLK_SELECT with arbitrary value just to get through build testing.
2019-11-28 11:18:42 -06:00
Alin Jerpelea
5e8eb7776d
boards/arm/imxrt/imxrt1020-evk/src/imxrt1020-evk.h: Fix ifdef string. The old configs folder was migrated to Boards/<arch> and we should fix the ifdef.
2019-11-12 08:12:26 -06:00
Gregory Nutt
a9b220f169
boards/arm/imxrt/imxrt1020-evk: Make naming of the LED consistent. In most places it is referred to as LED1. In board.h it is referred to as USERLED1. The i.MXRT1020-EVK hardware user guide (HUG) uses the name USERLED. This command makes all names internally consistent and consistent with the HUG. Noted by Alin Jerpelea.
2019-11-11 16:27:53 -06:00
Alin Jerpelea
eb126f58c9
boards/arm/imxrt/imxrt1020-evk: Fix ifdef string. The old configs folder was migrated to Boards/<arch> and we should fix the ifdef.
2019-11-11 16:06:43 -06:00
Gregory Nutt
a450b85dc8
boards/arm/imxrt/imxrt1020-evk/include/board.h: Revert part of 2b4db647ec
. The 1020, has no LCD.
2019-11-09 10:28:28 -06:00
Gregory Nutt
2b4db647ec
board/arm/imxrt: Because of that last dumb pin naming change, we now have to define EVERY pin in the board.h head file. How idiotic!
2019-11-09 10:22:45 -06:00
Gregory Nutt
731fddd8e3
boards/arm/imxrt/imxrt1020-evk/include/board.h: Fix an error that I introduced with code review.
2019-11-09 09:55:16 -06:00
Gregory Nutt
e2905bc69c
boards/arm/imxrt/imxrt1020-evk: Run all .c and .h files through tools/nxstyle and fix numerous coding violations. This sucks. The submitter of the patch is responsibile for doing this and dumping this on me is shit.
2019-11-08 17:49:29 -06:00
Dave Marples
b10737864f
boards/arm/imxrt/imxrt1020-evk: Add support for the MIMXRT1021-EVK board. It features nsh, netnsh and usdhc sample configurations.
2019-11-08 17:18:01 -06:00