Gregory Nutt
6d93658ff8
Add new configuratin CONFIG_NET_MCASTGROUP. This option is selected automatically if either CONFIG_NET_IGMP or CONFIG_NET_MLD are selected. Most conditional logic based on CONFIG_NET_IGMP replaced with conditioning on CONFIG_NET_MCASTGROUP.
2018-10-31 15:03:51 -06:00
Xiang Xiao
377eb30129
binfmt: Add binfmt_initialize(). All binary formats are now registered centrally vs. in board-specific logic. This simplifies the usage of the binfmt subsystem.
2018-08-23 09:09:39 -06:00
Gregory Nutt
e3a1d4213c
configs: Several applications in apps/ were callign elf_initialize() nxflat_initialize(), or builtin_initialize() in violation of the portable POSIX interface. Those calls were removed from the applications and added to the appropriate board initialization with this commit.
2018-08-22 08:30:36 -06:00
Gregory Nutt
47d87fd857
configs/: Refresh ARM and Xtensa configurations.
2018-08-19 17:48:13 -06:00
Gregory Nutt
c790450ba2
Remove CONFIG_ARCH_CALIBRATION. It is awkward to use and no longer necessary now that we have apps/examples/calib_udelay.
2018-08-19 10:06:36 -06:00
Gregory Nutt
bbad69ab61
Change all occurrences of CONFIG_EXAMPLES_NSH* to CONFIG_SYSTEM_NSH* to match changes in the apps/ directory.
2018-08-18 09:14:59 -06:00
Gregory Nutt
824f1dd3fe
Squashed commit of the following:
...
lpc17: Removed duplicate configuration variable definitions from Kconfig: CONFIG_USBHOST_BULK_DISABLE, CONFIG_USBHOST_INT_DISABLE, and USBHOST_ISOC_DISABLE. These are global USBHOST configurations and are all defined in drivers/usbhost/Kconfig.
lpc17: Correct scope of naming of configuration variables: CONFIG_USBHOST_TDBUFFERS->CONFIG_LPC17_USBHOST_TDBUFFERS, CONFIG_USBHOST_TDBUFSIZE->CONFIG_LPC17_USBHOST_TDBUFSIZE, and CONFIG_USBHOST_IOBUFSIZE->CONFIG_LPC17_USBHOST_IOBUFSIZE
lpc17: Correct scope of naming of configuration variables: CONFIG_USBHOST_NEDS->CONFIG_LPC17_USBHOST_NEDS and CONFIG_USBHOST_NTDS->CONFIG_LPC17_USBHOST_NTDS
lpc17: Correct scope of naming of configuration variable: CONFIG_USBHOST_OHCIRAM_SIZE->CONFIG_LPC17_OHCIRAM_SIZE
2018-07-01 08:38:05 -06:00
Gregory Nutt
d52b65b06d
Fix several configuration varaibles that were defined in multiple Kconfig files and/or lacked any scoping and the naming.
...
Squashed commit of the following:
lpc17, pic32mx, pic32mz: Fix duplicated, improperly scoped configuration variable names: CONFIG_PHY_SPEED100 and CONFIG_PHY_AUTONEG.
lpc17, pic32mx, pic32mz: Fix another duplicated configuration variable name: CONFIG_PHY_FDUPLEX.
lpc17: Fix naming scope: CONFIG_NET_HASH -> CONFIG_LPC17_ETH_HASH.
lpc17: Fix naming scope: CONFIG_NET_WOL -> CONFIG_LPC17_ETH_WOL.
lpc17, pic32mx, pic32mz: Fix naming scope: CONFIG_NET_ -> CONFIG_LPC17_ETH_PRIORITY.
lpc17, pic32mx, pic32mz: Fix another duplicated configuration variable name: CONFIG_NET_NTXDESC and CONFIG_NET_NRXDESC.
lpc17: Fix naming scope: CONFIG_NET_EMACRAM_SIZE -> CONFIG_LPC17_EMACRAM_SIZE.
2018-06-30 11:55:41 -06:00
Gregory Nutt
500d2c2289
arch/arm/src/lpc11,lpc17,lpc43,stm32,stm32l4: Fix scope of naming. CONFIG_CAN_TSEG1->CONFIG_LPC17_CAN_TSEG, for example.
2018-06-28 15:44:42 -06:00
Gregory Nutt
45cdc3a3d0
arch/arm/src/lpc11,lpc17,stm32,stm32l4: Fix scopy of nameing. CONFIG_CANx_BAUD->CONFIG_LPC17_CANx_BAUD, for example.
2018-06-28 14:47:14 -06:00
Gregory Nutt
8281dc1ed8
arch/arm/src/lpc11 and lpc17 and several README.tst files in configs/: Fix scopy of nameing. CONFIG_CANx_DIVISOR->CONFIG_LPC17_CANx_DIVISOR, for example.
2018-06-28 13:10:02 -06:00
Gregory Nutt
b38618d0c6
Squashed commit of the following:
...
arch/arm/src/lpc17xx: This commit removes support for the dedicated vector handling from the LPC17xx architectures. Only common vectors are now supported.
arch/arm/src/kinetis: This commit removes support for the dedicated vector handling from the Kinetis architectures. Only common vectors are now supported.
2018-06-20 08:18:32 -06:00
Gregory Nutt
e4922ed9f0
Remove instructures to CD to tools/ before running ./configure.sh
...
Squashed commit of the following:
configs/*/README.txt: Replace each occurrence of './configure.sh' with 'tools/configure.sh'
configs/*/README.txt: Remove 'cd ..' after each './configure.sh'
configs/*/README.txt: Remove 'cd -' after each './configure.sh'
configs/*/README.txt: Remove 'cd tools' before each './configure.sh'
configs/README.txt: Remove instruction to CD tools/ before running configure.sh.
2018-05-09 11:41:46 -06:00
Gregory Nutt
505f460b6b
configs: Review all implementations of board_lcd_initialize(). The NuttX convention is that all internal functions that return errors as an 'int' must return a negated errno value on failure and a non-negative value on success. Most were right but eight of them had cloned logic that returns 1 on success and zero on failure... both of which are interpreted as success by the caller since they are non-negative.
2018-04-21 18:03:01 -06:00
Gregory Nutt
dc8941e958
configs/: Add definition of strip to many Make.defs files.
2018-03-25 09:25:37 -06:00
Gregory Nutt
987a8298f2
Fix some errors found in build testing + clean-up some issues with last changes to remove use of printf() from within the OS.
2018-03-03 15:51:27 -06:00
Gregory Nutt
b4f2b0dfc6
Remove all usage of printf() from the OS. That is not an acceptable context for the use of an application-oriented interface that depends on a task-specific file descriptor and C buffered I/O.
2018-03-03 15:20: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
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
a1d91a6924
Squashed commit of the following:
...
All configurations that use NXIMAGE must select NX_MULTIUSER
All configurations that use NXHELLO must select NX_MULTIUSER
2017-10-14 15:07:55 -06:00
Gregory Nutt
e986b72a4f
Remove more duplicate Make.defs files
2017-07-11 08:33:41 -06:00
Gregory Nutt
5a9eebe270
More conversions of defconfig files to compressed format. All but Windows native configurati9ons.
2017-07-09 20:05:59 -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
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
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
d0813aa0c5
Refresh all ARM configurations
2017-03-09 10:23:41 -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
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