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
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
c867d42018
arch/arm/src/lpc54xx: Add support for card detect and write protect to SDMMC driver. configs/lpcxpresso-lpc54628: Add logic to bring up SDMMC.
2017-12-20 10:52:05 -06:00
Gregory Nutt
bd8a07a4b2
configs: Still trying to get consistent name. button driver expects board to define NUM_BUTTONS, not BOARD_NUM_BUTTONS. That was changed in all board.h header files, but there are still references in configs/ C files to BOARD_NUM_BUTTONS
2017-12-17 16:54:53 -06:00
Gregory Nutt
a1e250697c
configs/*/include; Remove prototype of xyz_boardinitialize() from board.h files. The authorative prototype is in arch/arm/src/xyz/xyz_start.h
2017-12-16 20:47:44 -06:00
Gregory Nutt
5a12079e53
arch/arm/src/lpc54xx: Implement GPIO interrupt support. configs/lpcxpress-lpc54628: Add support for the USER button. Enable the apps/examples/button test in the NSH configuration.
2017-12-16 13:00:06 -06:00
Gregory Nutt
43a221f308
configs: Remove some old, redundant, obsolete boilerplate regarding toolchains that has been cloned into most of the board README files.
2017-11-26 11:36:03 -06:00
Gregory Nutt
cccc86da09
This change adds support for semi-standard IPPROTO_ICMP AF_INET datagram sockets. This replaces the old ad hoc, nonstandard way of implementing ping with a more standard, socket interface.
...
Squashed commit of the following:
net/icmp: Finishes off icmp_recvfrom().
net/icmp: Add readahead support for IPPROTO_ICMP sockets.
net/icmp: Add poll() support for IPPROTO_ICMP sockets.
net/icmp: Add a connection structure for IPPROTO_ICMP sockets.
net/icmp: Implements sendto for the IPPROTO_ICMP socket.
net/icmp: Move icmp_sendto() and icmp_recvfrom() to separate files. They are likely to be complex (when they are implemented).
net/icmp: Hook IPPROTO_ICMP sockets into network. Fix some naming collisions. Still missing basic ICMP send/receive logic.
configs: apps/system/ping current need poll() enabled.
configs: All defconfig files that use to enable low-level support must now enabled CONFIG_SYSTEM_PING.
net/icmp: Adds basic build framework to support IPPROTO_ICMP sockets.
2017-10-23 08:45:12 -06:00
Gregory Nutt
a98f188f04
configs: Fix some configuration proglems found in build testing.
2017-10-15 13:49:19 -06:00
Gregory Nutt
b75952c479
This removes the last traces of single-user mode.
2017-10-15 09:34:08 -06:00
Gregory Nutt
18167a2953
configs: All configurations that use the NX server need to have larger POSIX messages.
2017-10-14 16:03:07 -06:00
Gregory Nutt
5907d3c6b6
The nx example no longer supports single user mode.
2017-10-14 10:54:38 -06:00
Gregory Nutt
265876fc96
stm32f4discovery and olimiex-lpc1766stk: Move common Make.defs to scripts sub-directory
2017-07-10 17:16:28 -06:00
Gregory Nutt
422888733b
More conversions of defconfig files to compressed format. Not yet finished.
2017-07-09 19:25:19 -06:00
Gregory Nutt
f0cdb0e6b4
clicker2-stm32/mrg24j40-6lowpan: Add apps/examples/nettest. Refresh all configurations that enable the nettest.
2017-06-23 18:11:15 -06:00
Gregory Nutt
f5856282f5
defconfigs: examples/nettest configuration name change
2017-06-23 15:50:02 -06:00
Gregory Nutt
cd54a0340f
Fix a typo. And typo in Kconfig file is reflect in all defconfig files.
2017-06-15 14:29:09 -06:00
Gregory Nutt
b0fda33e13
Kconfig: Rename CONFIG_ARM_TOOLCHAIN_IAR to CONFIG_ARCH_TOOLCHAIN_IAR
2017-05-13 16:01:38 -06:00
Gregory Nutt
6e4918c557
Remove CONFIG_ARM_TOOLCHAIN_GNU; replace with CONFIG_ARCH_TOOLCHAIN_GNU
2017-05-13 13:28:15 -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
2043e1a114
IOBs: Move from driver/iob to a better location in mm/iob
2017-05-09 07:35:30 -06:00
Gregory Nutt
e9a5477506
Add an instance argument to the SPIDEV definitions.
2017-04-29 12:26:52 -06:00
Sebastien Lorquet
6d830f46e9
nxp boards
2017-04-28 18:29:43 +02:00
Gregory Nutt
9aac1dd44d
configs: Remove all setenv.bat files. Remove all references to setenv.sh and setenv.bat from all config README files.
2017-04-26 10:12:13 -06:00
Gregory Nutt
1620ff05f4
Remove all setenv.sh files.
2017-04-26 07:49:37 -06:00
Gregory Nutt
bfb93338f6
Move net/iob to drivers/iob so that the I/O buffering feature can be available to other drivers when networking is disabled.
2017-04-20 16:08:49 -06:00
Gregory Nutt
bcc6b61fc1
Move include/nuttx/net/iob.h to include/drivers/iob.h; rename CONFIG_NET_IOB to CONFIG_DRIVERS_IOB
2017-04-20 14:53:30 -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
c071e2a30c
Make sure that CONFIG_PTHREAD_MUTEX_ROBUST=y is selected every configuration that enabled pthreads.
2017-03-27 09:21:03 -06:00
Gregory Nutt
b07d3fc305
Rename CONFIG_MUTEX_TYPES to CONFIG_PTHREAD_MUTEX_TYPES
2017-03-27 09:08:14 -06:00
Gregory Nutt
c428661e18
apps/examples/usbterm is gone because it can be configured to perform an illegal call into the OS. Remove all traces of CONFIG_EXAMPLES_USBTERM* and all of the illegal device support.
2017-03-09 15:39:28 -06:00
Gregory Nutt
110ae16af2
Remove all references to arch_usbhost_initialize(). That was incorrectly called from apps/examples/hidkbd. That is violation of the OS interfacing rules and will no longer be supported. USB host should be initialized as part of the board bring-up logic was with any other devices and should not involve illegal calls from applications into the OS.
2017-03-09 14:46:31 -06:00
Gregory Nutt
d0813aa0c5
Refresh all ARM configurations
2017-03-09 10:23:41 -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
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
1d290c2b37
setvbuf: Add support for disabling I/O buffering. Initially cut; untested.
2017-02-09 09:24:44 -06:00
Gregory Nutt
3c4684ef5f
Eliminate CONFIG_ARCH_OPTIMIZED_FUNCTIONS. Move options to select architectur-specific C library options from libc/Kconfig to libc/machine/Kconfig and rename.
2017-01-20 09:30:07 -06:00
Gregory Nutt
f063e4c5ac
Remove Calypso architecture support and support for Calypso SERCOMM driver.
2016-12-13 18:35:52 -06:00
Gregory Nutt
d9e040d76b
Remove all Calypso board configurations
2016-12-13 18:24:49 -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
55dd1c87b3
Remove all references to BOARDIOC_ADCSETUP
2016-12-05 15:31:40 -06:00
Gregory Nutt
b999e63c82
Remove some references to BOARDIOC_PWMTEST and board_pwm_setup(). Still lots more.
2016-12-05 13:54:12 -06:00
Gregory Nutt
9ed0387379
Olimex-LPC1766-STK: Enable procfs in NSH configuration. Automount /proc on startup.
2016-12-05 08:52:40 -06:00
Gregory Nutt
7467329a98
Eliminate CONFIG_NO_NOINTS. Lots of files changed -> lots of testing needed.
2016-12-03 16:28:19 -06:00
Gregory Nutt
c0cbea2550
Remove RGMP and RGMP drivers.
2016-12-02 09:49:33 -06:00
Gregory Nutt
553f6d22fc
Boardctl: Add a boardctrl() command to start the NX server. Refresh all NX configurations.
2016-12-01 13:52:13 -06:00
Gregory Nutt
44e747ebf1
Remove all references to CONFIG_NET_MULTIBUFFER from configs/
2016-11-29 15:07:30 -06:00