Unverified Commit 88d213a3 authored by Earle F. Philhower, III's avatar Earle F. Philhower, III Committed by GitHub

Additional FreeRTOS adjustments (#555)

Use low power WFE when idle.

Set PORT.C to built `-O0` always because it seems to occasinally end
up with interrupts disabled in task code, causing the SYSTICK never to
fire and killing task switching.

No need for dynamic exceptions.  We don't move the execbase.
parent 189b7964
Subproject commit 6668d41acd8fb9cd8b78255ebff1ab346b1ad357
Subproject commit 1af47324849c0ac62202554f2879f2656187e834
......@@ -113,7 +113,7 @@ command interpreter running. */
#define configCOMMAND_INT_MAX_OUTPUT_SIZE 2048
#define configUSE_DYNAMIC_EXCEPTION_HANDLERS 1
#define configUSE_DYNAMIC_EXCEPTION_HANDLERS 0
#define configSUPPORT_PICO_SYNC_INTEROP 1
#define configSUPPORT_PICO_TIME_INTEROP 1
......
// Port.c seems to leave interrupts disabled occasionally when built w/anything other than -O0
#pragma GCC optimize ("O0")
#include "../lib/FreeRTOS-Kernel/portable/ThirdParty/GCC/RP2040/port.c"
......@@ -163,7 +163,7 @@ void vApplicationIdleHook( void ) __attribute__((weak));
void vApplicationIdleHook( void )
{
//__wfe(); // Low power idle if nothing to do...
__wfe(); // Low power idle if nothing to do...
}
#endif /* configUSE_IDLE_HOOK == 1 */
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment