]> git.sur5r.net Git - freertos/blobdiff - FreeRTOS/Demo/CORTEX_A53_64-bit_UltraScale_MPSoC/RTOSDemo_A53/src/main.c
Previously the MPSoC Cortex-A53 demo was updated to the latest Xilinx SDK tools to...
[freertos] / FreeRTOS / Demo / CORTEX_A53_64-bit_UltraScale_MPSoC / RTOSDemo_A53 / src / main.c
index 7fb7f4d1ddd5e5d14203eb506204629c9f59b259..add2deb496045a495da032f3c9229c125e3d87d4 100644 (file)
  */\r
 \r
 /******************************************************************************\r
+ *\r
+ * See http://www.FreeRTOS.org/RTOS-Xilinx-UltraScale_MPSoC_64-bit.html for\r
+ * additional information on this demo.\r
+ *\r
  * NOTE 1:  This project provides two demo applications.  A simple blinky\r
  * style project, and a more comprehensive test and demo application.  The\r
  * mainSELECTED_APPLICATION setting in main.c is used to select between the two.\r
  * NOTE 2:  This file only contains the source code that is not specific to\r
  * either the simply blinky or full demos - this includes initialisation code\r
  * and callback functions.\r
+ *\r
+ * NOTE 3:  This project builds the FreeRTOS source code, so is expecting the\r
+ * BSP project to be configured as a 'standalone' bsp project rather than a\r
+ * 'FreeRTOS' bsp project.  However the BSP project MUST still be build with\r
+ * the FREERTOS_BSP symbol defined (-DFREERTOS_BSP must be added to the\r
+ * command line in the BSP configuration).\r
  */\r
 \r
 /* Standard includes. */\r
@@ -95,6 +105,9 @@ XScuGic xInterruptController;
 \r
 int main( void )\r
 {\r
+       /* See http://www.FreeRTOS.org/RTOS-Xilinx-UltraScale_MPSoC_64-bit.html for\r
+       additional information on this demo. */\r
+\r
        /* Configure the hardware ready to run the demo. */\r
        prvSetupHardware();\r
 \r
@@ -253,3 +266,15 @@ void vMainAssertCalled( const char *pcFileName, uint32_t ulLineNumber )
        for( ;; );\r
 }\r
 \r
+void *____memset(void *str, int c, size_t n)\r
+{\r
+size_t x;\r
+uint8_t *puc = ( uint8_t * ) str;\r
+\r
+       for( x = 0; x < c; x++ )\r
+       {\r
+               puc[ x ] = ( uint8_t ) c;\r
+       }\r
+\r
+       return str;\r
+}\r