Gregory Nutt
dc8c814ca3
Squashed commit of the following:
...
Fixed coding standard error in several files. Use of while( is incorrect; a space is required between while and (. Also ran tools/nxstyle and fix thoses complaints as well in most files.
Changes to comply with coding standard. Mostly focused on files with missing space after keyword in if(, switch(, and for(. Offending files also got changes to comply with tools nxstyle. If there were logs of nxstyle complaints, the file also got a taste of tools/indent.sh. Still need to fix occurrences of while( with missing space. There are a lot of them.
2019-02-27 08:41:08 -06:00
Gregory Nutt
a76e137ce2
Squashed commit of the following:
...
sched/init/nx_start.c: Add support for CONFIG_BOARD_DRIVER_INITIALIZE. If this option is selected then nx_start() will call a board-provided function board_driver_initialize() immediately after calling up_initialize().
Rename CONFIG_BOARD_INITIALIZE to CONFIG_BOARD_LATE_INITIALIZE.
Raname board_initialize() to board_late_initialize()
2019-02-18 15:32:00 -06:00
Alan Carvalho de Assis
853d332b6c
Move CAN subsystem to its own directory and put device drivers there
...
Signed-off-by: Alan Carvalho de Assis <acassis@gmail.com>
2017-05-12 11:48:47 -03: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
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
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
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
35dfe25430
Remove BOARDIOC_CAN_INITIALIZE. CAN initialization is now done in the board initialization logic just like every other device driver.
2016-12-06 08:51:37 -06:00
Gregory Nutt
ee2852f5ff
Remove all references to board_adc_setup()
2016-12-05 17:06:08 -06:00
Gregory Nutt
ddcaa3d425
can.h moved from include/nuttx/ to include/nuttx/drivers.
2016-07-20 13:38:36 -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
63b1eb09e6
Centralize definitions associated with CONFIG_DEBUG_CAN
2016-06-15 15:45:27 -06:00
Gregory Nutt
2ddd57c674
Centralize definitions associated with CONFIG_DEBUG_LEDS
2016-06-15 14:12:19 -06:00
Gregory Nutt
b9aadf7242
configs/: Change some *err() message to *info() messages if what was a *dbg() message does not indicate and error condition.
2016-06-13 08:45:54 -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
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
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
6daa73a945
Remove internal from name of all board header files
2015-12-29 15:44:56 -06:00
Gregory Nutt
b28bd72a48
Standardize naming of user LEDs interface functions
2015-11-01 12:45:58 -06:00
Gregory Nutt
893bd9c7b5
Rename board_led_off to board_autoled_off
2015-11-01 09:10:08 -06:00
Gregory Nutt
78f19bbefb
Rename board_led_on to board_autoled_on
2015-11-01 09:07:36 -06:00
Gregory Nutt
88c506d843
Rename board_led_initialize to board_autoled_initiaize
2015-11-01 09:03:01 -06:00
Gregory Nutt
fc58f7e538
Remove dangling whitespace
2015-10-04 15:28:03 -06:00
Gregory Nutt
2b88bc7119
Standardize the width of all comment boxes in C header files
2015-10-03 07:41:15 -06:00
Gregory Nutt
e6e46f830b
Standardize the width of all comment boxes in C files
2015-10-02 17:43:08 -06:00
Paul A. Patience
55d8aee826
Simplify configs/ Makefiles by combining common longic into a new board.mk Makefile fragment. For Paul A. Patience"
2015-09-04 16:42:34 -06:00
Gregory Nutt
88660657c2
Rename can_devinit() to board_can_initialize(). Hook in to boardctl() with BOARDIOC_CAN_INITIALIZE
2015-08-18 13:21:45 -06:00
Gregory Nutt
68a97a53ac
Make some file section headers more consistent with standard
2015-04-08 09:15:17 -06:00
Gregory Nutt
629d7e4ec0
Rename adc_devinit() to board_adc_setup(). Add support to the boardctl() interface so that it can call board_adc_setup() on behalf of an application. Change apps/examples/adc to that is now calls boardctl() instead of adc_devinit() in order to initalize the ADC device.
2015-03-31 15:00:23 -06:00
Gregory Nutt
103a17d4f1
Rename arch_nshinitialize() to board_app_initialize()
2015-03-31 10:21:31 -06:00
Gregory Nutt
7583c94252
Move board_ prototypes from arch.h to board.h
2015-02-27 20:02:03 -06:00
Gregory Nutt
42327117a3
configs/: board function prototypes are now in include/nuttx/board.h. Remove from board header file; Add inclusion of nuttx/board.h to all files referencing board functions
2015-02-27 18:49:24 -06:00
Gregory Nutt
6498e1127e
More fixes to problems noted by cppcheck. Some are kind of risky; some are real bugs.
2014-11-25 13:15:09 -06:00
Gregory Nutt
4d851b150d
All NSH-related files under nuttx/configs changed to use the corrected syslog interfaces
2014-10-08 14:28:55 -06:00
Gregory Nutt
1bc6613e41
Add support for the Olimex STM32 h405. From Martin Lederhilger
2014-06-03 10:34:36 -06:00