nucleo-144-f767-netnsh: Add ethernet config
* nucleo-f767zi: Use on board USB UART as default console
Board is powered by USB which can be used as UART link for upload and console
Previously it was set to use Arduino shield which developer may not have,
Change-Id: If3c1e3a71b4af0ca5f842f70e8b4dd2701bd4155
Signed-off-by: Philippe Coval <p.coval@samsung.com>
* nucleo-144-f767-netnsh: Add ethernet config
Based on nsh's config
plus stm32f769i-disco/nsh-ethernet
(which should be renamed to align netnsh)
Usage:
mount -t procfs /proc ; ifconfig -a
mkdir /tmp ; mount -t tmpfs /tmp
ifdown eth0
ifconfig eth0 hw 00:80:E1:34:ff:ff; ifconfig
ifup eth0; renew eth0 ; ifconfig
ping 8.8.8.8 ; ping ifconfig.me
cd /tmp/ ; wget http://ifconfig.me/ip ; cat ip
Change-Id: If7da7f33da8676726c42bce41077faf956b99701
Signed-off-by: Philippe Coval <p.coval@samsung.com>
Approved-by: GregoryN <gnutt@nuttx.org>
many locations: Change occurences of open() followed by file_detach() to file_open(). Change most non-controversion calls to open() to nx_open().
fs/inode/fs_fileopen.c: Flesh out file_open() with some interim, placeholder logic.
fs/inode/fs_fileopen.c: Add a framework for a file_open() implementation (no real logic in place yet).
fs/vfs/fs_open.c: Add nx_open() which is the same as open() except that it does not create a cancellation point nor does it modify the errno variable.
Squashed commit of the following:
configs/*/README.txt: Replace each occurrence of './configure.sh' with 'tools/configure.sh'
configs/*/README.txt: Remove 'cd ..' after each './configure.sh'
configs/*/README.txt: Remove 'cd -' after each './configure.sh'
configs/*/README.txt: Remove 'cd tools' before each './configure.sh'
configs/README.txt: Remove instruction to CD tools/ before running configure.sh.
sched/: Convert legitimate uses of task_create() to nxtask_create(). Review handling of returned values from all uses of kthread_create() (as well as nxtask_create()).
graphics/: Review return values for all calls to kthread_start() because it no longer returns an errno.
drivers/: threads started by drivers should be kernel threads, not user tasks. Review return values for all calls to kthread_start() because it no longer returns an errno.
configs/: threads started by board bringup logic should be kernel threads, not user tasksi (part 2 of 2).
sched/task: Add nxtask_create(). Kthread_create() and nxtask_create() are internal OS functions and should not modify the errno variable. configs/: threads started by board bringup logic should be kernel threads, not user tasks.