Hi Everyone, New to SourceForge, and new to FreeRTOS. I am trying to use the MingW simulator provided by the RTOS zip (under demo). Tried to run the simulation of blinky, the more basic demo, (main_blinky.c), by setting:
Apologies for this. It is because the trace recorder library is only initialized if mainCREATESIMPLEBLINKYDEMOONLY is set to 0, but still used even when it is set to 1. I have fixed this here: https://sourceforge.net/p/freertos/code/HEAD/tree/trunk/FreeRTOS/Demo/WIN32-MingW/main.c#l145 by moving the trace recorder library initialisation up so it is initialized no matter the mainCREATESIMPLEBLINKYDEMOONLY setting.
Hi Richard, Thanks for your fast response my friend! In the comments it states the tracer is optional, but looks like it’s required. I’ll read on the tracer, there is a link. I love how well this code is commented. Thanks again
I made the change and it fixed the issue. [RESOLVED] (I don’t see the resolved/solutions button here}
Copyright (C) Amazon Web Services, Inc. or its affiliates. All rights reserved.