Gregory Nutt
a7fd58c4db
Squashed commit of the following:
...
many locations: Change occurences of open() followed by file_detach() to file_open(). Change most non-controversion calls to open() to nx_open().
fs/inode/fs_fileopen.c: Flesh out file_open() with some interim, placeholder logic.
fs/inode/fs_fileopen.c: Add a framework for a file_open() implementation (no real logic in place yet).
fs/vfs/fs_open.c: Add nx_open() which is the same as open() except that it does not create a cancellation point nor does it modify the errno variable.
2018-09-15 10:49:41 -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
9b31a81b00
Squashed commit of the following:
...
fs/fat: Remove mkfatfs from the OS. This is a user-space application and belongs in apps, not in the OS.
2017-10-20 12:36:25 -06:00
Gregory Nutt
181875f3ba
fs/vfs: Add new internal OS interface nx_read(). nx_read() is functionally equivalent to read() except that it does not modify the errno variable and it is not a cancellation point. Changed all references to read() in the OS to nx_read().
2017-10-11 12:13:41 -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
Sebastien Lorquet
b78137049c
Final batch
2017-04-28 18:31:44 +02: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
75446b349b
configs/: All functions that used to return an xcpt_t old handler value, not return NULL. The oldhandler value is no longer useful with the recent changes to the interrupt argument passing.
2017-03-02 08:43:32 -06:00
Gregory Nutt
ee9c66186c
ramdisk.h moved from include/fs/nuttx/ to include/nuttx/drivers.
2016-07-20 14:02:18 -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
2b445ddccc
Remove lowsyslog(). The new syslog() includes all of the functionality of lowsyslog(). No longer any need for two interfaces.
2016-06-20 08:57:08 -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
94f5e87222
configs/: Change some *err() message to *info() messages if what was a *dbg() message does not indicate and error condition.
2016-06-13 11:04:19 -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
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
2f068e1a34
For LPC31xx MCUs, rename up_spiinitialize to lpc31_spibus_initialize
2016-01-26 16:56:13 -06:00
Gregory Nutt
8eab9280d8
Rename all architecture files of form xyz_internal.h to just xyz.h
2015-12-29 18:07:27 -06:00
Gregory Nutt
6daa73a945
Remove internal from name of all board header files
2015-12-29 15:44:56 -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
b6930e442b
Fix some spacing problems
2015-10-04 14:59:44 -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
d468285739
Rename usbhost_storageinit() to usbhost_msc_initialize(). Add calls to usbhost_cdcacm_initialize() is CONFIG_USBHOST_CDCACM is selected.
2015-05-06 14:11:29 -06:00
Gregory Nutt
607ff7d2fb
Update some READMEs. For all implementation of the USBHOST waiter, make sure that the waiter thread stack size is larger if the USB hub feature is enabled
2015-05-03 16:45:44 -06:00
Gregory Nutt
6d574043b8
LPC31: Port hub registration logic from Olimex H3131 to EA3131
2015-04-27 15:50:40 -06:00
Gregory Nutt
68a97a53ac
Make some file section headers more consistent with standard
2015-04-08 09:15:17 -06:00
Gregory Nutt
103a17d4f1
Rename arch_nshinitialize() to board_app_initialize()
2015-03-31 10:21:31 -06:00
Gregory Nutt
3195784a08
Update comment
2015-03-21 14:13:46 -06:00
Gregory Nutt
e6471f8f24
EA3131: Rename files for better conformance to naming conventions
2015-03-21 14:12:58 -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
7e0bf3da9d
drivers/ramdisk.c and include/nuttx/fs/ramdisk.h: Add logic to dispose of the drvier and RAM buffer when the RAM disk has been unlinked and all open references to the RAM disk have been closed. Add new parameters to romdisk() to specify what should be done with the RAM/ROM buffer -- Should it be freed or not? Changed all calls to ramdisk() to use these new parameters.
2015-02-01 07:24:16 -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
2b77c9ceb9
Remaining files under nuttx/configs changed to use the corrected syslog interfaces
2014-10-08 15:32:00 -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
3dd8c08714
Remove final traces of the 8015 from the NuttX source tree
2014-09-01 13:21:15 -06:00
Gregory Nutt
591a9c85d2
Rename kmalloc to kmm_malloc for consistency
2014-08-31 17:26:36 -06:00
Gregory Nutt
dd1765f312
Rename kfree to kmm_free for consistency with other naming conventions
2014-08-31 17:04:02 -06:00