1
0
mirror of https://github.com/FreeRTOS/FreeRTOS.git synced 2025-08-14 10:32:42 +08:00

Very minor changes to the EFM32 Giant and Pearl Geckos demos in preparation for pre-release of the projects.

This commit is contained in:
Richard Barry
2016-03-18 19:40:03 +00:00
parent 60537ce7cb
commit 283bc18d23
6 changed files with 5 additions and 6 deletions
FreeRTOS/Demo
CORTEX_EFM32_Giant_Gecko_Simplicity_Studio
CORTEX_EFM32_Pearl_Gecko_Simplicity_Studio/Full_Demo
MB96340_Softune/FreeRTOS_96348hs_SK16FX100PMC/Src/utility

@ -101,4 +101,5 @@
<autodiscovery enabled="true" problemReportingEnabled="true" selectedProfileId=""/> <autodiscovery enabled="true" problemReportingEnabled="true" selectedProfileId=""/>
</scannerConfigBuildInfo> </scannerConfigBuildInfo>
</storageModule> </storageModule>
<storageModule moduleId="refreshScope"/>
</cproject> </cproject>

@ -145,7 +145,7 @@
/* The period after which the check timer will expire, in ms, provided no errors /* The period after which the check timer will expire, in ms, provided no errors
have been reported by any of the standard demo tasks. ms are converted to the have been reported by any of the standard demo tasks. ms are converted to the
equivalent in ticks using the portTICK_PERIOD_MS constant. */ equivalent in ticks using the portTICK_PERIOD_MS constant. */
#define mainNO_ERROR_CHECK_TASK_PERIOD ( 3000UL / portTICK_PERIOD_MS ) #define mainNO_ERROR_CHECK_TASK_PERIOD pdMS_TO_TICKS( 3000UL )
/* The period at which the check timer will expire, in ms, if an error has been /* The period at which the check timer will expire, in ms, if an error has been
reported in one of the standard demo tasks. ms are converted to the equivalent reported in one of the standard demo tasks. ms are converted to the equivalent

@ -67,8 +67,6 @@
1 tab == 4 spaces! 1 tab == 4 spaces!
*/ */
#warning Not functioning correctly above -O1 optimisation level.
/* Standard includes. */ /* Standard includes. */
#include "limits.h" #include "limits.h"

@ -145,7 +145,7 @@
/* The period after which the check timer will expire, in ms, provided no errors /* The period after which the check timer will expire, in ms, provided no errors
have been reported by any of the standard demo tasks. ms are converted to the have been reported by any of the standard demo tasks. ms are converted to the
equivalent in ticks using the portTICK_PERIOD_MS constant. */ equivalent in ticks using the portTICK_PERIOD_MS constant. */
#define mainNO_ERROR_CHECK_TASK_PERIOD ( 3000UL / portTICK_PERIOD_MS ) #define mainNO_ERROR_CHECK_TASK_PERIOD pdMS_TO_TICKS( 3000UL )
/* The period at which the check timer will expire, in ms, if an error has been /* The period at which the check timer will expire, in ms, if an error has been
reported in one of the standard demo tasks. ms are converted to the equivalent reported in one of the standard demo tasks. ms are converted to the equivalent

@ -137,7 +137,7 @@ void vUtilityStartTraceTask( unsigned portBASE_TYPE uxPriority )
{ {
portENTER_CRITICAL(); portENTER_CRITICAL();
InitUart0(); InitUart0();
portENTER_CRITICAL(); portEXIT_CRITICAL();
xTaskCreate( vUART0Task, "UART1", configMINIMAL_STACK_SIZE * 3, ( void * ) NULL, uxPriority, &UART_TaskHandle ); xTaskCreate( vUART0Task, "UART1", configMINIMAL_STACK_SIZE * 3, ( void * ) NULL, uxPriority, &UART_TaskHandle );
} }
} }