Gregory Nutt
7a7998e4f9
Add support for the NXP Freedom-K64F board. This is primarily the work of Jordan Macintyre. I leveraged this code from https://github.com/jmacintyre/nuttx-k64f
2016-07-01 15:42:21 -06:00
Gregory Nutt
0f0258c922
STM3210e-eval: No such macro as warn(), change to swarn()
2016-06-30 17:42:26 -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
a897fd4ccf
Eliminate use of apps/system/usbmonitor. Use drivers/usbmonitor instead.
2016-06-30 13:09:22 -06:00
Gregory Nutt
7c34a77b54
Move apps/system/usbmonitor to nuttx/drivers/usbmonitor
2016-06-30 12:24:33 -06:00
Gregory Nutt
8e7db75439
Fix typos in a comment
2016-06-30 07:07:40 -06:00
Gregory Nutt
fd9c9a7f4f
Add logic to support custom board directories that include a Kconfig file. During the context phase of the build, any Kconfig file in the custom board directory is copied into configs/dummy, replacing the existing Kconfig file with the target Kconfig file.
2016-06-29 11:53:00 -06:00
Gregory Nutt
6aa067e929
Mostly costmetic changes from review of last PR
2016-06-29 07:33:30 -06:00
David Sidrane
1a39783e0f
Reformated and using real sizes
2016-06-28 16:43:23 -10:00
David Sidrane
0aa571d359
Fix warnings
2016-06-28 12:45:08 -10:00
Gregory Nutt
32c6cd71bb
Refresh all SAMV71/SAME70 configurations
2016-06-28 15:40:10 -06:00
Gregory Nutt
4742999e45
Remove references to non-existent kostest from README.txt
2016-06-28 14:45:30 -06:00
Gregory Nutt
ac81ecf65b
Remove configs/stm32f746g-disco/netnsh. It does not build. Probably a corrupted, hand-editted defconfig file.
2016-06-28 14:43:58 -06:00
Gregory Nutt
71569b8d71
Eliminate some warnings
2016-06-28 13:40:06 -06:00
Gregory Nutt
723165d499
configs/spark: Fix warning because STM32_NSPI is not defined
2016-06-28 11:57:40 -06:00
Gregory Nutt
c1ba51be18
STM32 BBSRAM: Remove duplcate typedef; shorten some long lines.
2016-06-28 10:54:59 -06:00
Gregory Nutt
3ddecd460d
More name changes to conform with NuttX naming standard: No CamelCase names.
2016-06-28 10:10:26 -06:00
Gregory Nutt
f14ff4c4a1
A few naming changes to get code from last PR to conform to NuttX naming standard
2016-06-28 10:06:47 -06:00
Gregory Nutt
14a8bbbf22
Fix some conditional compilation that got hosed in last changes for review of PR
2016-06-28 10:00:09 -06:00
Gregory Nutt
c74269ced6
Significantly stylistic changes required after review of last PR
2016-06-28 09:37:21 -06:00
Gregory Nutt
0de3514af7
Merged in david_s5/nuttx/upstream_nucleo-144 (pull request #77 )
...
Upstream_nucleo 144
2016-06-28 09:07:03 -06:00
Michael Spahlinger
ed1f3aec61
Fixed build of SAMV71-XULT/nsh. With the changes from 26f7b8c
the build process of the default configuration did not succeed anymore. This is fixed by this commit.
2016-06-28 08:23:41 -06:00
David Sidrane
20d2a0a3d7
Added bbsram test to Nucleo-144
2016-06-27 16:11:53 -10:00
David Sidrane
8ebd10e8e1
Added USB otg device to Nucleo-144
2016-06-27 10:01:04 -10:00
Gregory Nutt
738510a52c
Merged in david_s5/nuttx/upstream_nucleo-144 (pull request #75 )
...
Upstream_nucleo 144
2016-06-27 12:30:53 -06:00
David Sidrane
fba8f4c05b
Moved NCD to PC6
2016-06-27 08:28:30 -10: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
79ff375b66
Refresh configurations
2016-06-27 10:06:01 -06:00
Gregory Nutt
43d7301255
Trivial changes from review of last PR
2016-06-27 08:00:01 -06:00
Mateusz Szafoni
10985347e3
Add olimex-stm32-e407 to configs
2016-06-27 13:41:41 +02:00
Gregory Nutt
c8e73b9cef
Backout most of changes from 4d331ec09b2fc72636f86be628ea2f69381 and 8afe721612
. Does not work as expected.
2016-06-25 09:44:50 -06:00
Gregory Nutt
8643b59527
Merged in david_s5/nuttx/upstream_nucleo-144 (pull request #72 )
...
Upstream_nucleo 144
2016-06-24 18:38:17 -06:00
David Sidrane
b31e5e3c9d
Added SDMMC to Nucleo-144
2016-06-24 13:23:35 -10:00
ziggurat29
6c762faa0f
updated to reflect changes in debug output macros/fxns
2016-06-24 17:48:08 -05:00
Gregory Nutt
201977fa05
Refresh all PIC32 configurations
2016-06-24 16:27:11 -06:00
ziggurat29
b4e62547af
resolve and Merge branch 'master' into stm32l4_usb
...
resolved Conflicts:
configs/stm32l476vg-disco/nsh/defconfig
2016-06-24 14:54:20 -05:00
Gregory Nutt
8afe721612
Make custom board options invisible until custom board is selected
2016-06-24 07:54:41 -06:00
Gregory Nutt
170574d331
Add configuration logic to include a Kconfig file in each custom configuration. Includes adding a dummy custom board configuration directory. A consequence of this that each custom board directory will now need to contain a Kconfig file. NOTE also that the new board directory does not take effect in the configuration menues until the NEXT time you run 'make menuconfig'
2016-06-24 07:45:59 -06:00
Gregory Nutt
fd1d874a8a
Refresh all PIC32 configurations
2016-06-23 16:01:45 -06:00
Gregory Nutt
1377452394
Refresh all ARM configurations
2016-06-23 15:59:14 -06:00
Gregory Nutt
2cc6204c69
Removed stm32f746g-disco/knsh configuration it failed to refresh (via tools/refresh.sh). I assume that it is a hand-edited configuration and, hence, must be removed from the repository
2016-06-23 15:55:35 -06:00
Gregory Nutt
5118264e6c
Rename CONFIG_SYSLOG_CONSOLE to CONFIG_CONSOLE_SYSLOG
2016-06-21 09:35:51 -06:00
Gregory Nutt
2f04fb63fa
Update some README files
2016-06-21 05:36:28 -06:00
Gregory Nutt
aab77a944d
_warn(), not warn()
2016-06-20 22:32:34 -06:00
Gregory Nutt
645603e6d1
Fix a malformed warn() statement
2016-06-20 16:28:37 -06:00
Gregory Nutt
ec1e1a10fd
Make system: Build the drivers/ directory even if file descriptors are disabled. There are still things that may be needed from the drivers/ director (such as SYSLOG logic or lower half drivers).
2016-06-20 16:33:20 -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
43eb04bb8f
Without lowsyslog() *llinfo() is not useful. Eliminate and replace with *info().
2016-06-20 11:59:15 -06:00
Gregory Nutt
d40a473f72
Without lowsyslog() *llwarn() is not useful. Eliminate and replace with *warn().
2016-06-20 09:37:08 -06:00
Gregory Nutt
2b445ddccc
Remove lowsyslog(). The new syslog() includes all of the functionality of lowsyslog(). No longer any need for two interfaces.
2016-06-20 08:57:08 -06:00
Gregory Nutt
5b2aa7bf99
Remove all traces of CONFIG_SYSLOG
2016-06-19 13:59:43 -06:00
David Sidrane
df64a68b15
Nucleo-144 Moved ADC to chan 3
2016-06-18 08:08:28 -10:00
Gregory Nutt
e65bcccaa2
Costmetic changes from the review of the last PR
2016-06-17 17:30:05 -06:00
David Sidrane
4416561c46
Refreashed STM32F746G-DISCO config
2016-06-17 12:49:42 -10:00
David Sidrane
64b1d4e314
Updated For STM32F746G-DISCO
2016-06-17 12:49:42 -10:00
David Sidrane
86374ed3e5
Add RCC PLLs and CFG - Not tested
2016-06-17 12:49:42 -10:00
David Sidrane
63a3e20310
Add RCC PLLs and CFG - Not tested
2016-06-17 12:49:42 -10:00
David Sidrane
540728af42
Nucleo-144 update RCC and I2C
2016-06-17 12:49:42 -10:00
David Sidrane
003fd604d1
Nucleo-144 I2C pinout
2016-06-17 12:48:30 -10:00
David Sidrane
9447316162
Nucleo-144 ADC
2016-06-17 12:48:30 -10:00
Gregory Nutt
fb1d830770
Fix some errors in STM32F7 ADC and I2C. Also some errors in STM32-WS configuration
2016-06-17 08:36:23 -06:00
Gregory Nutt
2f24f911f5
Hook configs/stm32f746-ws into the configuration system
2016-06-17 08:13:22 -06:00
Gregory Nutt
d3b8c03a8a
Fix a few missed changes from *dbg() to *err() and *vdbg() to *info()
2016-06-17 06:00:45 -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
37b9742189
Centralize definitions associated with CONFIG_DEBUG_TIMER
2016-06-16 07:16:25 -06:00
Gregory Nutt
6b517ed017
Centralize definitions associated with CONFIG_DEBUG_WATCHDOG
2016-06-16 06:28:04 -06:00
Gregory Nutt
03cbe671ad
Centralize definitions associated with CONFIG_DEBUG_PWM
2016-06-15 17:23:56 -06:00
Gregory Nutt
63b1eb09e6
Centralize definitions associated with CONFIG_DEBUG_CAN
2016-06-15 15:45:27 -06:00
Gregory Nutt
6d9a0511ad
Rename CONFIG_DEBUG_HEAP to CONFIG_HEAP_COLORATION
2016-06-15 14:48:06 -06:00
Gregory Nutt
2ddd57c674
Centralize definitions associated with CONFIG_DEBUG_LEDS
2016-06-15 14:12:19 -06:00
Gregory Nutt
a42651de4f
Changes from review of last PR. Mostly costmetic.
2016-06-15 12:43:06 -06:00
Gregory Nutt
ff7be7cead
Merged in petekol/nuttxnsm (pull request #59 )
...
some stm32f7 files
2016-06-15 12:01:30 -06:00
Gregory Nutt
24c51ec1ff
Centralize definitions associated with CONFIG_DEBUG_LCD
2016-06-15 11:40:33 -06:00
Gregory Nutt
ba03134bed
Centralize definitions associated with CONFIG_DEBUG_SPI
2016-06-15 10:41:13 -06:00
Gregory Nutt
0e180c3ad8
Centralize definitions associated with CONFIG_DEBUG_GPIO
2016-06-15 09:27:52 -06:00
Lok Tep
5a8f395a9b
Merge remote-tracking branch 'parent/master'
...
# Conflicts:
# arch/arm/src/stm32f7/chip/stm32_spi.h
# arch/arm/src/stm32f7/stm32_spi.c
# arch/arm/src/stm32f7/stm32_spi.h
2016-06-15 17:03:28 +02:00
David Sidrane
4f72ad74d2
configs/nucleo-144: Test F7 SPI
2016-06-14 07:30:28 -06:00
Gregory Nutt
191d875b05
Cleanup of configs/teensy-2.0/src files
2016-06-13 16:03:16 -06:00
Gregory Nutt
749de40768
Teensy-2.0: Add board_app_initalize()
2016-06-13 15:13:19 -06:00
Gregory Nutt
eac916c907
Fix some warnings
2016-06-13 11:48:20 -06:00
Gregory Nutt
94f5e87222
configs/: Change some *err() message to *info() messages if what was a *dbg() message does not indicate and error condition.
2016-06-13 11:04:19 -06:00
Gregory Nutt
40f0481478
configs/: Change some *err() message to *info() messages if what was a *dbg() message does not indicate and error condition.
2016-06-13 09:44:12 -06:00
Gregory Nutt
b9aadf7242
configs/: Change some *err() message to *info() messages if what was a *dbg() message does not indicate and error condition.
2016-06-13 08:45:54 -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
b0458e36da
configs/: Remove references to non-existent SPI_VERBOSE setting
2016-06-12 17:57:12 -06:00
Gregory Nutt
a5457987d8
configs/: Change some err() ERRORS to warn() WARNINGS or info()
2016-06-12 17:02:46 -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
e891a33c2e
Completely trivial changes from review of last PR
2016-06-10 14:59:53 -06:00
Gregory Nutt
525557c098
Merged in kfazz/nuttx/kinetis_pwm (pull request #50 )
...
kinetis pwm support
2016-06-10 14:54:19 -06:00
Lok Tep
4d8cc9f528
serial + chip id
2016-06-10 12:05:32 +02:00
Lok Tep
6ea61306b6
Merge remote-tracking branch 'remotes/parent/master'
2016-06-10 09:10:07 +02:00
kfazz
7df66c5654
register each enabled timer
2016-06-10 01:11:44 -04:00
Lok Tep
073c62d7f0
try more opts
2016-06-10 00:10:35 +02:00
Gregory Nutt
df5a2105cd
CC3200 Launchpad: Should not include apps/nsh.h; also fix a warning
2016-06-09 11:25:52 -06:00
kfazz
00c02fde62
Teensy 3.x FTM pin definitions.
2016-06-09 13:08:35 -04:00
Gregory Nutt
8c9bc6da79
Trivial changes from review of last PR
2016-06-09 09:39:41 -06:00
Gregory Nutt
2dbd6b3d99
Merged in kfazz/nuttx (pull request #45 )
...
Teensy clock fixes.
2016-06-09 09:36:30 -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
David Sidrane
05e1f25678
Fix timer input clock definitions
2016-06-09 08:29:55 -06:00
Gregory Nutt
02fd8ecd41
Refresh Configuration
2016-06-09 08:25:16 -06:00
Lok Tep
f12f115598
rename back without f7
2016-06-09 15:48:07 +02:00
kfazz
0c13208d87
Teensy clock fixes.
...
The High Gain bit in MCG_C1 was preventing teensy from booting
except after a programming session. The second change doesn't appear
to change any functionality, but complies with restrictions in the k20
family reference manual on FEI -> FBE clock transiions.
2016-06-09 00:41:01 -04:00
Gregory Nutt
982982d62b
Eliminate some warnings
2016-06-08 09:43:54 -06:00
David Sidrane
86b29dc64c
Updated configs/Kconfig
2016-06-08 08:02:32 -06:00
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
Lok Tep
88b51683bb
bus busy timeout, errata
2016-06-05 11:43:06 +02: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
Lok Tep
82cd44dbc5
adc i2c_reset
2016-06-03 17:19:22 +02: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
pkolesnikov
beb6acc798
timer copy
2016-06-02 12:09:42 +02:00
ziggurat29
3970c98daf
Merge branch 'master' into stm32l4_usb
2016-05-30 13:52:45 -05:00
Gregory Nutt
5ef3e3e215
Replace confusing references to uIP with just 'the network'
2016-05-30 11:52:07 -06:00
Lok Tep
c00bb5d4a7
i2c
2016-05-27 00:16:55 +02: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
Lok Tep
4c96755219
Merge remote-tracking branch 'origin/master'
2016-05-24 23:23:57 +02:00
Gregory Nutt
4b3e710af6
Add an argument to board_app_initialize()
2016-05-24 10:51:22 -06:00
unknown
c89a5494b8
spi, copy
2016-05-24 16:57:39 +01: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
pkolesnikov
7630b9db5d
i2c copy
2016-05-23 15:56:56 +02:00
Gregory Nutt
1bb9c1fa39
Update README
2016-05-23 07:55:25 -06:00
pkolesnikov
5e8d2347ac
copy nucleo-144 to stm32f746-ws
2016-05-23 15:05:56 +02: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
ziggurat29
aa51ace46d
initial code for USB OTG support in STM32L4. Builds, but needs debugging.
2016-05-14 08:15:48 -05: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