Marco Krahl
084a90b468
Merged in MarcoKrahl/nuttx/ltdc (pull request #654 )
...
LTDC fixes
* stm32_ltdc: Allows to use ltdc without overlay support
Signed-off-by: Marco Krahl <ocram.lhark@gmail.com>
* stm32: Removes overlay dependency when LTDC is enabled
Signed-off-by: Marco Krahl <ocram.lhark@gmail.com>
* stm32: Allows to configure initial chromakey for LTDC layer
Signed-off-by: Marco Krahl <ocram.lhark@gmail.com>
* stm32_ltdc: Fixes another compiler warning when dma2d is disabled
Signed-off-by: Marco Krahl <ocram.lhark@gmail.com>
* stm32_ltdc: Checks for register reload is done before continued
Signed-off-by: Marco Krahl <ocram.lhark@gmail.com>
* stm32f429i-disco: Fixes eliminated register control by compiler optimization
When reading 1 byte from the SPI device the clock must be enabled and
immediately disabled. This section has been optimized by the compiler (-O2) to a
missing active spi clock. A subsequently block read failed because of missing
response from the spi device. This has been lead to a broken display
initializing.
Signed-off-by: Marco Krahl <ocram.lhark@gmail.com>
Approved-by: Gregory Nutt <gnutt@nuttx.org>
2018-06-08 13:24:57 +00:00
Marco Krahl
af9bf8d721
Merged in MarcoKrahl/nuttx/ltdc (pull request #652 )
...
ports stm32 ltdc and stm32 dma2d to framebuffer interface
* stm32: Removes current dma2d and ltdc implementation for replacement
Signed-off-by: Marco Krahl <ocram.lhark@gmail.com>
* stm32f429i-disco: Removes obsolete functions call
Signed-off-by: Marco Krahl <ocram.lhark@gmail.com>
* stm32_dma2d: Adds pixel format and transparency definitions
Signed-off-by: Marco Krahl <ocram.lhark@gmail.com>
* stm32_dma2d: Adds interface definition
Signed-off-by: Marco Krahl <ocram.lhark@gmail.com>
* stm32_dma2d: Reimplements dma2d driver
Signed-off-by: Marco Krahl <ocram.lhark@gmail.com>
* stm32_ltdc: Adds interface definition
Signed-off-by: Marco Krahl <ocram.lhark@gmail.com>
* stm32_ltdc: Reimplements ltdc driver
Signed-off-by: Marco Krahl <ocram.lhark@gmail.com>
* stm32: Updates LTDC and DMA2D Kconfig definitions
Signed-off-by: Marco Krahl <ocram.lhark@gmail.com>
* stm32f429i-disco: Fix compile error when ldc debug is enabled
Signed-off-by: Marco Krahl <ocram.lhark@gmail.com>
* stm32f429i-disco: Adds helper script for frambuffer and heap2 calculation
Signed-off-by: Marco Krahl <ocram.lhark@gmail.com>
* stm32f429i-disco: Update README for framebuffer configuration
Signed-off-by: Marco Krahl <ocram.lhark@gmail.com>
* stm32f429i-disco: Update board configuration of framebuffer example
Signed-off-by: Marco Krahl <ocram.lhark@gmail.com>
Approved-by: Gregory Nutt <gnutt@nuttx.org>
2018-06-06 16:05:05 +00:00
Gregory Nutt
b54ffe858a
Standardization of some function headers.
2018-03-13 09:52:27 -06:00
Michael Jung
cbd8fa31d1
configs/stm32f429i-disco: Separate SPI4 from MTD init. I was trying to attach a non-MTD peripheral to an STM32F429I Discovery Board's SPI4 port and was hitting compilation problems, since CONFIG_MTD and thus 'struct mtd_geometry_s' was not defined. This patch separates SPI4 initialization logic from MTD initialization logic.
2018-02-05 06:35:40 -06:00
Gregory Nutt
7cf88d7dbd
Make sure that labeling is used consistently in all function headers.
2018-02-01 10:00:02 -06:00
Gregory Nutt
50ca32e254
Squashed commit of the following:
...
sched/: Convert legitimate uses of task_create() to nxtask_create(). Review handling of returned values from all uses of kthread_create() (as well as nxtask_create()).
graphics/: Review return values for all calls to kthread_start() because it no longer returns an errno.
drivers/: threads started by drivers should be kernel threads, not user tasks. Review return values for all calls to kthread_start() because it no longer returns an errno.
configs/: threads started by board bringup logic should be kernel threads, not user tasksi (part 2 of 2).
sched/task: Add nxtask_create(). Kthread_create() and nxtask_create() are internal OS functions and should not modify the errno variable. configs/: threads started by board bringup logic should be kernel threads, not user tasks.
2018-01-31 16:11:54 -06:00
Gregory Nutt
ce7df1f961
configst/stm3240g-eval: Remove only bogus logic to start the NX server. That was there only to support the knxwm configuration and was implemented priorit to boardctl(BOARCIOC_NX_START).
2018-01-18 06:57:38 -06:00
Gregory Nutt
301bf1ee77
This commit eliminates the BOARDIOC_TSCTEST_SETUP command.
...
Squashed commit of the following:
configs: Each board now initializes the touchscreen controller as a normal part of its board bring-up. board_tsc_setup() is gone; the touchscreen controller is now treated like any other on-board device.
Remove all support for BOARDIOC_TSCTEST_SETUP
Move prototype for board_tsc_setup() from include/nuttx/board.h to individual board header files.
2018-01-17 09:33:28 -06:00
Gregory Nutt
e276d4d16d
Remove the BOARDIOC_TSCTEST_TEARNDOWN boardctl() command. Remove all implementations of board_tsc_teardown() (the were all stubs anyway except for the simulation).
2018-01-16 18:03:21 -06:00
Gregory Nutt
64bcf3ec94
configs/stm32429i-disco/src: Fix a compile error when CONFIG_BOARD_INITIALIZE is defined.
2017-11-14 16:52:22 -06:00
Gregory Nutt
d427872bd6
configs/stm32f429i-disco: Add logic to auto-mount procfs. Enable procfs in all configurations that use NSH.
2017-11-13 16:46:45 -06:00
Gregory Nutt
cd498778bd
configs/stm32f429i-disco/: Fix a warning and some C comments.
2017-11-13 16:23:14 -06:00
Gregory Nutt
f3cac38ed6
configs/stm32f429i-disco/fb: Refactor initialization logic so that it is a little more like other boards. Remove double initialization of framebuffer or LCD drivers (whichever is enabled).
2017-11-13 15:10:00 -06:00
Gregory Nutt
2ff9f0e5b1
configs/stm32f429i-disco/fb: Fix a compile issue. Disable all NX features in the fb configuration. NX is not needed.
2017-11-13 14:52:10 -06:00
Gregory Nutt
bf724ddf61
configs/stm32f439i-disco: Add an fb configuration
2017-11-13 14:33:47 -06:00
Gregory Nutt
08fa834a6a
arch/arm/include/stm32 and stm32f7: Remove ltdc.h and dma2d.h. Those header files in that location permitted inclusion into application space logic and, hence, facilitated and encouraged calling into the OS and violating the portable POSIX OS interface. The definitions in those header files were move the appropriate location in the counterpart, architecture specific files at arch/arm/src/stm32 and stm32f7 dma2d.h and ltdc.h.
...
configs/stm32f429i-disco/ltdc: This configuration has been deleted because it violated the portable POSIX OS interface. It used apps/examples/ltdc and include ltdc.h and dma2d.h which were also removed for the same reason.
2017-11-06 12:22:48 -06:00
Gregory Nutt
b75952c479
This removes the last traces of single-user mode.
2017-10-15 09:34:08 -06:00
Gregory Nutt
8394f9b60f
Squashed commit of the following:
...
configs/z80sim and xtrs: Serial driver lower halfs ioctl methods should return a negated errno value, not set the errno variable.
drivers/wireless: CC1101 driver not permitted to set errno.
drivers/sensors: LIS331DL driver not permitted to set errno.
drivers/lcd: ILI9341 initialize method not permitted to set errno,
drivers/serial: 16550 UART driver IOCTL method must not set errno; it must return a negated errno value.
2017-09-30 12:59:33 -06:00
Gregory Nutt
0de294a586
Fix lots of occurrences of 'the the', 'the there', 'the these', 'the then', 'the they.
2017-05-11 13:35:56 -06:00
Gregory Nutt
e9a5477506
Add an instance argument to the SPIDEV definitions.
2017-04-29 12:26:52 -06:00
Sebastien Lorquet
aca2e36d67
stm32 devboards
2017-04-28 18:26:05 +02:00
Gregory Nutt
77f980e676
Buttons: Correct some comments left after last button-related change: 32- vs 8-bit bit set.
2017-04-09 14:44:49 -06:00
Gregory Nutt
f9e402018b
Buttons: Change return value of board_buttons() and the type of btn_buttonset_t to uint32_t so that more than 8 buttons can be supported.
2017-04-09 07:22:49 -06:00
no1wudi
90a16ed9c7
fixed a typo
2017-03-04 14:38:22 +08:00
Gregory Nutt
7a9a3bea2f
stm32_gpiosetevent: GPIO IRQ function should not return the xcpt_t oldhandler. This value is useful and potentially dangerous by itself after the change to assocaite a argument with the interrupt handler.
2017-03-02 18:36:14 -06:00
Gregory Nutt
454164a88c
stm32_gpiosetevent: GPIO IRQ function should not return the xcpt_t oldhandler. This value is useful and potentially dangerous by itself after the change to assocaite a argument with the interrupt handler.
2017-03-02 18:20:38 -06:00
Gregory Nutt
f4bad1a280
stm32_gpiosetevent: GPIO IRQ logic no longer returns the xcpt_t oldhandler. This value is useless and dangerous after the recent changes to interrupt argument passing.
2017-03-02 16:34:37 -06:00
Gregory Nutt
4f5e0e3519
board_button_irq: Button IRQ logic no longer returns the xcpt_t oldhandler. There value is useless and dangerous after the recent changes to interrupt argument passing.
2017-03-02 15:27:55 -06:00
Gregory Nutt
4c82827ab1
board_button_irq: Button IRQ logic no longer returns the xcpt_t oldhandler. There value is useless and dangerous after the recent changes to interrupt argument passing.
2017-03-02 14:37:22 -06:00
Gregory Nutt
67de2e5f66
Add argument to STM32 EXTI interrupt handlers.
2017-02-27 14:21:30 -06:00
Gregory Nutt
a773f9412a
STMPE811 driver needs argument in interrupt handler
2017-02-27 11:41:48 -06:00
Gregory Nutt
6e32d74b33
Cosmetic changes from review of the last PR
2017-02-19 11:49:42 -06:00
raiden00
d45b731fbd
config/stm32f429i-disco: add support for the L3GD20 driver
2017-02-19 17:43:54 +01:00
Gregory Nutt
3898fc0a16
STM32F429-DISCO: Move some board initialization logic that is not usuable because it lacks the configuration options to make it so
2017-01-31 17:06:54 -06:00
Gregory Nutt
3deb8eda59
Update README file, comments.
2017-01-08 18:10:56 -06:00
Gregory Nutt
3b1b112153
Fix a few coding standard issues.
2017-01-08 16:29:10 -06:00
Gregory Nutt
e568253eb3
Update README, some comments, and fix some spacing.
2017-01-07 10:36:18 -06:00
Alan Carvalho de Assis
530ec2e967
STM32F429i Discovery: Add support for NxWM on STM32F429i-Disco board
2017-01-07 08:17:44 -06:00
Gregory Nutt
10fff9011a
Move include/nuttx/configdata.h to include/nuttx/mtd/configdata.h
2016-07-21 13:34:54 -06:00
Gregory Nutt
a897fd4ccf
Eliminate use of apps/system/usbmonitor. Use drivers/usbmonitor instead.
2016-06-30 13:09:22 -06:00
Gregory Nutt
7c34a77b54
Move apps/system/usbmonitor to nuttx/drivers/usbmonitor
2016-06-30 12:24:33 -06:00
Gregory Nutt
43eb04bb8f
Without lowsyslog() *llinfo() is not useful. Eliminate and replace with *info().
2016-06-20 11:59:15 -06:00
Gregory Nutt
2ddd57c674
Centralize definitions associated with CONFIG_DEBUG_LEDS
2016-06-15 14:12:19 -06:00
Gregory Nutt
24c51ec1ff
Centralize definitions associated with CONFIG_DEBUG_LCD
2016-06-15 11:40:33 -06:00
Gregory Nutt
ba03134bed
Centralize definitions associated with CONFIG_DEBUG_SPI
2016-06-15 10:41:13 -06:00
Gregory Nutt
b0458e36da
configs/: Remove references to non-existent SPI_VERBOSE setting
2016-06-12 17:57:12 -06:00
Gregory Nutt
a5457987d8
configs/: Change some err() ERRORS to warn() WARNINGS or info()
2016-06-12 17:02:46 -06:00
Gregory Nutt
a1469a3e95
Add CONFIG_DEBUG_ERROR. Change names of *dbg() * *err()
2016-06-11 15:50:49 -06:00
Gregory Nutt
e99301d7c2
Rename *lldbg to *llerr
2016-06-11 14:55:27 -06:00
Gregory Nutt
1cdc746726
Rename CONFIG_DEBUG to CONFIG_DEBUG_FEATURES
2016-06-11 14:14:08 -06:00