Adding new Kinetis flash driver with target for K64FN1M0.

- New flash driver sources added. Will probably be moved to a location
  where it can be shared with bootloader.
- CMSIS plus extension register definition headers for Kinetis, required
  by flash driver.
- The modified flash algo implementation is in FlashPrg_new.c.
- MKXX.uvproj updated with new target for K64FN1M0 flash algo.
- Updated flash blob for K64.
- Added .gitignore in MKXXX directory.
Added some patterns to gitignore files.

- JLink ini and log files.
- Output directories created by MDK.
- Tags files.
Merge branch 'dev_k64f_interface' into dev_new_kinetis_flash_driver

* dev_k64f_interface:
  New script to automate building of all projects.
  Fixed interface projects.
  Serialize access to the uart driver calls
  Fix non posix compliant include paths
  Support for TWR-KL25Z48M board.
  Add newline at end of gitignore
  Properly set tx_in_progress flag
  Enabled .s19 and .bin generation for all Kinetis interface targets.
  Fixed .s19 output filenames for KL02 and KL26 interface targets.
  Corrected KL26 flash blob.
  KL02 and KL26 Freedom board support.
  Initial commit for fixing K20 UART
  Use project local usb.h
  Update top level gitignore with cscope and ctags files

Conflicts:
	.gitignore
New flash driver for all Freedom boards.

- Completely replaced old C90TFS flash driver with new driver and
  project that builds the flash algos for specific part numbers.
- Updated register headers.
- Renamed FlashPrg.c to flash_algo.c.
- Removed FlashDev.c and corresponding section in Target.lin.
- Few minor changes to flash driver to support FTFL variant of the
  flash controller used on the K20.
- Changed flash_command_sequence() to disable interrupts itself during
  the flash command operation.
- Updated flash_features.h with missing part numbers.
- Changed flash blobs for all debug targets to use new flash driver.
- Added readme in DBG_Freescale folder with list of CPU part numbers
  used on the different Freedom boards.
Commonized Kinetis target flash routines.

- Moved declarations for target flash API to target_flash_common.h.
- Moved implementation for target flash API to target_flash_common.c.
- target_flash.h files now only have the sector size and auto-increment
  page size constants.
- There are new target_flash.inc files for each debug target that have
  the flash blob and TARGET_FLASH struct. These .inc files are included
  by target_flash_common.c, rather than have them as .c files, mostly to
  simplify the project file.
- Updated interface project file with new sources, and added the
  DBG_Freescale/common directory as an include path.

Signed-off-by: Chris Reed <flit@me.com>
Updated common CMSIS headers to latest versions.

Signed-off-by: Chris Reed <flit@me.com>
Minor updates to DAP source to match official release.
Moved Kinetis flash driver to shared directory.

- Moved flash driver to shared/flash_algo/TARGET_Freescale.
- Moved register headers to shared/cmsis/TARGET_Freescale.
- Removed duplicate CMSIS core headers.
- Updated MKXX.uvproj with new include paths.
- Fixed misspelled MK64FN1M0 target name in build.py.
- Added a bash script to generate all of the Kinetis flash blobs in
  a single run.
- Added *.txt to MKXXX directory .gitignore, to ignore the flash blob
  output text files.
- Updated debug target flash blobs with latest build. Still needs testing.

Signed-off-by: Chris Reed <flit@me.com>
Commented gen_flash_algos.sh script.
Updated Kinetis flash driver to latest version.

Signed-off-by: Chris Reed <flit@me.com>
Changed K20 bootloader to use new flash driver.

- Renamed flash.h/c in bootloader to flash_hal.h/c, and renamed flash
  HAL routines to have a flash_hal_ prefix, to prevent symbol name
  clashes between the bootloader's flash HAL and the Kinetis flash
  driver.
- Fixed a couple warnings about set but unused variables in usbd_user_msc.c.
- Removed old C90TFS flash driver from bootloader HAL.
- Reimplemented bootloader flash HAL to use new flash driver.
- k20dx128 project file updates.
- Set --c99 option on usbd_user_msc.c in lpc11u35 project to get it to
  build, but there are now link errors.

Signed-off-by: Chris Reed <flit@me.com>
Added doc directories with Doxygen config files.

- Doxy config files are set up to generate and use tags files, but
  there seem to be bugs in Doxygen that prevent links between the
  html output from working.
Proposed changes to flash_algo_gen.py
Merge pull request #33 from embeddedartists/tool_changes

Proposed changes to flash_algo_gen.py
Reverting commit f7633ba as it has broken CMSIS-DAP debugging.
Remove semihosting as being enabled by default. Update to mass erase for Kinetis devices. Single startup file for all K20DX128 builds. Project file changes to output dir and may break concatenate.py
Add SYSRESETREQ option, fix JTAG I/O, LPC4330 flash_algo
Merge pull request #34 from sg-/master

Remove semihosting as being enabled by default. Update to mass erase for...
Keil fixed for USB.
Cleaned up target_flash.inc files.

- Also changed flash driver calls to pass 1 for erase size instead
  of the sector size, to ensure a single sector is erased.
- Some minor project updates.

Signed-off-by: Chris Reed <flit@me.com>