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

pull/4/head
Richard Barry 9 years ago
parent 60537ce7cb
commit 283bc18d23

@ -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>

@ -99,7 +99,7 @@ extern "C" {
* See the comments at the top of main.c, main_full.c and main_low_power.c for * See the comments at the top of main.c, main_full.c and main_low_power.c for
* more information. * more information.
*/ */
#define configCREATE_LOW_POWER_DEMO 0 #define configCREATE_LOW_POWER_DEMO 0
/* Some configuration is dependent on the demo being built. */ /* Some configuration is dependent on the demo being built. */
#if( configCREATE_LOW_POWER_DEMO == 0 ) #if( configCREATE_LOW_POWER_DEMO == 0 )

@ -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 );
} }
} }

Loading…
Cancel
Save