Gregory Nutt
70c59a9d91
This commit adds support for semi-standard IPPROTO_ICMP6 sockets. This is a replacement for the non-standard ICMPv6 ping support that violated the portable POSIX OS interface.
...
Squashed commit of the following:
net/icmpv6: IPPROT_ICMP6 socket logic now builds without error.
net/icmpv6: Add support for read-ahead and poll(). Initial commit is just cloned from ICMP with the appropriate name changes.
configs/: All defconfig filess that include CONFIG_NET_ICMPv6_SOCKET=y need to select CONFIG_SYSTEM_PING6=y and deselect CONFIG_DISABLE_POLL.
Update NSH documention to show that ping6 is now a built in command.
net/icmpv6: Add icmpv6_sendto.c and icmpv6_recvfrom.c. Initial versions are just clones from icmp/ with appropriate name changes.
net/icmpv6: Clone some ICMP socket logic as the beginning of support for ICMPv6 socket support.
Rename CONFIG_NET_ICMPv6_PING to CONFIG_NET_ICMPv6_SOCKET. Move prototype for icmpv6_ping from include/nuttx/net/icmpv6 to net/icmpv6/icmpv6.h
2017-10-24 11:23:08 -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
413cfdfa75
Update some README files.
2017-10-15 16:15:05 -06:00
Gregory Nutt
b75952c479
This removes the last traces of single-user mode.
2017-10-15 09:34:08 -06:00
Gregory Nutt
9d21ecbd2d
All configurations that use NXLINES must select NX_MULTIUSER
2017-10-14 16:52:59 -06:00
Alan Carvalho de Assis
62e9c930bb
configs/stm32f4discovery: Add a USB MSC configuration
2017-10-13 10:02:22 -06:00
Gregory Nutt
3688ea2f90
Changes made to configurations to support changes to apps/examples/elf and nxflat.
2017-10-02 14:31:06 -06:00
Gregory Nutt
374f1bd46c
binfmt: Don't schedule starthook if there are no constructors.
2017-10-02 14:04:50 -06:00
Gregory Nutt
cc6b1275f9
Cosmetic changes from review of last PR
2017-09-28 08:30:41 -06:00
Tomasz Wozniak
9972897a0a
ROMFS for STM32F4 Discovery board
2017-09-28 11:36:40 +02:00
Gregory Nutt
d2799f0b4e
Update a README and some comments
2017-09-23 08:49:58 -06:00
Gregory Nutt
337ba9d7cc
configs/stm32f4discovery: Update README. Add summary of differences with the newest STM32F407G-DISC1 part. Remove a lot of old discussion that is really no longer helpful.
2017-09-18 11:47:25 -06:00
Gregory Nutt
0f04816b37
Trivial changes from review of last PR.
2017-09-14 14:55:50 -06:00
Florian Olbrich
cd584265ca
stm32_lis3dsh.c edited to obey nuttx coding standard.
2017-09-14 20:33:47 +00:00
Florian Olbrich
81b599e8ae
stm32_lis3dsh.c edited to obey nuttx coding standards
2017-09-14 20:11:20 +00:00
Florian Olbrich
b1e625eacb
Added initialization code and Kconfig entries to set up the LIS3DSH accelerometer
...
driver on STM32F4Discovery rev. C boards and attach the associated interrupt callback.
Added the argument parameter (FAR void *arg) to the interrupt handler provided by the LIS3DSH
driver to fit the definition for ISRs in xcpt_t.
Changed the check for working queue availability in lis3dsh interrupt handler to use work_available()
and not crash in case of an overrun.
2017-09-14 20:03:28 +02:00
Gregory Nutt
5129aeefd5
drivers/sensors: Fix remaining naming of configurations to be compliant for two more drivers.
2017-08-24 10:48:20 -06:00
Gregory Nutt
dc8f3778a9
drivers/sensors: Fix more naming of configurations to be compliant for two more drivers. Still a few more to go.
2017-08-24 10:26:53 -06:00
Gregory Nutt
1f023fa31a
drivers/sensors: Fix more naming of configurations to be compliant for two more drivers. Still a few more to go.
2017-08-24 10:10:00 -06:00
Gregory Nutt
7f4af7b690
drivrs/sensors: Make a few other configuration settings consistent with the (undocumented) standard.
2017-08-24 09:45:46 -06:00
Jussi Kivilinna
3dfeb9e59f
drivers/lcd: ssd1306: add support for board power control. ThingseeOne has regulator for controlling display power on/off. Patch adds support for board based power control to SSD1306 driver.
2017-08-22 08:40:27 -06:00
Gregory Nutt
f3f522514e
libm: Eliminate a warning from lgamma(); Update some comments; Add some logic to handle broadcast better -- Currently conditioned out because it does not work.
2017-08-08 12:08:43 -06:00
Alan Carvalho de Assis
e748a43f99
STM32F4-Discovery: Add a configuration for testing libc++
2017-08-08 10:38:42 -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
36a30b26a6
Last of the conversions of defconfig files to compressed format.
2017-07-09 20:49:07 -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
1bddccbc3c
Update some board README files
2017-07-07 09:04:09 -06:00
Gregory Nutt
47be509d79
Rename CONFIG_STM32_STM32F40XX to CONFIG_STM32_STM32FXXXX since it is used by F4 parts other than F40x
2017-07-06 10:20:14 -06:00
Jan Pobrislo
a8f43e1216
stm32f4 discovery: Add logic to register the button driver and the user led driver if so configured
2017-07-02 16:40:11 -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
Gregory Nutt
5245cbc6f5
STM32 SPI/I2S: Back out a bad pin mapping change from 4ab2a3661ea57211f4ae12fe21c5de3454ba0ef2. Try to staighten out some I2C3 and SPI3 pin configuration stuff.
2017-06-16 09:34:22 -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
Taras Drozdovsky
0fdb000e53
Fix define CONFIG_AUDIO_CS43L22 typo
2017-05-21 17:09:53 -06:00
Taras Drozdovsky
4ab2a3661e
STM32F4: add cs43l22 audio driver and i2s driver
2017-05-21 14:14: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
Gregory Nutt
7fe112fe4c
Kconfig/deconfigs: Add CONFIG_ARCH_TOOLCHAIN_GNU to indicate that the toolchain is based on GNU gcc/as/ld. This is in addition to the CPU-specific versions of the same definition.
2017-05-13 11:44:12 -06:00
Alan Carvalho de Assis
6811e18980
Fix the libcanard link version to get it compiling without errors.
2017-05-12 16:59:44 -03: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
aca2e36d67
stm32 devboards
2017-04-28 18:26:05 +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