Commit Graph

91 Commits

Author SHA1 Message Date
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
e9a5477506 Add an instance argument to the SPIDEV definitions. 2017-04-29 12:26:52 -06:00
Sebastien Lorquet
1bb76c43d3 atmel boards 2017-04-28 18:27:30 +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
Gregory Nutt
0f46d714a9 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:10: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
f5f9d82d5a arch_phy_irq: Now returns int instead of xcpt_t oldhandler. The oldhandler is useless after the changes to the interrupt argument. Also access an argument for the PHY interrupt. phy_notify.c driver changed to exploit new interrupt argument passing. 2017-03-02 08:43:33 -06:00
Gregory Nutt
67de2e5f66 Add argument to STM32 EXTI interrupt handlers. 2017-02-27 14:21:30 -06:00
Gregory Nutt
97b9bb7fa5 SAMA5D4-EK: Add missing argument to interrupt handler. 2017-02-27 09:36:12 -06:00
Mark Schulte
b3222bbc8a irq_dispatch: Add argument pointer to irq_dispatch
Provide a user defined callback context for irq's, such that when
registering a callback users can provide a pointer that will get
passed back when the isr is called.
2017-02-27 06:27:56 -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
4b216ff8dd Finish removing traces of BOARDIOC_PWMSETUP 2016-12-05 14:56:21 -06:00
Gregory Nutt
1b9b3a7b47 pwm.h moved from include/nuttx/ to include/nuttx/drivers. 2016-07-20 13:48:24 -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
a39ce80add SYSLOG logic should use existing file interfaces, not re-invent them. 2016-07-05 12:12:44 -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
d40a473f72 Without lowsyslog() *llwarn() is not useful. Eliminate and replace with *warn(). 2016-06-20 09:37:08 -06:00
Gregory Nutt
0c8c7fecf0 Add _ to the beginning of all debug macros to avoid name collisions 2016-06-16 12:33:32 -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
ba03134bed Centralize definitions associated with CONFIG_DEBUG_SPI 2016-06-15 10:41:13 -06:00
Gregory Nutt
c494454bc4 configs/: Change some *err() message to *info() messages if what was a *dbg() message does not indicate and error condition. 2016-06-13 07:43:55 -06:00
Gregory Nutt
b0458e36da configs/: Remove references to non-existent SPI_VERBOSE setting 2016-06-12 17:57:12 -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
001715d57b FS: Add logic to detach a file structure from a file descriptor. This is for use only within the OS. It permits an open file or driver to be used across multiple threads. 2016-05-26 09:41:50 -06:00
Gregory Nutt
aa7a981674 Update some comments 2016-05-26 08:37:40 -06:00
Gregory Nutt
4b3e710af6 Add an argument to board_app_initialize() 2016-05-24 10:51:22 -06:00
Gregory Nutt
0334d4b4cd Rename usbmsc_archinitialize to board_usbmsc_initialize 2016-03-25 12:09:37 -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
5a650d94a0 For Tiva/LM MCUs, rename up_spiinitialize to tiva_spibus_initialize 2016-01-26 15:20:24 -06:00
Gregory Nutt
e792b09830 For SAM MCUs, rename up_spiinitialize to sam_spibus_initialize 2016-01-26 13:03:12 -06:00
Gregory Nutt
463637f474 All SAMA5 configurations: Refresh configurations, enable PROCFS in all configurations that have CONFIG_NSH_LIBRARY=y, add logic to automatically mount the procfs if it is enabled 2015-11-29 11:34:09 -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
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