Commit Graph

9076 Commits

Author SHA1 Message Date
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
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
Gregory Nutt
2d3e653996 Mostly costmetic changes from review of last PR 2016-05-20 07:44:56 -06:00
Mark Olsson
a985e289ec Fixed User Button config for Nucleo-144 board family 2016-05-20 15:22:47 +02:00
Mark Olsson
1f869e5879 Added new configuration (evalos) for the Nucleo-144 board family.
This new configuration will showcase all the features of the boards, so is a good way to easily test out a new board. This can be added to all boards in the future.
2016-05-20 14:55:30 +02:00
Mark Olsson
02e43ab1b3 Adds support for the 3 user LEDs on the Nucleo-144 board family
Extra: procfs support doesn't work, so the code for this has been removed from AppInitialize
2016-05-20 13:45:16 +02:00
Gregory Nutt
7f7d4e664c Completely trivial changes from review of last PR 2016-05-19 14:09:00 -06:00
Gregory Nutt
34c0c7b54c Another update to README 2016-05-19 10:20:40 -06:00
Gregory Nutt
8af8d9fb05 Update README 2016-05-19 10:03:51 -06:00
Gregory Nutt
4c837d6e86 Update README 2016-05-19 07:59:31 -06:00
Gregory Nutt
66233060e2 Update README file 2016-05-19 07:25:52 -06:00
Gregory Nutt
8ace1e3be2 Remove all implementatinos of up_wdginitialize(). It is no longer used. 2016-05-18 19:48:42 -06:00
Gregory Nutt
1d2ee34131 SAM WDT: Rename up_wdginitialize() functions to something more appropriate for the internal OS interface. 2016-05-18 19:47:41 -06:00
Gregory Nutt
161bf368c1 Remove schematic... wrong board 2016-05-18 15:56:34 -06:00
Gregory Nutt
5d574549bd stm32f103-minimum: Add schematic; remove unused watchdog driver logic 2016-05-18 15:37:42 -06:00
Gregory Nutt
67756f1f70 Refresh configurations 2016-05-18 13:49:38 -06:00
Alan Carvalho de Assis
104b695645 configs: Add support for the generic STM32F103CBT6 Minimum Board 2016-05-18 13:33:17 -06:00
Gregory Nutt
f7fd8c6539 Trivial typo fix 2016-05-18 11:56:19 -06:00
Gregory Nutt
f454b38d6e ARMv7-A SMP: Allow CONFIG_SMP_NCPUS=1 for testing purposes 2016-05-18 09:17:02 -06:00
Gregory Nutt
3d87005e5a Fix some compilation issues when certain combinations of debug options are selected. 2016-05-17 12:06:32 -06:00
Gregory Nutt
8bd57a7fbc Sabre-6Quad: Fix sense of LED discrete output. It appears that a high value illuminates the LED. 2016-05-17 10:08:44 -06:00
Gregory Nutt
b416f6cc1b i.MX6: Calibrate delay loop 2016-05-17 08:22:38 -06:00
Gregory Nutt
5d44fd6a00 i.MX6: LEDs were not working because board_autoled_initialize() was not being called 2016-05-17 08:10:49 -06:00
Gregory Nutt
4c08492c0f i.MX6: Fix a bit setting in the timer configuration 2016-05-17 07:21:18 -06:00
Aleksandr Vyhovanec
80a9357b6f wfi.mac should be copied into the directory with the IAR project. Then set it to "Options -> Debugger -> Setup macro file(s)". This will allow debugging via JTAG when calling the WFI instruction. 2016-05-17 06:45:00 -06:00
Gregory Nutt
e6728bac29 Cortex-A9 GIC: Add an interface to set interrupt edge/level trigger 2016-05-16 14:42:55 -06:00
Gregory Nutt
4feeb0c2b4 Cortex-A9 GIC: Some fixes that I don't fully understand but do indeed give me serial interrupts 2016-05-16 12:50:35 -06:00
Gregory Nutt
a0cdbcb58f Update README 2016-05-16 08:44:18 -06:00
Gregory Nutt
a1e066d6a5 Merge remote-tracking branch 'origin/master' into nucleo-144 2016-05-13 11:51:22 -06:00
Gregory Nutt
7c52b8ddae Add a .noinit section to all ARMv7-A linker scripts 2016-05-13 08:05:21 -06:00
Gregory Nutt
99e695398c Rename up_boot to arm_boot 2016-05-12 13:42:49 -06:00
Gregory Nutt
365df152c5 Remove TABs and while space from end of line in README file 2016-05-12 12:26:56 -06:00
Gregory Nutt
61f6915898 Update README files 2016-05-12 10:01:43 -06:00
David Sidrane
d03b0f5188 README.txt file for the nucleo-144 2016-05-12 09:56:32 -06:00