]> git.sur5r.net Git - freertos/blob - FreeRTOS/Demo/CORTEX_M7_SAMV71_Xplained/libboard_samv7-ek/resources/IAR/samv7-ek-flash.mac
Update version number ready for V8.2.1 release.
[freertos] / FreeRTOS / Demo / CORTEX_M7_SAMV71_Xplained / libboard_samv7-ek / resources / IAR / samv7-ek-flash.mac
1 // ---------------------------------------------------------\r
2 //   ATMEL Microcontroller Software Support  -  ROUSSET  -\r
3 // ---------------------------------------------------------\r
4 // The software is delivered "AS IS" without warranty or\r
5 // condition of any  kind, either express, implied or\r
6 // statutory. This includes without limitation any warranty\r
7 // or condition with respect to merchantability or fitness\r
8 // for any particular purpose, or against the infringements of\r
9 // intellectual property rights of others.\r
10 // ---------------------------------------------------------\r
11 //  User setup file for CSPY debugger.\r
12 // ---------------------------------------------------------\r
13 \r
14 /*********************************************************************\r
15 *\r
16 *       execUserReset()\r
17 */\r
18 execUserReset()\r
19 {\r
20     __message "------------------------------ execUserReset ---------------------------------";\r
21     __message "-------------------------------Set PC Reset ----------------------------------";\r
22 \r
23     __hwReset(0);\r
24 \r
25     // peripheral reset RSTC_CR\r
26     __writeMemory32(0xA5000004,0x400e1400,"Memory");\r
27 }\r
28 \r
29 /*********************************************************************\r
30 *\r
31 *       execUserPreload()\r
32 */\r
33 execUserPreload()\r
34 {\r
35     __message "------------------------------ execUserPreload ---------------------------------";\r
36 \r
37     __hwReset(0);                          //* Hardware Reset: CPU is automatically halted after the reset\r
38 \r
39     // peripheral reset RSTC_CR\r
40     __writeMemory32(0xA5000004,0x400e1400,"Memory");\r
41 }\r