Sebastien Lorquet
9527f849f4
drivers/lcd: Detect and handle more errors in return values within the LCD framebuffer and SSD1306 drivers
2018-02-19 07:32:44 -06:00
Gregory Nutt
2baa155791
drivers/lcd: In order to actually use the new register access IOCTL calls, need to move the register address definitions out of the private header file and into the public header file.
2018-02-18 13:45:20 -06:00
Gregory Nutt
65513d58e3
drivers/lcd: Add FT80x IOCTL commands to access individual registers.
2018-02-18 12:39:15 -06:00
Gregory Nutt
be73c65b64
drivers/lcd: Minor updates to FT80x initialization.
2018-02-18 11:04:29 -06:00
Gregory Nutt
eb3663721e
Squashed commit of the following:
...
drivers/lcd: Rename ft80x_base.c to just ft80x.c. Add logic to notify FT80X clients of events via signals.
drivers/lcd: Trivial updates to naming. Add some new definitions.
2018-02-17 18:30:24 -06:00
Gregory Nutt
758e94f7a7
drivers/lcd: Add FT80x interrupt framework. Interrupts are still not used by the driver.
2018-02-17 16:36:11 -06:00
Gregory Nutt
885ab75045
drivers/lcd: Add support for creating display lists incrementally.
2018-02-17 14:48:18 -06:00
Gregory Nutt
e4292dced8
drivers/lcd: Add unlink support to the FT80x driver.
2018-02-17 13:01:06 -06:00
Gregory Nutt
6a405ead67
This commit adds a barbones FTDI FT80x driver. It is untested (I don't even have hardware yet and, hence, it is marked as EXPERIMENTAL
...
Squashed commit of the following:
drivers/lcd: Finishes off basic FT80X. Still missing some niceties.
drivers/lcd: Rethink FT80X display list interface.
drivers/lcd: More FT800x display list logic. Still not complete.
drivers/lcd: Add some basic FT80x initialization logic.
drivers/lcd: Add ft80x display list IOCTL framework. Still missing low level display list operations.
drivers/lcd: FT80x driver cannot be a standard LCD driver but must, instead, be a custom character driver.
drivers/lcd: Add FT800 co-processor commands and display list helpers.
drivers/lcd: Add SPI interface and framework for the initialization and the basic LCD driver.
drivers/lcd: Add beginnings of some FT80x implementation.
drivers/lcd: Add definitions for the FTDI FT801 part
include/nuttx/lcd/ft800.h: Add initial FT800 interface definition.
drivers/lcd: Add ft800 header file.
2018-02-17 11:59:07 -06:00
Gregory Nutt
3dfb5e962b
Fix a few typos
2018-02-15 10:43:05 -06:00
Gregory Nutt
46e5f292dd
drivers/lcd: lcd_framebuffer.c does not need to include board-specific board.h.
2018-02-15 09:20:20 -06:00
Matt Thompson
75f68b9d3a
Merged in extent3d/nuttx/lis3dh-fix (pull request #600 )
...
LIS3DH: Fix missing shift when writing output data rate to register
Approved-by: Gregory Nutt <gnutt@nuttx.org>
2018-02-14 20:27:48 +00:00
Sebastien Lorquet
abd3c4a7ea
drivers/eeprobom: EEPROM driver for AT24xx compatible EEPROMs.
2018-02-14 07:53:01 -06:00
Gregory Nutt
e07f12954c
Trivial changes from review of last PR.
2018-02-13 13:08:38 -06:00
Matt Thompson
e79e2e2d97
Merged in extent3d/nuttx/lis3dh (pull request #598 )
...
Added support for LIS3DH accelerometer sensor.
* Added support for LIS3DH accelerometer sensor.
* Fix line length
* Fix more line lengthts
Approved-by: Gregory Nutt <gnutt@nuttx.org>
2018-02-13 19:00:29 +00:00
Gregory Nutt
4a36c946e1
Trivial update to some comments.
2018-02-12 14:46:40 -06:00
Alan Carvalho de Assis
1247828e74
drivers/lcd: Fix the default I2C address of SSD1306 OLED display (7- vs 8-bit addressing)
2018-02-11 16:56:20 -06:00
Mateusz Szafoni
118e97ff37
Merged in raiden00/nuttx (pull request #595 )
...
Master
stm32_hritm: add interface to set timer frequency, fix slave timers reset configuration, change POWER_INFO to TIMER_INFO
Approved-by: Gregory Nutt <gnutt@nuttx.org>
2018-02-11 13:12:00 +00:00
Gregory Nutt
8f8ee5009d
Update some C comments.
2018-02-10 17:05:25 -06:00
Gregory Nutt
642d7e3ce2
Squashed commit of the following:
...
configs/flipnclick-pic32mz: Add an nxlines configuration for use in testing the custom HiletGo Click board.
arch/mips/src/pic32mz: Correct some SPI-related typos. configs/flipnclick-pic32mz: Finishes integration of HiletGo OLED. drivers/lcd: Finish support for HiletGo OLED.
drivers/lcd: Add configuration support for HiletGo OLED. configs/flipnclick-pic32mz: Add board support for HiletGo OLED.
2018-02-10 09:43:12 -06:00
Gregory Nutt
fad70bf90e
Update some comments
2018-02-03 09:35:46 -06:00
Gregory Nutt
2683f713ab
Make sure that labeling is used consistently in all function headers (part 3).
2018-02-01 12:17:03 -06:00
Gregory Nutt
1567b82429
Make sure that labeling is used consistently in all function headers (part 2).
2018-02-01 12:03:55 -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
da50646bcf
sched/wdog: wd_start() is an internal OS function and should not set the errno value. Reviewed and updated every call to wd_start() to verify if return value is used and if so if the errno value is accessed.
2018-01-31 10:09:14 -06:00
Juha Niskanen
a5cb1129f9
drivers/sensors/lis2dh: use realtime clock if monotonic is not available
2018-01-31 07:41:56 -06:00
Gregory Nutt
3521aaf944
Squashed commit of the following:
...
binfmt/, configs/, grahics/, libc/, mm/, net/, sched/: OS references to the errno variable should always use the set_errno(), get_errno() macros
arch/arm/src/stm32 and stm32f7: Architecture-specific code is not permitted to modify the errno variable. drivers/ and libc/: OS references to the errno variable should always use the set_errno(), get_errno() macros
2018-01-30 17:57:36 -06:00
Gregory Nutt
30f2927101
binfmt/, drivers/, graphics/: Fix several inappropriate accesses to get_errno() that were missed in previous changes (some going back to nuttx-.23).
2018-01-30 17:23:10 -06:00
Juha Niskanen
dafa72edc3
drivers/sensors: add support to MAX44009 ambient light sensor
2018-01-29 07:56:06 -06:00
Alexander Oryshchenko
dd4fc9f5c3
arch/arm/src/stm32: Make STM32 usable with an external RTC. drivers/timers/ds3231.c: Correct some debug statments.
2018-01-24 06:55:14 -06:00
Alexander Oryshchenko
a7834bcb7b
drivers/mtd/at24xx.c: Correct page size for AT24C02 part.
2018-01-24 06:51:34 -06:00
Gregory Nutt
a8b6be4aaf
The existence of the network driver ioctl() method should depend on CONFIG_NETDEV_IOCTL rather than CONFIG_NETDEV_PHY_IOCTL. The former enables the method, the later enables a subset of possible driver IOCTLs. This change should be basically a no-operation. The affected ioctl methods only support those subset of driver IOCTLs selected by CONFIG_NETDEV_PHY_IOCTL and the network logic will tolerate a nul ioctl method.
2018-01-22 08:17:45 -06:00
Gregory Nutt
3fb0a50036
drivers/input/ft5x06.c: Remove cool logic to disable polling when there there is no client waiting for read data. That was a great idea to save CPU cycles when there is nothing reading from the touchscrren but, unfortunately, does not work with readers that open the driver in non-blocking mode. So I think we just have to eat the CPUs even when there is nothing waiting for touchscreen input.
2018-01-18 09:59:31 -06:00
Evgeniy Bobkov
7d36a81806
Fixes two bugs in multi-block SD-card operations on the STM32F7 platform. arch/arm/src/stm32f7: DBLOCKSIZE must be the size of SD-card block, not the total amount of transferred bytes. drivers/mmcsd: respect SDIO_CAPS_DMABEFOREWRITE on CMD25.
2018-01-16 12:41:02 -06:00
Fabio D'Urso
57b6dec74d
If we want to open read-only in losetup.c, flags should be O_RDONLY not O_RDWR
2018-01-14 17:10:10 -06:00
Masayuki Ishikawa
324008c1e5
drivers/net: Add support for telnet character mode
...
Signed-off-by: Masayuki Ishikawa <Masayuki.Ishikawa@jp.sony.com>
2018-01-09 20:19:26 +09:00
Gregory Nutt
49775ea801
fs/fat: Fix a bug in the FAT ftruncate logic.
2018-01-05 11:56:39 -06:00
Gregory Nutt
d04f166d84
arch/arm/src/lpc54xx: Add some hooks for future 802.1q VLAN support. configs/lpcxpresso-lpc54628: Automatically bring up network in the netnsh configuration.
2018-01-02 08:49:09 -06:00
Gregory Nutt
3c65be8c1a
arch/arm/src/lpc54xx: Fix a few more Ethernet issues related to buffer management and address filtering.
2018-01-01 08:54:31 -06:00
Gregory Nutt
f23fb9dd14
arch/arm/src/lpc54xx: Completes basic packet transfer logic for Ethernet drivers. Still some unfinished logic for IPv6 multicast logic and for various non-mainstream configurations. But it is ready for tested. configs/lpcxpresso-lpc54628: Add a netnsh configuration that will be used to test the Ethernet driver. Untested on initial commit.
2017-12-30 12:51:57 -06:00
Gregory Nutt
6315f6468d
arch/arm/src/lpc54xx: Adds basic Ethernet interrupt handling. Still missing all of the descriptor and packetk buffer handling logic.
2017-12-29 14:29:52 -06:00
Gregory Nutt
31330b2479
arch/arm/src/lpc54xx: Add a little -- very little -- Ethernet initialization logic.
2017-12-26 16:30:57 -06:00
Gregory Nutt
f5c5f89592
arch/arm/src/lpc54xx: Add (incomplete) Ethernet register definition file. Add framework for an Ethernet driver. Initial commit is just the drivers/skeleton.c with naming updated for the LPC54.
2017-12-26 12:55:58 -06:00
Gregory Nutt
eef12f1f91
arch/arm/src/lpc54xx: In SDMMC driver, add logic to transfer data when TXDR or RXDR interrupts occur. Also, add logic to set the RX watermark to 2 when receiving short, non-DMA data transfers.
2017-12-20 17:27:52 -06:00
Gregory Nutt
c867d42018
arch/arm/src/lpc54xx: Add support for card detect and write protect to SDMMC driver. configs/lpcxpresso-lpc54628: Add logic to bring up SDMMC.
2017-12-20 10:52:05 -06:00
ussi Kivilinna
5392955ec4
drivers/sensors/hts221.c: Fix sensor reset with BOOT bit
2017-12-20 10:11:52 -06:00
Gregory Nutt
5a0963f0b0
drivers/ft5x06.x and related: Minor cleanup after completing the FT5x06 driver verification.
2017-12-19 07:14:02 -06:00
Gregory Nutt
d29de95996
drivers/input/ft5x06.c: Fix a problem was was causing missing reports when the touch ends.
2017-12-18 20:06:42 -06:00
Gregory Nutt
d9997846b6
Lpcxpresso-Lpc54618 and FT5x06 driver. Some improvements in configuration and the touchscreen driver improves the behavior some. Now I get the calibration screen and detect touches (but no un-touches).
2017-12-18 17:22:35 -06:00