Skip to content

Commit

Permalink
FNET 3.6.1
Browse files Browse the repository at this point in the history
  • Loading branch information
butok committed Sep 13, 2016
1 parent 5ece252 commit c27babe
Show file tree
Hide file tree
Showing 223 changed files with 1,234 additions and 4,149 deletions.
130 changes: 65 additions & 65 deletions fnet_demos/boards/frdmk64f/bench/kds/.cproject

Large diffs are not rendered by default.

130 changes: 65 additions & 65 deletions fnet_demos/boards/frdmk64f/boot/kds/.cproject

Large diffs are not rendered by default.

130 changes: 65 additions & 65 deletions fnet_demos/boards/frdmk64f/shell/kds/.cproject

Large diffs are not rendered by default.

130 changes: 65 additions & 65 deletions fnet_demos/boards/frdmk64f/shell_boot/kds/.cproject

Large diffs are not rendered by default.

130 changes: 65 additions & 65 deletions fnet_demos/boards/frdmk66f/bench/kds/.cproject

Large diffs are not rendered by default.

130 changes: 65 additions & 65 deletions fnet_demos/boards/frdmk66f/boot/kds/.cproject

Large diffs are not rendered by default.

130 changes: 65 additions & 65 deletions fnet_demos/boards/frdmk66f/shell/kds/.cproject

Large diffs are not rendered by default.

130 changes: 65 additions & 65 deletions fnet_demos/boards/frdmk66f/shell_boot/kds/.cproject

Large diffs are not rendered by default.

130 changes: 65 additions & 65 deletions fnet_demos/boards/twrk60d100m/bench/kds/.cproject

Large diffs are not rendered by default.

130 changes: 65 additions & 65 deletions fnet_demos/boards/twrk60d100m/boot/kds/.cproject

Large diffs are not rendered by default.

130 changes: 65 additions & 65 deletions fnet_demos/boards/twrk60d100m/shell/kds/.cproject

Large diffs are not rendered by default.

130 changes: 65 additions & 65 deletions fnet_demos/boards/twrk60d100m/shell_boot/kds/.cproject

Large diffs are not rendered by default.

68 changes: 1 addition & 67 deletions fnet_demos/common/fnet_application/fapp.c
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
/**************************************************************************
*
* Copyright 2011-2015 by Andrey Butok. FNET Community.
* Copyright 2011-2016 by Andrey Butok. FNET Community.
* Copyright 2008-2010 by Andrey Butok. Freescale Semiconductor, Inc.
*
***************************************************************************
Expand All @@ -20,10 +20,6 @@
**********************************************************************/
/*!
*
* @file fapp.c
*
* @author Andrey Butok
*
* @brief FNET Shell Demo implementation.
*
***************************************************************************/
Expand Down Expand Up @@ -296,8 +292,6 @@ static const struct boot_mode boot_modes[] =


/************************************************************************
* NAME: fapp_boot_mode_by_index
*
* DESCRIPTION:
************************************************************************/
const struct boot_mode *fapp_boot_mode_by_index (fapp_params_boot_mode_t index)
Expand All @@ -318,8 +312,6 @@ const struct boot_mode *fapp_boot_mode_by_index (fapp_params_boot_mode_t index)
}

/************************************************************************
* NAME: fapp_boot_mode_by_name
*
* DESCRIPTION:
************************************************************************/
const struct boot_mode *fapp_boot_mode_by_name (fnet_char_t *name)
Expand All @@ -340,8 +332,6 @@ const struct boot_mode *fapp_boot_mode_by_name (fnet_char_t *name)
}

/************************************************************************
* NAME: fapp_boot_mode_go
*
* DESCRIPTION:
************************************************************************/
static void fapp_boot_mode_go(fnet_shell_desc_t desc)
Expand All @@ -350,8 +340,6 @@ static void fapp_boot_mode_go(fnet_shell_desc_t desc)
}

/************************************************************************
* NAME: fapp_boot_mode_script
*
* DESCRIPTION:
************************************************************************/
static void fapp_boot_mode_script(fnet_shell_desc_t desc)
Expand All @@ -362,8 +350,6 @@ static void fapp_boot_mode_script(fnet_shell_desc_t desc)
#endif /* FAPP_CFG_BOOTLOADER */

