freedom-k64f: Add renew DHCP client for netnsh

Also enable ifup, use USB console and create raw image.

Windows is not mandatory, I use linux as host
so defconfig can rely on defaults.

Change-Id: Ic0e5f79f28facb6eff1d9831bcb31e1ff329a5aa
Forwarded: https://github.com/apache/incubator-nuttx/pulls/rzr
Signed-off-by: Philippe Coval <rzr@users.sf.net>
This commit is contained in:
Philippe Coval 2020-10-12 16:47:25 +02:00 committed by Alin Jerpelea
parent 9e70e3580f
commit 8f9cd8832d

View File

@ -21,11 +21,10 @@ CONFIG_ETH0_PHY_KSZ8081=y
CONFIG_FS_FAT=y CONFIG_FS_FAT=y
CONFIG_FS_PROCFS=y CONFIG_FS_PROCFS=y
CONFIG_FS_PROCFS_REGISTER=y CONFIG_FS_PROCFS_REGISTER=y
CONFIG_HOST_WINDOWS=y
CONFIG_INTELHEX_BINARY=y CONFIG_INTELHEX_BINARY=y
CONFIG_KINETIS_ENET=y CONFIG_KINETIS_ENET=y
CONFIG_KINETIS_ENET_MDIOPULLUP=y CONFIG_KINETIS_ENET_MDIOPULLUP=y
CONFIG_KINETIS_UART3=y CONFIG_KINETIS_UART0=y
CONFIG_LIB_HOSTNAME="Freedom-K64F" CONFIG_LIB_HOSTNAME="Freedom-K64F"
CONFIG_MAX_TASKS=16 CONFIG_MAX_TASKS=16
CONFIG_MOTOROLA_SREC=y CONFIG_MOTOROLA_SREC=y
@ -49,13 +48,13 @@ CONFIG_NET_UDP=y
CONFIG_NFILE_DESCRIPTORS=8 CONFIG_NFILE_DESCRIPTORS=8
CONFIG_NSH_ARCHINIT=y CONFIG_NSH_ARCHINIT=y
CONFIG_NSH_BUILTIN_APPS=y CONFIG_NSH_BUILTIN_APPS=y
CONFIG_NSH_DISABLE_IFUPDOWN=y
CONFIG_NSH_FILEIOSIZE=512 CONFIG_NSH_FILEIOSIZE=512
CONFIG_NSH_LINELEN=64 CONFIG_NSH_LINELEN=64
CONFIG_NSH_READLINE=y CONFIG_NSH_READLINE=y
CONFIG_PREALLOC_TIMERS=4 CONFIG_PREALLOC_TIMERS=4
CONFIG_RAM_SIZE=131072 CONFIG_RAM_SIZE=131072
CONFIG_RAM_START=0x1fff0000 CONFIG_RAM_START=0x1fff0000
CONFIG_RAW_BINARY=y
CONFIG_RR_INTERVAL=200 CONFIG_RR_INTERVAL=200
CONFIG_SCHED_HPWORK=y CONFIG_SCHED_HPWORK=y
CONFIG_SCHED_WAITPID=y CONFIG_SCHED_WAITPID=y
@ -63,8 +62,9 @@ CONFIG_SDCLONE_DISABLE=y
CONFIG_START_DAY=25 CONFIG_START_DAY=25
CONFIG_START_MONTH=3 CONFIG_START_MONTH=3
CONFIG_START_YEAR=2013 CONFIG_START_YEAR=2013
CONFIG_SYSTEM_DHCPC_RENEW=y
CONFIG_SYSTEM_NSH=y CONFIG_SYSTEM_NSH=y
CONFIG_SYSTEM_PING=y CONFIG_SYSTEM_PING=y
CONFIG_TASK_NAME_SIZE=0 CONFIG_TASK_NAME_SIZE=0
CONFIG_UART3_SERIAL_CONSOLE=y CONFIG_UART0_SERIAL_CONSOLE=y
CONFIG_USER_ENTRYPOINT="nsh_main" CONFIG_USER_ENTRYPOINT="nsh_main"