Commit Graph

9108 Commits

Author SHA1 Message Date
Gregory Nutt
061b4e2aaa Refresh Configuration 2016-06-08 07:54:48 -06:00
David Sidrane
44da2c0add Refactored configs/nucleo-144 sub-directories to support additional nucleo-144 board. Add support for the Nucleo-F767ZI board. 2016-06-08 07:52:19 -06:00
Gregory Nutt
d4c101d2cf Update README files 2016-06-07 11:28:46 -06:00
Gregory Nutt
db470d8ffd Update README 2016-06-07 08:42:42 -06:00
Gregory Nutt
f75837a110 Changes from review of the last PR 2016-06-06 13:35:27 -06:00
Gregory Nutt
6b58ed820a Merged in kfazz/nuttx/kinetis (pull request #40)
Kinetis usb driver
2016-06-06 12:57:55 -06:00
kfazz
983ac18c51 Teensy 3.x usb support and example configuration 2016-06-06 14:00:02 -04:00
kfazz
e7bb9f714e include <sys/types.h> so OK is defined. 2016-06-06 13:50:58 -04:00
Gregory Nutt
3f7840f009 Fix some NxWM configuration errors 2016-06-06 09:32:26 -06:00
Gregory Nutt
ba0040fe1f NxWM configurations need boardctl() with touchscreen support 2016-06-05 13:18:43 -06:00
Gregory Nutt
f2c65a4c47 Refresh configurations 2016-06-05 12:14:34 -06:00
Alan Carvalho de Assis
76a899f9eb STM32F103 Minimum: Add minnsh configuration 2016-06-04 07:36:04 -06:00
Gregory Nutt
910bac65fa STM32 Timer: Generalize and extend calculation of per-timer pre-scaler value. Inspired by original proposal from Pierre-noel Bouteville. 2016-06-03 11:38:59 -06:00
Gregory Nutt
d76d889efd Restore FLASH_ERASALL in configurations where it was previously selected 2016-06-03 09:10:21 -06:00
Gregory Nutt
a18dbfda6e Remove drivers/mtd/flash_eraseall.c. It is not used in the OS and is just a dumb wrapper around the MDIOC_BULKERASE IOCTL call. 2016-06-02 10:44:13 -06:00
Gregory Nutt
2b47473778 Remove all references to CONFIG_SYSTEM_FLASH_ERASEALL 2016-06-02 10:19:02 -06:00
Gregory Nutt
5ef3e3e215 Replace confusing references to uIP with just 'the network' 2016-05-30 11:52:07 -06:00
Gregory Nutt
b36d125e33 Merged in paulpatience/nuttx/libuavcan (pull request #31)
libuavcan: Forgot to change define
2016-05-26 09:52:34 -06:00
Gregory Nutt
001715d57b FS: Add logic to detach a file structure from a file descriptor. This is for use only within the OS. It permits an open file or driver to be used across multiple threads. 2016-05-26 09:41:50 -06:00
Paul A. Patience
5cc2fba418 libuavcan: Forgot to change define 2016-05-26 11:11:09 -04:00
Gregory Nutt
aa7a981674 Update some comments 2016-05-26 08:37:40 -06:00
Gregory Nutt
e57a6d14c3 lcd/Kconfig, Make.defs: Remove dependency of CONFIG_LCD_NXDRIVER for building non-graphic, SLCD drivers. 2016-05-26 07:21:14 -06:00
Gregory Nutt
1746e8aad3 SAM4E-EK: Fix dangle right comment introduced in recent commit 2016-05-25 15:29:32 -06:00
Gregory Nutt
78e08bbeea Purely cosmetic change from review of last PR 2016-05-25 13:29:01 -06:00
Gregory Nutt
fafc56ae80 Merged in ziggurat29/nuttx/stm32l4_i2c_lcd_mjkdz_001 (pull request #28)
complete logic in 'create stack' and 'use stack' to support stack coloration.  Fix some booboos breaking compatibility with TLS in libc.
2016-05-25 13:22:03 -06:00
Gregory Nutt
d89eefc6a5 Refresh all STM32 configurations 2016-05-25 12:39:28 -06:00
ziggurat29
397d228b2a let nucleo (stm32l4) support proc fs for info useful for debug 2016-05-25 13:11:43 -05:00
ziggurat29
0252909fc9 altered pin defs for I2C pins; these needed to be specified as open-drain (otherwise they are push-pull) 2016-05-25 13:09:52 -05:00
Gregory Nutt
9ec104834a Remove CONFIG_USARTn_ISUART 2016-05-25 11:21:48 -06:00
Gregory Nutt
c089a2f241 Rename CONFIG_ARCH_HAVE_OTHER_UART to CONFIG_OTHER_UART_SERIALDRIVER 2016-05-25 10:48:33 -06:00
Gregory Nutt
e2e6ce3f1b Rename CONFIG_ARCH_HAVE_SCIn to CONFIG_SCIn_SERIALDRIVER 2016-05-25 10:46:55 -06:00
Gregory Nutt
2a87741e72 Rename CONFIG_ARCH_HAVE_UARTn to CONFIG_UARTn_SERIALDRIVER 2016-05-25 10:45:01 -06:00
Gregory Nutt
249a2e48e5 Rename CONFIG_ARCH_HAVE_USARTn to CONFIG_USARTn_SERIALDRIVER 2016-05-25 10:39:23 -06:00
Paul A. Patience
3ca1a41626 Update Nucleo F303RE and STM32F4Discovery uavcan configurations 2016-05-25 09:39:42 -04:00
Gregory Nutt
4b3e710af6 Add an argument to board_app_initialize() 2016-05-24 10:51:22 -06:00
Gregory Nutt
c019c270d5 Tiva boards: Fix a naming collision, rename board-specific function from tiva_timer_initialize() to tiva_timer_configure() to remove conflict 2016-05-23 08:26:46 -06:00
Gregory Nutt
1bb9c1fa39 Update README 2016-05-23 07:55:25 -06:00
Gregory Nutt
34ce000c50 Sabre-6quad: Add an SMP configuration; Enable procfs in both configurations 2016-05-22 16:17:10 -06:00
Gregory Nutt
c7979ad49c Update README and ChangeLog 2016-05-22 15:17:03 -06:00
Gregory Nutt
5e5b6d677d Update README and ChangeLog 2016-05-22 15:05:41 -06:00
Gregory Nutt
9bd8070b34 Review of last PR 2016-05-20 18:12:05 -06:00
Gregory Nutt
56616f99d3 Forgot to add file before last commit 2016-05-20 18:09:12 -06:00
Gregory Nutt
e47714322e Merged in K-man23/nuttx/stm32f411e-disco (pull request #25)
Add basic configuration for stm32f411e-disco board with STM32F411VE chip
2016-05-20 17:54:07 -06:00
Konstantin Berezenko
a2253cdd3e Add basic configuration for stm32f411e-disco board with STM32F411VE chip 2016-05-20 16:38:25 -07:00
Steve
bd3ef36eda SUMMARY
-------
   This patch enhances networking support for the simulation under Linux.
   Includes updated support for Linux TUN/TAP, and the addition of support for
   Linux bridge devices.

CHANGES
-------
   o Check to see if the d_txavail callback is present before calling it in
     the arp send code.  This prevents a segfault when simulating the telnetd
     daemon with arp send enabled.

   o Adjust the simulation's netdriver_loop() so it will detect and respond to
     ARP requests.

   o Do not attempt to take the tap device's hardware address for use by the
     simulation.  That hardware address belongs to the host end of the link,
     not the simulation end.  Generate a randomized MAC address instead.

   o Do not assign an IP address to the interface on the host side of the TAP
     link.

   + Provide two modes: "host route" and "bridge".

   + In host route mode, maintain a host route that points any traffic for the
     simulation's IP address to the tap device.  In this mode, so long as the
     simulation's IP is a free address in the same subnet as the host, no
     additional configuration will be required to talk to it from the host.
     Note that address changes are handled automatically if they follow the
     rule of if-down/set-address/if-up, which everything seems to.

   + In bridge mode, add the tap device to the specified bridge instance.  See
     configs/sim/NETWORK-LINUX.txt for information and usage examples.  This
     enables much more flexible configurations (with fewer headaches), such as
     running multiple simulations on a single host, all of which can access
     the network the host is connected to.

   o Refresh configurations in configs/sim where CONFIG_NET=y.  They default
     to "host route" mode.

   o Add configs/sim/NETWORK-LINUX.txt

CAVEATS
-------
   - The MAC address generation code is extremely simplistic, and does not
     check for potential conflicts on the network.  Probably not an issue, but
     something to be aware of.

   - I was careful to leave it in a state where Cygwin/pcap should still work,
     but I don't have a Windows environment to test in.  This should be
     checked.

   - I don't know if this was ever intended to work with OS X.  I didn't even
     try to test it there.

NOTES
-----
   - Was able to get telnetd working and simulate nsh over telnet, but only so
     long as listen backlogs were disabled.

     There appears to be a bug in the backlog code where sockets are being
     returned in SYN_RCVD state instead of waiting until they're ESTABLISHED;
     if you perform an immediate send after accepting the connection, it will
     confuse the stack and the send will hang; additionally, the connection
     will never reach ESTABLISHED state.

     Can be worked around by adding a sleep(1) after the accept in telnetd.  I
     don't have the necessary knowledge of the IP stack to know what the
     correct fix is.
2016-05-20 17:36:14 -06:00
Alan Carvalho de Assisis
6c852faebb stm32f103-minimum: Add instructions for using the secret 128KB FLASH 2016-05-20 17:14:19 -06:00
Gregory Nutt
5c55846d2d Minor README file update 2016-05-20 17:11:49 -06:00
Gregory Nutt
356692d70e SMP: Need to enable FPU on other CPUs as well 2016-05-20 13:35:58 -06:00
Gregory Nutt
07acd5327a SMP: Clean CPU0 D-Cache before starting new CPU; Invalidate D-Cache when new CPU started. 2016-05-20 12:39:02 -06:00
Gregory Nutt
eeb4a5c230 Remove comments blocks before empty file sections 2016-05-20 07:46:10 -06:00