Commit Graph

8554 Commits

Author SHA1 Message Date
Gregory Nutt
de3dd8e96b STM32 F401: Correct support for USART6 on this chip. From Freddie Chopin 2014-08-22 06:49:16 -06:00
Gregory Nutt
669223efd5 Update ChangeLog 2014-08-21 11:18:12 -06:00
Gregory Nutt
ad9b3f8ab8 wdog.h does not contain any application interface, only internal OS interface. Further, it is non-standard. Move wdog.h from include/ to include/nuttx. For the same reason, move the description of the watchdog timer interfaces from the Users Guide to the Porting Guide. 2014-08-21 11:16:55 -06:00
Gregory Nutt
a3f2280fe0 Viewtool STM32F107: Turn on ARP request logic and TCP write buffering 2014-08-21 08:54:51 -06:00
Gregory Nutt
182e2f5e67 Update ChangeLog 2014-08-21 08:45:56 -06:00
Gregory Nutt
952d87587f If we run out of pre-allocated watchdog times, the logic will allocate additional timers from the heap. A reserve of pre-allocated watchdog timers is maintained so that there will always be timers available for interrupt handlers. 2014-08-21 08:44:29 -06:00
Gregory Nutt
e1d29d8718 Refresh some configurations 2014-08-21 08:36:36 -06:00
Gregory Nutt
c314d4ca2a Refresh some configurations 2014-08-21 08:36:16 -06:00
Gregory Nutt
59a7df8120 Update ChangeLog 2014-08-20 14:16:31 -06:00
Gregory Nutt
2c41b35c6b SAM4E-EK: Add an NxWM configuration 2014-08-20 14:15:34 -06:00
Gregory Nutt
a7d2c39b91 Update ChangeLog 2014-08-20 12:53:45 -06:00
Gregory Nutt
1c3d2b3c1a SAM4E-EK LCD finally works 2014-08-20 12:53:08 -06:00
Gregory Nutt
49b88e3c66 Update ChangeLog 2014-08-20 11:46:45 -06:00
Gregory Nutt
cf242fbeb4 SAM4E-EK: Add ILI9341-based LCD driver 2014-08-20 11:45:01 -06:00
Gregory Nutt
29eef778ce Update ChangeLog 2014-08-20 07:11:38 -06:00
Gregory Nutt
21add71646 ARP reuestion logc needs to do the right thing if (1) the address is a broadcast or multicast address, and (2) if the IP address lies outside of the network. Thanks to Manuel Stuehn 2014-08-20 07:09:02 -06:00
Gregory Nutt
27cc2a3fc3 ARP request logic is no longer EXPERIMENTAL 2014-08-20 07:07:24 -06:00
Gregory Nutt
9f5299522f Add missing include file. From Kosma 2014-08-20 06:34:34 -06:00
Gregory Nutt
f7656bf525 Update ChangeLog 2014-08-19 17:32:26 -06:00
Gregory Nutt
703d4bca7b Add a register definition header file for the ILI9341 LCD 2014-08-19 17:31:10 -06:00
Gregory Nutt
0b400d624a Trivial typo fix 2014-08-19 11:27:39 -06:00
Gregory Nutt
22eab59fb9 Refresh SAM4E-EK configurations 2014-08-19 10:38:35 -06:00
Gregory Nutt
8e84282c05 ARP: Fix bid conversion from msec to nsec 2014-08-19 08:37:14 -06:00
Gregory Nutt
a9ca05266b Update ChangeLog 2014-08-19 07:52:52 -06:00
Gregory Nutt
9662f1750c ARP: Add signal logic so that we do not have to wait so long with the network responses to ARP requests quickly 2014-08-19 07:47:32 -06:00
Gregory Nutt
4bba611dc6 Move some internal networking function protoypes out of the public include/nuttx/net/arp.h into to the private net/arp/arp.h 2014-08-18 16:35:20 -06:00
Gregory Nutt
482fd2d502 Update ChangeLog 2014-08-18 16:23:32 -06:00
Gregory Nutt
6e04518e4a If CONFIG_NET_ARP_SEND is enabled, then all ICMP, TCP, and UDP send operations will call arp_send() before attempting the real send operation. arp_send() will check if the the IP address mapping is in the ARP table and, if not send ARP requests periodically until it is. This eliminates losing the first outgoing message because there is not mapping in the ARP table. 2014-08-18 16:22:14 -06:00
Gregory Nutt
7f862bd381 Update ChangeLog 2014-08-18 15:30:56 -06:00
Gregory Nutt
548fda7834 arp_poll(): inished the implementation of logic to send ARP requests. Complete, fully hooked into the networking logic, and ready for test (but still untested) 2014-08-18 15:24:51 -06:00
Gregory Nutt
b440fa18ca arp_send.c: Partial implementation of logic to send ARP requests to assure that an IP address mapping is present in the ARP table 2014-08-18 14:29:02 -06:00
Gregory Nutt
ec429fdf00 PKT sockets: Change how the IFF_NOARP flag is handled. This should be set only when data is moved into the buffer and cleared after tested by the ARP logic. Setting it globally can cause packets to be sent with no valid MAC addresses 2014-08-18 13:42:51 -06:00
Gregory Nutt
1a7e1fb93b arp_format.c: Move the logic that formats an ARP packet into a separate file where it can be re-used. 2014-08-18 12:37:40 -06:00
Gregory Nutt
9e44fec80c Change all Spark configurations to use SPI mode 1. From Alan Carvalho de Assis 2014-08-18 11:58:45 -06:00
Gregory Nutt
cb7c8ca0e0 Update ChangeLog 2014-08-18 11:37:53 -06:00
Gregory Nutt
1323ab9352 Move arp_arpin() from arp_inout.c to its own file. Rename arp_inout.c to arpipin.c because that is all that is left in the file 2014-08-18 11:36:39 -06:00
Gregory Nutt
6f1d354ef1 Move arp_out() from arp_inout.c to its own file 2014-08-18 11:21:53 -06:00
Gregory Nutt
985c016150 ARP: Add missing configuration option to select dumping of ARP packet headers. Move ARP dumping logic from arp_inout.c to its own file 2014-08-18 11:08:15 -06:00
Gregory Nutt
9aab8f77ea Update ChangeLog 2014-08-18 07:34:16 -06:00
Gregory Nutt
a325cb9f0d sscanf(): NuttX libc tried to guess how many characters to parse, extracted them into a buffer, then ran strtol() on that buffer. That guess is often wrong. A better approach would be to call strtol() directly on the input data, using the endptr return value to determine how many characters to skip after parsing. From Kosma Moczek 2014-08-18 07:33:17 -06:00
Gregory Nutt
a8d7772ad6 Update README files, Kconfig help comments, and make the network monitor not EXPERIMENTAL 2014-08-18 07:24:47 -06:00
Gregory Nutt
3b07378b38 NSH link management now works! The last fix was to the Ethernet drivers: They cannot disable clocking to the Ethernet blok on ifdown. Otherwise, we cannot communicate with the PHY 2014-08-17 17:54:46 -06:00
Gregory Nutt
004788d7c0 Change the way PHY interrupts work: disable automatically. Then we have to re-subscribe each time after the interrupt fires 2014-08-17 16:51:56 -06:00
Gregory Nutt
7cc93b708a SAMA5 PHY: Add more debug instrumentation; Fix logic that would be used to disable PHY interrupts 2014-08-17 14:07:53 -06:00
Gregory Nutt
1db9858e9d KSZ80x1 PHY interrupts are active low and should trigger on the falling edge 2014-08-17 13:15:59 -06:00
Gregory Nutt
e04ab2bcfc In order to get PHY interrupts, they must be enabled at the PHY (still don't get PHY interrupts) 2014-08-17 13:03:18 -06:00
Gregory Nutt
5ba42680ac For all SAM Ethernet, need to enable management interface before reading PHY regisers in IOCTL 2014-08-17 11:09:54 -06:00
Gregory Nutt
f28fb77e55 Update ChangeLogs 2014-08-17 09:53:43 -06:00
Gregory Nutt
dcfc76336a Add some helper macros to make the code a little more compac 2014-08-17 09:46:03 -06:00
Gregory Nutt
716aec39bf Cosmetic 2014-08-17 09:45:38 -06:00