Gregory Nutt
e9d831ac60
wireless/ieee802154: Add initialization logic for loopback driver; configs/sim: Add configuration for testing 6loWPAN; net/sixlowpan: Fix for compilation with debug output enabled.
2017-04-03 09:15:00 -06:00
Gregory Nutt
068ac948e1
sim: Add a configuration for testing 6loWPAN.
2017-04-03 08:46:16 -06:00
Gregory Nutt
1b6630ee75
6loWPAN: Fix compile errors and warnings when building the complete 6loWPAN configuration.
2017-04-02 17:46:22 -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
8b1491948c
Refresh all sim configurations
2017-03-09 10:36:54 -06:00
Gregory Nutt
3c4684ef5f
Eliminate CONFIG_ARCH_OPTIMIZED_FUNCTIONS. Move options to select architectur-specific C library options from libc/Kconfig to libc/machine/Kconfig and rename.
2017-01-20 09:30:07 -06:00
Gregory Nutt
4216c4b777
NxWM configurations. If using a 7-bit character set, then the cursor character cannot be 137 (graphic block). Use 95 (underscore) instead.
2017-01-08 09:21:37 -06:00
Gregory Nutt
7035d232f8
NX server: Correct message queue names. Should not be at /dev, but rather relative to /var/mqueue.
2017-01-08 09:14:11 -06:00
Gregory Nutt
e1d9bb2ef2
Refresh all NX multi-user configurations
2017-01-08 08:06:18 -06:00
Gregory Nutt
f063e4c5ac
Remove Calypso architecture support and support for Calypso SERCOMM driver.
2016-12-13 18:35:52 -06:00
Gregory Nutt
55dd1c87b3
Remove all references to BOARDIOC_ADCSETUP
2016-12-05 15:31:40 -06:00
Gregory Nutt
b999e63c82
Remove some references to BOARDIOC_PWMTEST and board_pwm_setup(). Still lots more.
2016-12-05 13:54:12 -06:00
Gregory Nutt
7467329a98
Eliminate CONFIG_NO_NOINTS. Lots of files changed -> lots of testing needed.
2016-12-03 16:28:19 -06:00
Gregory Nutt
c0cbea2550
Remove RGMP and RGMP drivers.
2016-12-02 09:49:33 -06:00
Gregory Nutt
99987a3d51
Increase max message size in all NxWM configurations.
2016-12-02 08:38:42 -06:00
Gregory Nutt
fa03fa5ea9
Refresh more defconfig files
2016-12-01 17:07:54 -06:00
Gregory Nutt
86b5f3b9ed
boardctl: Add new command to start the NX server as a kernel thread. Also refresh more configurations.
2016-12-01 15:05:57 -06:00
Gregory Nutt
553f6d22fc
Boardctl: Add a boardctrl() command to start the NX server. Refresh all NX configurations.
2016-12-01 13:52:13 -06:00
Gregory Nutt
6dda185e8a
NX: Remove configuration CONFIG_NX_NXSTART. nx_start.c is now built unconditionally in multi-user mode.
2016-12-01 13:30:24 -06:00
Gregory Nutt
44e747ebf1
Remove all references to CONFIG_NET_MULTIBUFFER from configs/
2016-11-29 15:07:30 -06:00
Gregory Nutt
439c72e7c8
Refresh all networking configurations due to changes in work-queue related configuration variables for Ethernet drivers.
2016-11-19 09:41:24 -06:00
Gregory Nutt
21f92ba601
Review some SMP logic; update comments; refresh configuration.
2016-11-15 09:24:00 -06:00
Gregory Nutt
31b777a98d
Merged in bkueng/nuttx/add_fcheck-new (pull request #122 )
...
CXXFLAGS: add -fcheck-new whenever -fno-exceptions is used
2016-08-23 07:33:50 -06:00
Beat Küng
c7da88e383
CXXFLAGS: add -fcheck-new whenever -fno-exceptions is used
...
This is to avoid GCC to optimize null-pointer checks away, in case the
default operator new is used together with -fno-exceptions.
2016-08-22 08:35:01 +02:00
Gregory Nutt
300361539a
sched/sched_cpuload_oneshot: Use the oneshot timer with optional entropy to measuer cPU load if so configured.
2016-08-20 12:47:07 -06:00
Gregory Nutt
046acf6b54
Add a simulated oneshot lowerhalf driver
2016-08-12 13:14:03 -06:00
Gregory Nutt
9ca15c718d
configs/sim: Add a configuration useful for testing Mini Basic
2016-08-12 06:55:10 -06:00
Gregory Nutt
ed5ddb3bf6
Cosmetic, remove a blank line.
2016-08-11 12:51:20 -06:00
Gregory Nutt
f43ded46e6
Rename arch/sh to arch/renesas, cont'd
2016-08-06 14:03:38 -06:00
Gregory Nutt
3d5df2e5af
Extend I/O Expander interrupt controls; Add test of level sensitve interrupt to Simulated I/O expander
2016-08-04 16:19:52 -06:00
Gregory Nutt
e9b604914c
config/sim: Add logic to set the simulated I/O expander for testing with apps/examples/gpio
2016-08-03 12:45:16 -06:00
Gregory Nutt
28afd30a4e
configs/sim: Add simulator-based test support for apps/examples/gpio
2016-08-01 15:29:01 -06:00
Gregory Nutt
59abd48bdf
Oops. Backout some debug code that was accidentally committed.
2016-07-27 08:57:31 -06:00
Pierre-noel Bouteville
d4f3954b35
lib_dumpbuffer: Now prints a large on-stack buffer first to avoid problems when the syslog output is prefixed with time.
2016-07-27 08:40:46 -06:00
Gregory Nutt
2803acbe06
All configurations with CONFIG_NET_LOCAL=y need to select CONFIG_PIPES
2016-07-20 17:28:39 -06:00
Gregory Nutt
ee9c66186c
ramdisk.h moved from include/fs/nuttx/ to include/nuttx/drivers.
2016-07-20 14:02:18 -06:00
Gregory Nutt
6f9a536ae8
Disable DEBUG features be default in all configurations
2016-07-07 15:58:26 -06:00
Gregory Nutt
b3a73c3697
Remove newlines from .gitignore files
2016-07-07 10:25:13 -06:00
Gregory Nutt
aa96a1d2ec
Move the TZ/Olson zoneinfo data set from apps/system/zoneinfo to libc/zoneinfo
2016-06-30 15:40:37 -06:00
Gregory Nutt
2a19e16eb0
libc/hex2bin: Move the portable library portion of apps/system/hex2bin to nuttx/libc/hex2bin where it can be shared with the OS internals.
2016-06-27 11:22:38 -06:00
Gregory Nutt
5118264e6c
Rename CONFIG_SYSLOG_CONSOLE to CONFIG_CONSOLE_SYSLOG
2016-06-21 09:35:51 -06:00
Gregory Nutt
2a751068e6
Without lowsyslog() *llerr() is not useful. Eliminate and replace with *err().
2016-06-20 12:44:38 -06:00
Gregory Nutt
5b2aa7bf99
Remove all traces of CONFIG_SYSLOG
2016-06-19 13:59:43 -06:00
Gregory Nutt
0c8c7fecf0
Add _ to the beginning of all debug macros to avoid name collisions
2016-06-16 12:33:32 -06:00
Gregory Nutt
c494454bc4
configs/: Change some *err() message to *info() messages if what was a *dbg() message does not indicate and error condition.
2016-06-13 07:43:55 -06:00
Gregory Nutt
a1469a3e95
Add CONFIG_DEBUG_ERROR. Change names of *dbg() * *err()
2016-06-11 15:50:49 -06:00
Gregory Nutt
e99301d7c2
Rename *lldbg to *llerr
2016-06-11 14:55:27 -06:00
Gregory Nutt
1cdc746726
Rename CONFIG_DEBUG to CONFIG_DEBUG_FEATURES
2016-06-11 14:14:08 -06:00
Gregory Nutt
fc3540cffe
Replace all occurrences of vdbg with vinfo
2016-06-11 11:59:51 -06:00
Gregory Nutt
3a74a438d9
Rename CONFIG_DEBUG_VERBOSE to CONFIG_DEBUG_INFO
2016-06-11 11:50:18 -06:00
Gregory Nutt
89c9aca89e
All configurations that have both CONFIG_NSH_LIBRARY=y and CONFIG_NET=y must now also have CONFIG_NSH_NETINIT=y
2016-06-09 09:29:47 -06:00
Gregory Nutt
5c9e11f1b0
Refresh all configurations that have both CONFIG_NSH_LIBRARY and CONFIG_NET set in preparation for another change.
2016-06-09 09:25:20 -06:00
Gregory Nutt
02fd8ecd41
Refresh Configuration
2016-06-09 08:25:16 -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
Gregory Nutt
4b3e710af6
Add an argument to board_app_initialize()
2016-05-24 10:51:22 -06:00
Gregory Nutt
56616f99d3
Forgot to add file before last commit
2016-05-20 18:09:12 -06: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
Gregory Nutt
8c1534e3ed
VNC: Finish initializing the VNC server once we have the NX handle
2016-04-22 13:39:35 -06:00
Gregory Nutt
46846c0c24
Framebuffer driver: Add a display number to each interface in order to support multiple displays
2016-04-14 12:23:15 -06:00
Gregory Nutt
3228d32938
Correct permmisions on executable scripts
2016-04-10 09:11:59 -06:00
Gregory Nutt
7337e748de
Merge in configs/ submodule
2016-04-10 07:57:59 -06:00
Gregory Nutt
ad61b7ab3e
Remove all references to CONFIG_SYSTEM_SDCARD
2016-03-30 17:53:19 -06:00
Gregory Nutt
1652052f52
Update a README.txt
2016-03-23 14:48:03 -06:00
Gregory Nutt
e5b0c0e502
Remove most unused references to CONFIG_NET_MULTICAST. Rename other uses of CONFIG_NET_MULTICAST to avoid naming comflicts.
2016-03-20 13:15:58 -06:00
Gregory Nutt
12c14ee718
Rename CONFIG_WIRELESS to CONFIG_DRIVERS_WIRELESS
2016-02-26 16:45:29 -06:00
Gregory Nutt
da751159ef
Update README.txt
2016-02-19 15:35:02 -06:00
Gregory Nutt
c1cca31551
Upate README
2016-02-19 06:51:39 -06:00
Gregory Nutt
f3e8b0ce28
Update README
2016-02-18 17:12:17 -06:00
Gregory Nutt
10fed19e48
Trivial update to README
2016-02-18 13:38:14 -06:00
Gregory Nutt
0edfbdf33b
Update README.txt
2016-02-17 13:35:56 -06:00
Gregory Nutt
0b3bc73fec
Update README.txt
2016-02-17 13:09:25 -06:00
Gregory Nutt
3cb652648b
Update README.txt
2016-02-17 10:53:32 -06:00
Gregory Nutt
2eac61699c
Refresh a configuration
2016-02-11 12:18:07 -06:00
Gregory Nutt
fa7733b9fa
Refresh a configuration
2016-02-10 10:34:56 -06:00
Gregory Nutt
656e730f8f
apps/system/ramtron has been removed.
2016-01-27 10:39:30 -06:00
Gregory Nutt
382e00b294
Update some configurations
2016-01-22 10:43:56 -06:00
Gregory Nutt
2f005d9b53
Password file is now in base64, not hex
2016-01-21 16:28:09 -06:00
Gregory Nutt
fff73ea68f
Update README
2016-01-21 08:55:09 -06:00
Gregory Nutt
63c7d86d66
Update README
2016-01-20 18:42:38 -06:00
Gregory Nutt
9535c909d3
Rename CONFIG_SYSTEM_INIFILE to CONFIG_FSUTILS_INIFILE
2016-01-20 17:11:48 -06:00
Gregory Nutt
a1b4b2d032
Fix some typos in ROMFS image source; update README; NSH configuratin is now password protected
2016-01-20 14:36:58 -06:00
Gregory Nutt
47ce7b929c
sim/nsh: Correct path to passwd file in ROMFS. Make passwd file as read-only
2016-01-20 13:02:52 -06:00
Gregory Nutt
814eadc1c2
sim: No supports a custom ROMFS startup structure that now also includes a passwd file. Has hooks for an MOTD.
2016-01-20 12:27:59 -06:00
Gregory Nutt
004f4b8896
All bash scripts should be marked executable
2016-01-15 07:54:27 -06:00
Gregory Nutt
9e548d34c3
mkdeps.sh and mkdeps.bat have been deleted. All configurations must now use the compiler mkeps prograqm
2016-01-09 16:06:15 -06:00
Gregory Nutt
5ad57111af
sim/nsh: hello task sometimes needs a larger stack size or things get clobbered when calling into the system write() interface
2016-01-05 17:22:59 -06:00
Gregory Nutt
697bc47187
Refresh configuration; update README
2015-12-30 12:36:53 -06:00
Gregory Nutt
b90f5ba7f4
Remove CONFIG_DISCRETE_IO from all defconfig files
2015-12-15 08:41:10 -06:00
Gregory Nutt
54ea059beb
Add new boardctl() command to set OS symbol table
2015-12-13 08:13:15 -06:00
Gregory Nutt
9a4192d22b
Remove CONFIG_NET_PINGADDRCONF. This was a uIP way of assigning IP addresses, but is not standard and not a appropriate feature in general.
2015-12-01 07:47:41 -06:00
Gregory Nutt
5926a09498
Update README
2015-11-30 13:05:14 -06:00
Gregory Nutt
1216398f62
sam: Refresh all configurations: Enable PROCFS and NSH_ARCHINIT in all NSH configurations
2015-11-29 13:52:50 -06:00
Gregory Nutt
b9a26bae77
Move up_appinit.c to configs/sim/src where it belongs. Add logic to automatically mount the procfs file system if it is enabled.
2015-11-29 13:30:12 -06:00
Gregory Nutt
2eff9aa773
Enable procfs file system in sim/nsh configuration
2015-11-28 07:01:31 -06:00
Gregory Nutt
87530bf910
Enable /dev/zero and /dev/loop in sim/nsh configuration
2015-11-26 06:58:09 -06:00