Commit Graph

28777 Commits

Author SHA1 Message Date
Juha Niskanen
c3d9b86662 input/mxt: prevent overriding i2c transfer return value
put_reg/get_reg function was overriding i2c transfer error code with i2creset return value, that lead to OK status although actual transfer failed.

Signed-off-by: Juha Niskanen <juha.niskanen@haltian.com>
Reported-by: Harri Luhtala <harri.luhtala@haltian.com>
2017-03-21 07:12:07 -06:00
Masayuki Ishikawa
591f91ebd3 drivers/lcd/st7565.c: Extend to include support for the AQM_1248A 2017-03-21 15:30:23 +09:00
Masayuki Ishikawa
ceeb658b30 Merged nuttx/nuttx/master into master 2017-03-21 14:21:41 +09:00
Gregory Nutt
886dadae0a XMC4xxx: Minor updates to naming and comments 2017-03-20 18:10:23 -06:00
Gregory Nutt
b9e29d1083 XMC4xxx: Clean up memory map 2017-03-20 17:08:09 -06:00
Gregory Nutt
4ba091933e XMC4xxx: Fix for early bringup problems 2017-03-20 16:31:35 -06:00
Gregory Nutt
e1f86f407f XMC4500-Relax: Add LED support. 2017-03-20 14:33:48 -06:00
Gregory Nutt
3a91ba5264 XMC4xxx: Plug last holes to get a first, clean build. 2017-03-20 13:46:02 -06:00
Gregory Nutt
985c137b78 XMC4xxx: Finishes system timer logic. 2017-03-20 13:20:31 -06:00
Gregory Nutt
4519b679af XMC4xxx: Finish code for USIC serial driver. 2017-03-20 12:47:26 -06:00
Gregory Nutt
8a3422f837 XMC4xxx: Complete lowputc logic 2017-03-20 11:25:51 -06:00
no1wudi
ef863598d5 Merged in no1wudi/nuttx (pull request #282)
fix a typo

Approved-by: Gregory Nutt <gnutt@nuttx.org>
2017-03-20 02:30:46 +00:00
no1wudi
7d6ee0f222 fix a typo 2017-03-20 09:50:27 +08:00
Gregory Nutt
5df421488c XMC4xxx: Add USIC baudrate calculation. 2017-03-19 18:11:38 -06:00
Gregory Nutt
ae32905fe8 XMC4xxx: Simply some USIC logic, add USIC interface to disable a channel. Add USIC enable logic to UART configuration (a lot more to do there). 2017-03-19 17:06:44 -06:00
Gregory Nutt
e1e4af7454 XMC4xxx: More Ethernet definitions. 2017-03-19 16:25:46 -06:00
Gregory Nutt
c023d41522 XMC4xxx: Beginning of Ethernet register header file 2017-03-19 13:47:27 -06:00
Gregory Nutt
e8a30890f2 Cosmetic changes from review of last PR. 2017-03-19 13:05:31 -06:00
Mateusz Szafoni
9f699e6715 Merged in raiden00/nuttx (pull request #281)
STM32F3: Add COMP support

Approved-by: Gregory Nutt <gnutt@nuttx.org>
2017-03-19 18:55:06 +00:00
Gregory Nutt
5c0be816a5 XMC4xxx: Add commin USIC support logic for use in all USIC configurations. 2017-03-19 12:48:37 -06:00
raiden00pl
726fd224db nucleo-f334r8: Add COMP support 2017-03-19 18:46:20 +01:00
raiden00pl
651b8360c6 STM32F33: Add COMP support 2017-03-19 18:36:44 +01:00
raiden00pl
c760d00158 stm32f33xx_comp.h: fix typos 2017-03-19 18:27:31 +01:00
Gregory Nutt
59b9ef8fdc XMC4xxx: Revise configuration for USICs. Three USICs but 4 UARTs possible with each channel of USIC. 2017-03-19 11:10:31 -06:00
Gregory Nutt
a9aa11f968 XMC4xxx: A few compilation issues; still a long way to go. 2017-03-19 10:03:31 -06:00
Gregory Nutt
064ae17af5 XMC4xxx: Finishes UIC register definition header file. 2017-03-19 09:46:57 -06:00
Gregory Nutt
9110b7d45c XMC4xxxx: Add more definitions to USIC register definition header. 2017-03-19 08:44:28 -06:00
Gregory Nutt
6b5dc49573 XMC4xxx: Flesh out USIC header file. Still needs a little work. 2017-03-18 19:16:29 -06:00
Gregory Nutt
47cd105e32 XMC4xxxx: Final clean-up of SCU heder file 2017-03-18 16:41:33 -06:00
Gregory Nutt
e82a3b3ca7 XMC4xxx: Completes most SCU register definitions. 2017-03-18 16:13:59 -06:00
Gregory Nutt
301e70b073 XMC4xxx: A few more SCU register definitions. 2017-03-18 15:19:02 -06:00
Gregory Nutt
7706810fc0 XMC4xxx: A few more SCU register definitions. 2017-03-18 14:08:35 -06:00
Gregory Nutt
cfa75de85a XMC4xxx: A few more SCU register definitions. 2017-03-18 13:09:07 -06:00
Heesub Shin
82b187a819 Merged in heesub/nuttx/fix-progmem (pull request #280)
mtd/progmem: fix incorrect target address calculation

Approved-by: Gregory Nutt <gnutt@nuttx.org>
2017-03-18 17:55:21 +00:00
Mateusz Szafoni
5907ec8cf9 Merged in raiden00/nuttx (pull request #279)
STM32F33: Move DMA logic to a separate files + add ADC support

Approved-by: Gregory Nutt <gnutt@nuttx.org>
2017-03-18 17:54:19 +00:00
Gregory Nutt
9769c67d4d XMC4xxx: Add pin multiplexing header file. 2017-03-18 11:25:14 -06:00
Heesub Shin
a10735b50d mtd/progmem: fix incorrect target address calculation
progmem_read/write() is incorrectly calculating the target address,
expecting the offset argument is given in a block number. This is
completely wrong and as a result invalid flash region is accessed.
Byte-oriented read/write interfaces of mtd device accept the
target address in a byte offset, not a block number.

Signed-off-by: Heesub Shin <heesub.shin@samsung.com>
2017-03-19 01:11:37 +09:00
raiden00pl
8491cd65bc configs/nucleo_f334r8: add ADC example 2017-03-18 16:39:40 +01:00
raiden00pl
fd42900dcc STM32F33: Add ADC support 2017-03-18 16:34:24 +01:00
raiden00pl
49e4e62aab STM32F33: Move DMA logic to a separate files 2017-03-18 16:31:06 +01:00
Gregory Nutt
b582d0b5df Merge branch 'xmc4' 2017-03-18 06:48:59 -06:00
Gregory Nutt
3f0c4871c8 Merge remote-tracking branch 'origin/master' into xmc4 2017-03-18 06:48:37 -06:00
Gregory Nutt
175f8960cf Cosmetic changes from review of last PR 2017-03-18 06:47:34 -06:00
David Cabecinhas
148e74fd10 Merged in dcabecinhas/nuttx/fix_intstack_allocation (pull request #270)
ARM: Fix off-by-one interrupt stack allocation (revert missed change in up_initialize.c)

Approved-by: Gregory Nutt <gnutt@nuttx.org>
2017-03-18 12:25:18 +00:00
Brian Webb
074c530be1 Merged in webbbn/nuttx/xbox_one_controller (pull request #278)
USB Host driver for the XBox One game controller

Approved-by: Gregory Nutt <gnutt@nuttx.org>
2017-03-18 04:01:37 +00:00
Brian Webb
0a95536b85 Adds driver support for the XBox One controller. Currently only the latest version (XBox One X) controller works. The older XBox One controllers do not enumerate correctly. 2017-03-17 20:48:21 -07:00
Jussi Kivilinna
acec5e3199 vsnprintf(): If size is zero, then vsnprintf() should return the size of the required buffer without writing anything. This is same fix that was done for snprintf in 2014 by commit 59846a8fe9. 2017-03-17 17:34:56 -06:00
Jussi Kivilinna
ac0d957f26 libc: printf: fix precision for string formatting. Fixes use of format precision to truncate input string. 2017-03-17 17:32:44 -06:00
Gregory Nutt
c6d5d3bded XMC4xxx: All register definition files need to include memorymap.h 2017-03-17 16:44:26 -06:00
Gregory Nutt
7bde01df98 XMC4C: Clean up some naming, fix some comments, add empty PINMUX header file. 2017-03-17 16:40:29 -06:00