Use internal flash to store parameters to instead of eeprom, because TMR-FC have not built-in eeprom.

Signed-off-by: cctsao1008 <chiacheng.tsao@gmail.com>
Add three configurable options for CDCACM, COMPOSITE, MSC.

Signed-off-by: cctsao1008 <chiacheng.tsao@gmail.com>
Backup SRAM to emulated EEPROM.

Signed-off-by: cctsao1008 <chiacheng.tsao@gmail.com>
Sector 0 (16K) for BL, and Sector 1, 2, 3 (16K x 3) 48K for emulated EEPROM, Total Flash = 1024K (16K + 48K + 960K)

Note : Very IMPORTANT !!

Check your "ld.script" file have did the  following configurations in the path "Firmware\nuttx-configs\tmrfc-v1\scripts" !!

MEMORY
{
    /* Sector 0 (16K) for BL, and Sector 1, 2, 3 (16K x 3) 48K for
    *  emulated EEPROM, Total Flash = 1024K (16K + 48K + 960K)
    */
    flash (rx)   : ORIGIN = 0x08010000, LENGTH = 960K  <<<<<<<<<<<<<<<<<<<<<<<<<<<  Note here
    sram (rwx)   : ORIGIN = 0x20000000, LENGTH = 128K
    ccsram (rwx) : ORIGIN = 0x10000000, LENGTH = 64K
}

Signed-off-by: cctsao1008 <chiacheng.tsao@gmail.com>
Add a vbs script to do auto reboot for stress test.

Signed-off-by: cctsao1008 <chiacheng.tsao@gmail.com>
Tone alarm settings.

Signed-off-by: cctsao1008 <chiacheng.tsao@gmail.com>
EEPROM emulation using internal flash sector 1(0x0800 4000 - 0x0800 7FFF) 16K, 2(0x0800 8000 - 0x0800 BFFF) 16K, 3(0x0800 C000 - 0x0800 FFFF) 16K.

Signed-off-by: cctsao1008 <chiacheng.tsao@gmail.com>
Tone alarm loop stress test.

Signed-off-by: cctsao1008 <chiacheng.tsao@gmail.com>
EEPROM emulation jobs.

Signed-off-by: cctsao1008 <chiacheng.tsao@gmail.com>
Merge branch 'eeprom_debug' into tmr-fc