Commit Graph

288 Commits

Author SHA1 Message Date
Gregory Nutt
ca2102febb Unix domain: A few fixes from early integration 2015-01-27 16:39:30 -06:00
Gregory Nutt
c250c97186 Unix domain: More fixed to build without Ethernet or Slip 2015-01-27 14:26:10 -06:00
Gregory Nutt
cbf0608513 Various fixes to get Unix domain sockets to build on the simulator without Ethernet 2015-01-27 14:11:46 -06:00
Gregory Nutt
32d2a4c548 All Ethernet drivers (again): Missed one place where arp_out() is called and neighber_out() needs to be called 2015-01-21 11:36:33 -06:00
Gregory Nutt
1ad73c52b1 Networking: Modify all Ethernet drivers: Do neighbor look-up on all outgoing IPv6 packs in order to properly set the destination link layer address. 2015-01-20 15:52:25 -06:00
Gregory Nutt
a53ae59284 Networking: Add missing raw/packet socket support to all Ethernet drivers 2015-01-20 15:14:29 -06:00
Gregory Nutt
92f440c20c Ethernet drivers: Use IFF_IS_IPv4 macro. Cannot rely on the EtherType being set correctly. 2015-01-20 06:26:14 -06:00
Gregory Nutt
278c485229 Networking: All Ethernet drivers: Call ipv6_input if IPv6 is enabled and an IPv6 packet is received 2015-01-15 09:31:23 -06:00
Gregory Nutt
89538ac4a2 - Rename devif_input() ipv4_input()
- Copy net/devif/devif_input.c to ipv6_input.c.  Remove all IPv4-specific logic.
- Rename net/devif/devif_input.c to ipv4_input.c.  Remove all IPv6-specific logic
- Split IPv4 header structure out as net_ipv4hdr_s from net_iphdr_s
2015-01-15 08:03:56 -06:00
Gregory Nutt
2f4aa0bde7 Networking: Condition certain ARP logic on CONFIG_NET_ARP in all Ethernet drivers 2015-01-15 07:07:39 -06:00
Gregory Nutt
cf19bafccf C5471: choice has a default value. It should not 2014-12-28 18:15:17 -06:00
Gregory Nutt
df30780f37 Various fixes to traveler joystick input logic and to simulated joystick device 2014-12-14 12:23:19 -06:00
Gregory Nutt
b972c34d5f Mouse simulatin should receive mouse positional input even if no button is pressed 2014-12-14 11:14:13 -06:00
Gregory Nutt
bb8adff45b SIM: Several fixes to the simulated joystick driver. Still buggy 2014-12-14 11:11:04 -06:00
Gregory Nutt
6e1084116b SIM: Add an X11 mouse-based simulation of an analog joystick device 2014-12-14 10:19:07 -06:00
Gregory Nutt
bf27d01866 Include sched.h to avoid warning 2014-12-14 07:46:46 -06:00
Gregory Nutt
041721cd22 SIM: Fix simulated console... it needs to return immediately when even one byte is read 2014-12-13 13:04:02 -06:00
Gregory Nutt
eabb95fc89 Allow building simulated framebuffer dirver is NX is not enabled 2014-12-08 08:29:48 -06:00
Gregory Nutt
63526fb1ef Rename CONFIG_NET_BUFSIZE to CONFIG_NET_ETH_MTU is all MCU Ethernet drivers 2014-11-16 08:10:06 -06:00
Gregory Nutt
25a9005ce7 Remove use of NET_LL_HDRLEN from Ethernet drivers. Use ETH_HDRLEN instead 2014-11-15 09:05:34 -06:00
Gregory Nutt
388ef8db1a Netwoek: Ada a parameter to netdev_register() to indicate the link protocol supported by the driver. Use this value to replace some logic commited yesterday 2014-11-15 08:22:51 -06:00
Gregory Nutt
b6a08c375c Merge remote-tracking branch 'origin/master' into bas24 2014-11-02 12:11:45 -06:00
Gregory Nutt
ef82c280fd MM: Minimum memory allocation must to up to 32 if sizeof pointer is 8-bytes 2014-11-02 12:11:20 -06:00
Gregory Nutt
a94a1f61d7 SIM: Add more symbols to /arch/sim/src/nuttx-names.dat 2014-11-02 11:44:09 -06:00
Gregory Nutt
7720f0f95e Oops... accidentally checked in a debug-only change with the last commit 2014-11-02 08:03:34 -06:00
Gregory Nutt
2353468370 Can't use isatty, tcsetattr, or tcgettr is CONFIG_SERIAL_CONSOLE is not defined 2014-11-02 07:59:56 -06:00
Gregory Nutt
7b310711a1 Update everything under nuttx/arch to use the corrected syslog interfaces 2014-10-08 12:48:47 -06:00
Gregory Nutt
ec2193f506 configs/sim/nsh/defconfig -- refresh, enable wall-time, dow builds natively in 64-bit mode 2014-10-03 08:44:42 -06:00
Gregory Nutt
1ab7239a1b Add support for 64-bit lonjmp/setjmp in simulator platform 2014-10-03 08:23:57 -06:00
Gregory Nutt
2a3b6ddc10 Simulation: Change how simulated UART data availability is signaled. The last change is not safe (but I don't like this workaround either -- maybe something better will come to me). 2014-10-01 14:59:51 -06:00
Gregory Nutt
df5e768675 Mostly cosmetic changes to simulator 2014-10-01 08:40:52 -06:00
Gregory Nutt
fc4efa2f10 Update some comments 2014-09-30 17:45:42 -06:00
Gregory Nutt
125d9e3548 Fix a cornercase problem in in the UART simulation 2014-09-30 15:49:30 -06:00
Gregory Nutt
aeecd10dfe Restore up_internal.h. Changes its name was a bad idea... at least for now 2014-09-30 14:41:58 -06:00
Gregory Nutt
4ce77a871f Simulated UART seems functional 2014-09-30 14:41:58 -06:00
Gregory Nutt
f19afef16f Forgot to add a file 2014-09-30 14:41:57 -06:00
Gregory Nutt
a982ff5795 Completes simulated uart implementation... does not work 2014-09-30 14:41:57 -06:00
Gregory Nutt
9e6b07c1b5 simulation: Add a simulatied UART input device. Also lots of misc clean-up for stylistic compatibility with other architectures 2014-09-30 14:41:57 -06:00
Gregory Nutt
709a801e7d Fix missing closing quotation mark 2014-09-19 13:00:42 -06:00
Gregory Nutt
ef8a4668d7 Some compiler errors that I added to Ken's code. From Ken Pettit 2014-09-19 10:58:32 -06:00
Gregory Nutt
34e0a71082 Emulated SPI FLASH driver for the sim target from Ken Pettit 2014-09-19 10:27:18 -06:00
Gregory Nutt
c458e72b70 ELF relocations. Some relocation types do not have a named symbol associated with them. The design did not account for that case 2014-09-09 16:52:51 -06:00
Gregory Nutt
56dc80cf59 The 'make export' target needs to bundle up the user C startup file (crt0), not the kernel head object 2014-09-04 13:31:34 -06:00
Gregory Nutt
69012cd4fd Add misc/Obsoleted/ChangeLog and misc/Obsoleted/Patches/Remove-8051-2014-9-1.patch 2014-09-01 16:21:29 -06:00
Gregory Nutt
64ab35b399 There used to be two ways to pass parameters to new tasks, depending upon the configuration: Either (1) argv[] as created as an array with each string strdup'ed. Or (1) argv[] array and strings were created on the stack before the new task was started. Now, there is only one way, way (1). Way (2) might be slightly more compact, but this is not worth carry the complexity of two different ways of doing the same thing. 2014-09-01 15:39:34 -06:00
Gregory Nutt
54fa3b0b59 Rename kfree to kmm_free for consistency with other naming conventions 2014-08-31 17:04:02 -06:00
Gregory Nutt
9aca0c1c84 Rename kumalloc to kumm_malloc and kuzalloc to kumm_zalloc for consistency with other naming 2014-08-31 16:24:24 -06:00
Gregory Nutt
9cd1ddada4 Rename kmemalign to kmm_memalign and krealloc to kmm_realooc for consistency with other naming 2014-08-31 15:27:37 -06:00
Gregory Nutt
e3ff0689bb Rename CONFIG_NUTTX_KERNEL to CONFIG_BUILD_PROTECTED; Partially integrate new CONFIG_BUILD_KERNEL 2014-08-29 14:47:22 -06:00
Gregory Nutt
e0a48b60b6 Change naming of ELF interfaces from arch_ to up_ for consistency 2014-08-25 06:47:14 -06:00