/*
 * @brief Startup file for SPIFI programmer example
 *
 * @note
 * Copyright(C) NXP Semiconductors, 2013
 * All rights reserved.
 *
 * @par
 * Software that is described herein is for illustrative purposes only
 * which provides customers with programming information regarding the
 * LPC products.  This software is supplied "AS IS" without any warranties of
 * any kind, and NXP Semiconductors and its licensor disclaim any and
 * all warranties, express or implied, including all implied warranties of
 * merchantability, fitness for a particular purpose and non-infringement of
 * intellectual property rights.  NXP Semiconductors assumes no responsibility
 * or liability for the use of the software, conveys no license or rights under any
 * patent, copyright, mask work right, or any other intellectual property rights in
 * or to any products. NXP Semiconductors reserves the right to make changes
 * in the software without notification. NXP Semiconductors also makes no
 * representation or warranty that such application will be suitable for the
 * specified use without further testing or modification.
 *
 * @par
 * Permission to use, copy, modify, and distribute this software and its
 * documentation is hereby granted, under NXP Semiconductors' and its
 * licensor's relevant copyrights in the software, without fee, provided that it
 * is used in conjunction with NXP Semiconductors microcontrollers.  This
 * copyright, permission, and disclaimer notice must appear in all copies of
 * this code.
 */

/** @defgroup EXAMPLES_MISC_18XX43XX_SPIFI_PROGRAMMER LPC18xx/43xx SPIFI Flash programmer example
 * @ingroup EXAMPLES_MISC_18XX43XX
 * <b>Example description</b><br>
 * This example demonstrates programming of the SPI flash using the SPIFI interface.
 * The program will run in the SPIFI flash and will relocate the programmer to iram
 * when the SPI flash is being programmed. The program can be run in two ways, the
 * first and the default is *having #USE_SPIFI_LIB defined* so that the code makes use
 * of the functions provided by the spifi_*.lib and the functions in the lib will be
 * relocated to IRAM before execution, the second one is *having #USE_SPIFI_LIB
 * not defined* which will make direct calls to the boot ROM function pointers and will not
 * use any library calls hence no relocation will be done as the code directly executes
 * from the Boot ROM area.<br>
 * By default the program writes 256 bytes of data starting from hex 00 to
 * hex FF to #SPIFI_WRITE_SECTOR_OFFSET<br>
 *
 * UART needs to be setup prior to running the example as the example produces the output
 * to the UART console. If LED1 is ON then the programming is successful, if LED2 is ON then
 * the programming has failed.<br>
 *
 * <b>Special connection requirements</b><br>
 * There are no special connection requirements for this example.<br>
 *
 * <b>Supported boards and board setup:</b><br>
 * @ref LPCOPEN_18XX_BOARD_HITEX1850<br>
 * @ref LPCOPEN_43XX_BOARD_HITEX4350<br>
 * @ref LPCOPEN_18XX_BOARD_KEIL1857<br>
 * @ref LPCOPEN_43XX_BOARD_KEIL4357<br>
 * @ref LPCOPEN_18XX_BOARD_NGX1830<br>
 * @ref LPCOPEN_43XX_BOARD_NGX4330<br>
 *
 * <b>Submitting LPCOpen issues:</b><br>
 * @ref LPCOPEN_COMMUNITY
 * @{
 */

/**
 * @}
 */
