ReadMe.txt 2.8 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859606162636465666768697071
  1. /*****************************************************************************
  2. * @file ReadMe.txt
  3. * @brief Explanation how to use the Device folder and template files
  4. * @version V3.0.4
  5. * @date 20. January 2021
  6. *****************************************************************************/
  7. Following directory structure and template files are given:
  8. - <Vendor>
  9. |
  10. +-- <Device>
  11. |
  12. +-- Include
  13. | +-- Template only Armv8-M/v8.1-M TrustZone
  14. | | +- partition_<Device>.h Secure/Non-Secure configuration
  15. | +- <Device>.h header file
  16. | +- system_<Device>.h system include file
  17. +-- Source
  18. |
  19. +- startup_<Device>.c C startup file file
  20. +- system_<Device>.c system source file
  21. |
  22. +-- ARM Arm ARMCLang toolchain
  23. | +- startup_<Device>.s ASM startup file for ARMCC (deprecated)
  24. | +- startup_<Device>.S ASM startup file for ARMCLang (deprecated)
  25. | +- <Device>.sct Scatter file
  26. |
  27. +-- GCC Arm GNU toolchain
  28. | +- startup_<Device>.S ASM startup file (deprecated)
  29. | +- <Device>.ld Linker description file
  30. |
  31. +-- IAR IAR toolchain
  32. +- startup_<Device>.s ASM startup file
  33. Copy the complete folder including files and replace:
  34. - folder name 'Vendor' with the abbreviation for the device vendor e.g.: NXP.
  35. - folder name 'Device' with your specific device name e.g.: LPC17xx.
  36. - in the filenames 'Device' with your specific device name e.g.: LPC17xx.
  37. The template files contain comments starting with 'ToDo: '
  38. There it is described what you need to do.
  39. The template files contain following placeholder:
  40. <Device>
  41. <Device> should be replaced with your specific device name.
  42. e.g.: LPC17xx
  43. <DeviceInterrupt>
  44. <DeviceInterrupt> should be replaced with a specific device interrupt name.
  45. e.g.: TIM1 for Timer#1 interrupt.
  46. <DeviceAbbreviation>
  47. <DeviceAbbreviation> should be replaced with a dedicated device family
  48. abbreviation (e.g.: LPC for LPC17xx device family)
  49. Cortex-M#
  50. Cortex-M# can be replaced with the specific Cortex-M number
  51. e.g.: Cortex-M3
  52. Note:
  53. Template files (i.e. startup_Device.s, system_Device.c) are application
  54. specific and therefore expected to be copied into the application project
  55. folder prior to use!