Commit Graph

100 Commits

Author SHA1 Message Date
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
Gregory Nutt
fc3540cffe Replace all occurrences of vdbg with vinfo 2016-06-11 11:59:51 -06:00
Gregory Nutt
3a74a438d9 Rename CONFIG_DEBUG_VERBOSE to CONFIG_DEBUG_INFO 2016-06-11 11:50:18 -06:00
Gregory Nutt
4b3e710af6 Add an argument to board_app_initialize() 2016-05-24 10:51:22 -06:00
Marco Krahl
3537f93cfb stm32f429i-disco: Set default spi clock frequency for display initializing 2016-04-22 07:28:21 -06:00
Gregory Nutt
46846c0c24 Framebuffer driver: Add a display number to each interface in order to support multiple displays 2016-04-14 12:23:15 -06:00
Gregory Nutt
76c4b11a6b PM: Add domain to all PM interfaces. Internal PM data structures now handle multiple PM domains. 2016-03-27 13:02:21 -06:00
Gregory Nutt
0e8ff50d18 PM: Add activity domain to all PM callbacks 2016-03-27 11:18:44 -06:00
Kha Vo
c71ed665c2 On stm32F2xx gpio is encoded to 20bits but the button definitions use 16bit type. 2016-02-25 11:12:27 -06:00
Gregory Nutt
1699561bb6 Replace irqsave() with enter_critical_section(); replace irqrestore() with leave_critical_section() 2016-02-13 12:37:46 -06:00
Gregory Nutt
9ed7d56a18 Building of xyz_appinit.c should depend on CONFIG_LIB_BOARDCTL, not CONFIG_NSH_ARCHINITIALIZE 2016-02-04 12:14:17 -06:00
Gregory Nutt
36bb11d77c Rename files containing board_app_initialize from xyz_nsh.c to xyz_appinit.c 2016-02-04 12:03:09 -06:00
Gregory Nutt
bfe51e3bc7 Move xyz_cxxinitialize.c from nuttx/configs/abc/src to apps/platform/abc/ (where xyz is the processor family and abc is the board) 2016-01-29 11:35:48 -06:00
Gregory Nutt
9f2a839ac3 For STM32 boards, rename up_spiinitialize to stm32_spibus_initialize 2016-01-26 12:21:39 -06:00
Gregory Nutt
de50bc82a7 Remove CONFIG_SPI_OWNBUS: Now it is not just a good idea, it is the law 2016-01-23 18:21:36 -06:00
Gregory Nutt
faa9f50e53 Fix several build errors detected by tools/testbuil.sh, most configuration problems 2015-11-18 14:35:08 -06:00
Alan Carvalho de Assis
0a3d0ec1f5 configs/stm32f429i-disco/src/stm32_nsh.c file calculated partition boundries based on page block sizes but mtd_partition is expecting calculations based on erase block size. From Alan Carvalho de Assis. 2015-11-16 10:44:54 -06:00
Gregory Nutt
c8ee1c2061 STM32F429i-Discovery: Need to add pin disambiguation due to changes to pinmap header files 2015-11-01 17:40:30 -06:00