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
Gregory Nutt
9e710ce457
Fixup for error in last commit. An #endif to many was deleted in some header files.
2019-02-12 20:44:07 -06:00
Gregory Nutt
967dc523bb
sched/: Remove the option CONFIG_BOARD_INITTHREAD. Now, if CONFIG_BOARD_INITIALIZE is selected, then the board_initialize() logic will ALWAYS run on an internal kernel thread. This will prevent the problems people have had doing inappropriate board_initialization on the IDLE thread.
2019-02-12 19:13:22 -06:00
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
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
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
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
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
43d7301255
Trivial changes from review of last PR
2016-06-27 08:00:01 -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
Gregory Nutt
85574ad023
Olimex STM32 H407: Handle initialization errors consistently
2016-04-05 17:40:51 -06:00
Gregory Nutt
f07be860dd
Olimex STM32 H407: Add basic infrastructure for MMC/Sd support
2016-04-05 17:15:50 -06:00
Gregory Nutt
7bca472334
Olimex-STM32_H407: Move board initialization logic from stm32_appinit.c to stm32_bringup.c; Add support for the RTC driver
2016-04-05 09:17:54 -06:00
Gregory Nutt
f4920eae36
Olimex-STM32-H407: Pick up a few changes from PR38. Most of those changes are, however, not appropriate or not incompliance with NuttX naming or coding style.
2016-04-05 08:04:52 -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
365d2a79ba
Cosmetic updates from review of last pull request
2016-01-18 08:03:03 -06:00
neilh10
f7735ceacb
New board Olimex STM32-H407
2016-01-15 16:49:27 -08:00