/************************************************************************
* NAME: fapp_boot
*
* DESCRIPTION:
************************************************************************/
static void fapp_boot(fnet_shell_desc_t desc)
Expand Down Expand Up @@ -426,8 +412,6 @@ static void fapp_boot(fnet_shell_desc_t desc)
}

/************************************************************************
* NAME: fapp_reset_cmd
*
* DESCRIPTION: Reset command reboots the system.
************************************************************************/
#if FAPP_CFG_RESET_CMD || FAPP_CFG_REBOOT_CMD
Expand All @@ -444,8 +428,6 @@ static void fapp_reset_cmd( fnet_shell_desc_t desc, fnet_index_t argc, fnet_char
#endif

/************************************************************************
* NAME: fapp_debug_cmd
*
* DESCRIPTION: Print your DEBUG info.
************************************************************************/
#if FAPP_CFG_DEBUG_CMD
Expand Down Expand Up @@ -518,16 +500,12 @@ void fapp_debug_cmd( fnet_shell_desc_t desc, fnet_index_t argc, fnet_char_t **ar
fnet_printf("fnet_mempool_malloc_max %d\n", fnet_mempool_malloc_max(fnet_mempool_main));
fnet_printf("Complete\n");
}


#endif

}
#endif

/************************************************************************
* NAME: fapp_dup_ip_callback
*
* DESCRIPTION: IP address is duplicated.
************************************************************************/
#if FNET_CFG_IP4
Expand All @@ -546,8 +524,6 @@ static void fapp_dup_ip_callback( fnet_netif_desc_t netif )
#endif /* FNET_CFG_IP4 */

/************************************************************************
* NAME: fapp_init
*
* DESCRIPTION: FNET Application initialization.
************************************************************************/
static void fapp_init(void)
Expand Down Expand Up @@ -614,12 +590,9 @@ static void fapp_init(void)
{
fnet_printf(FAPP_INIT_ERR, "FNET");
}

}

/************************************************************************
* NAME: fapp_init
*
* DESCRIPTION: FNET Application release.
************************************************************************/
#if FAPP_CFG_REINIT_CMD
Expand Down Expand Up @@ -660,8 +633,6 @@ static void fapp_release(fnet_shell_desc_t desc)
#endif /* FAPP_CFG_REINIT_CMD */

/************************************************************************
* NAME: fapp
*
* DESCRIPTION: main() of the shell demo.
************************************************************************/
void fapp_main(void)
Expand All @@ -676,8 +647,6 @@ void fapp_main(void)
}

/************************************************************************
* NAME: fapp_print_netif_info
*
* DESCRIPTION: Print detailed address information about default
* network interface.
************************************************************************/
Expand Down Expand Up @@ -712,8 +681,6 @@ void fapp_print_netif_info( fnet_shell_desc_t desc, fnet_netif_desc_t netif)
}

/************************************************************************
* NAME: fapp_print_netif_addr
*
* DESCRIPTION: Print Interface IP addresses.
************************************************************************/
void fapp_print_netif_addr(fnet_shell_desc_t desc, fnet_address_family_t family, fnet_netif_desc_t netif, fnet_bool_t print_type)
Expand Down Expand Up @@ -776,8 +743,6 @@ void fapp_print_netif_addr(fnet_shell_desc_t desc, fnet_address_family_t family,
}

/************************************************************************
* NAME: fapp_print_info
*
* DESCRIPTION: Display detailed information about the stack.
************************************************************************/
static void fapp_print_info( fnet_shell_desc_t desc )
Expand Down Expand Up @@ -823,8 +788,6 @@ static void fapp_print_info( fnet_shell_desc_t desc )
}

/************************************************************************
* NAME: fapp_info_cmd
*
* DESCRIPTION: "info" command
************************************************************************/
#if FAPP_CFG_INFO_CMD
Expand All @@ -838,8 +801,6 @@ static void fapp_info_cmd( fnet_shell_desc_t desc, fnet_index_t argc, fnet_char_
#endif

/************************************************************************
* NAME: fapp_stat_cmd
*
* DESCRIPTION: "stat" command
************************************************************************/
#if FAPP_CFG_STAT_CMD
Expand Down Expand Up @@ -922,8 +883,6 @@ static void fapp_stat_cmd( fnet_shell_desc_t desc, fnet_index_t argc, fnet_char_
#endif

/************************************************************************
* NAME: fapp_shell_init
*
* DESCRIPTION: Main Shell initial function.
************************************************************************/
void fapp_shell_init( fnet_shell_desc_t desc )
Expand All @@ -948,8 +907,6 @@ void fapp_shell_init( fnet_shell_desc_t desc )
}

/************************************************************************
* NAME: fapp_go_cmd
*
* DESCRIPTION:
************************************************************************/
#if FAPP_CFG_GO_CMD
Expand Down Expand Up @@ -978,8 +935,6 @@ void fapp_go_cmd ( fnet_shell_desc_t desc, fnet_index_t argc, fnet_char_t **argv
#endif

/************************************************************************
* NAME: fapp_go
*
* DESCRIPTION: Jump to application entry point.
************************************************************************/
#if FAPP_CFG_GO_CMD || FAPP_CFG_BOOTLOADER || FAPP_CFG_SETGET_CMD_BOOT
Expand All @@ -1002,8 +957,6 @@ static void fapp_go ( fnet_shell_desc_t desc, fnet_uint32_t address )
#endif

/************************************************************************
* NAME: fapp_save_cmd
*
* DESCRIPTION: Save environment variables to persistent storage.
************************************************************************/
#if FAPP_CFG_SAVE_CMD && FNET_CFG_FLASH && FNET_CFG_CPU_FLASH
Expand All @@ -1025,8 +978,6 @@ static void fapp_save_cmd ( fnet_shell_desc_t desc, fnet_index_t argc, fnet_char
#endif

/************************************************************************
* NAME: fapp_help_cmd
*
* DESCRIPTION: Display command help.
************************************************************************/
void fapp_help_cmd ( fnet_shell_desc_t desc, fnet_index_t argc, fnet_char_t **argv )
Expand All @@ -1038,8 +989,6 @@ void fapp_help_cmd ( fnet_shell_desc_t desc, fnet_index_t argc, fnet_char_t **ar
}

/************************************************************************
* NAME: fapp_reinit_cmd
*
* DESCRIPTION: Used to test FNET release/init only.
************************************************************************/
#if FAPP_CFG_REINIT_CMD
Expand All @@ -1055,8 +1004,6 @@ void fapp_reinit_cmd ( fnet_shell_desc_t desc, fnet_index_t argc, fnet_char_t **
#endif

/************************************************************************
* NAME: fapp_bind_cmd
*
* DESCRIPTION: Binds IPv6 address to the default interface.
************************************************************************/
#if FAPP_CFG_BIND_CMD && FNET_CFG_IP6
Expand All @@ -1079,8 +1026,6 @@ static void fapp_bind_cmd( fnet_shell_desc_t desc, fnet_index_t argc, fnet_char_
#endif

/************************************************************************
* NAME: fapp_unbind_cmd
*
* DESCRIPTION: Unbinds IPv6 address from the default interface.
************************************************************************/
#if FAPP_CFG_UNBIND_CMD && FNET_CFG_IP6
Expand All @@ -1103,8 +1048,6 @@ static void fapp_unbind_cmd( fnet_shell_desc_t desc, fnet_index_t argc, fnet_cha
#endif

/************************************************************************
* NAME: fapp_exp_cmd
*
* DESCRIPTION: Start file explorer shell.
************************************************************************/
#if FAPP_CFG_EXP_CMD && FNET_CFG_FS
Expand Down Expand Up @@ -1133,12 +1076,3 @@ void fapp_addr_callback_updated(fnet_shell_desc_t desc, fnet_netif_desc_t netif)
fapp_print_netif_info( desc, netif );
}
#endif









7 changes: 1 addition & 6 deletions fnet_demos/common/fnet_application/fapp.h
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
/**************************************************************************
*
* Copyright 2011-2015 by Andrey Butok. FNET Community.
* Copyright 2011-2016 by Andrey Butok. FNET Community.
* Copyright 2008-2010 by Andrey Butok. Freescale Semiconductor, Inc.
*
***************************************************************************
Expand All @@ -19,11 +19,6 @@
*
**********************************************************************/
/*!
*
* @file fapp.h
*
* @author Andrey Butok
*
* @brief FNET Shell Demo API.
*
***************************************************************************/
Expand Down
13 changes: 0 additions & 13 deletions fnet_demos/common/fnet_application/fapp_autoip.c
Original file line number Diff line number Diff line change
Expand Up @@ -51,8 +51,6 @@ static void fapp_autoip_callback_updated(fnet_autoip_desc_t autoip_desc, fnet_ne
static void fapp_autoip_callback_probe(fnet_autoip_desc_t autoip_desc, fnet_netif_desc_t netif, void *shl_desc );

/************************************************************************
* NAME: fapp_dhcp_on_ctrlc
*
* DESCRIPTION:
************************************************************************/
static void fapp_autoip_on_ctrlc(fnet_shell_desc_t desc)
Expand All @@ -65,8 +63,6 @@ static void fapp_autoip_on_ctrlc(fnet_shell_desc_t desc)
}

/************************************************************************
* NAME: fapp_autoip_release
*
* DESCRIPTION: Releases Auto-IP server.
*************************************************************************/
void fapp_autoip_release(void)
Expand All @@ -76,8 +72,6 @@ void fapp_autoip_release(void)
}

/************************************************************************
* NAME: fapp_autoip_callback_updated
*
* DESCRIPTION: Event handler callback on new IP from Auto-IP service.
************************************************************************/
static void fapp_autoip_callback_updated(fnet_autoip_desc_t autoip_desc, fnet_netif_desc_t netif, void *shl_desc )
Expand All @@ -88,8 +82,6 @@ static void fapp_autoip_callback_updated(fnet_autoip_desc_t autoip_desc, fnet_ne
}

/************************************************************************
* NAME: fapp_autoip_callback_probe
*
* DESCRIPTION: Event handler callback on "Address probing" by Auto-IP service.
************************************************************************/
static void fapp_autoip_callback_probe(fnet_autoip_desc_t autoip_desc, fnet_netif_desc_t netif, void *shl_desc )
Expand All @@ -103,8 +95,6 @@ static void fapp_autoip_callback_probe(fnet_autoip_desc_t autoip_desc, fnet_neti
}

/************************************************************************
* NAME: fapp_autoip_cmd
*
* DESCRIPTION: Run Auto-IP service.
*************************************************************************/
void fapp_autoip_cmd( fnet_shell_desc_t desc, fnet_index_t argc, fnet_char_t **argv )
Expand Down Expand Up @@ -160,14 +150,11 @@ void fapp_autoip_cmd( fnet_shell_desc_t desc, fnet_index_t argc, fnet_char_t **a
}

/************************************************************************
* NAME: fapp_autoip_info
*
* DESCRIPTION:
*************************************************************************/
void fapp_autoip_info(fnet_shell_desc_t desc)
{
fnet_shell_println(desc, FAPP_SHELL_INFO_FORMAT_S, "AUTOIP Service", fapp_enabled_str[fnet_autoip_is_enabled(fapp_autoip_desc)]);
}


#endif /* FAPP_CFG_AUTOIP_CMD && FNET_CFG_AUTOIP && FNET_CFG_IP4 */
6 changes: 0 additions & 6 deletions fnet_demos/common/fnet_application/fapp_autoip.h
Original file line number Diff line number Diff line change
Expand Up @@ -18,16 +18,10 @@
*
**********************************************************************/
/*!
*
* @file fapp_autoip.h
*
* @author Andrey Butok
*
* @brief FNET Application Demo (Auto-IP).
*
***************************************************************************/


/************************************************************************
* Private Definitions.
*************************************************************************/
Expand Down
Loading

0 comments on commit c27babe

Please sign in to comment.