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
43390c78ea
configs: Since the touch screen initialization is now called from one-time board-initialization logic, it no longer needs protection from re-entry.
2018-01-17 10:14:03 -06:00
Gregory Nutt
301bf1ee77
This commit eliminates the BOARDIOC_TSCTEST_SETUP command.
...
Squashed commit of the following:
configs: Each board now initializes the touchscreen controller as a normal part of its board bring-up. board_tsc_setup() is gone; the touchscreen controller is now treated like any other on-board device.
Remove all support for BOARDIOC_TSCTEST_SETUP
Move prototype for board_tsc_setup() from include/nuttx/board.h to individual board header files.
2018-01-17 09:33:28 -06:00
Gregory Nutt
e276d4d16d
Remove the BOARDIOC_TSCTEST_TEARNDOWN boardctl() command. Remove all implementations of board_tsc_teardown() (the were all stubs anyway except for the simulation).
2018-01-16 18:03:21 -06:00
Gregory Nutt
c67b807f43
configs/: Remove dangling spaces at the end of lines in *.c and *.h files.
2017-06-28 13:21:20 -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
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
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
4b3e710af6
Add an argument to board_app_initialize()
2016-05-24 10:51:22 -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
0334d4b4cd
Rename usbmsc_archinitialize to board_usbmsc_initialize
2016-03-25 12:09:37 -06:00
Gregory Nutt
8e6a292694
Rename irqsave() and irqrestore() to up_irq_save() and up_irq_restore()
2016-02-14 16:12:06 -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
a135df609f
Rename up_i2c initialize and uninitialize functions using the correct MCU-specific naming
2016-02-02 12:25:14 -06:00
Gregory Nutt
1615a5ead0
Remove I2C slave methods from I2C master interface; rename i2c_dev_s to i2c_master_s.
2016-01-30 08:35:50 -06:00
Gregory Nutt
2591281375
Move include/nuttx/i2c.h to include/nuttx/i2c/i2c_master.h
2016-01-30 08:00:01 -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