Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Support of the LGT8F328 MCU using Timer 3 for tick generation #121

Open
wants to merge 5 commits into
base: master
Choose a base branch
from

Conversation

gpb01
Copy link

@gpb01 gpb01 commented Sep 1, 2023

Library version with support for MCU LGT8F328 using Timer 3 for tick generation.

In the FreeRTOSVariant.h file, you need to uncomment the line containing "#define portUSE_LGT_TIMER3" (line 58) to generate the code for the above MCU.

Guglielmo

P.S.: the "doc" folder also included a file named "tick_sources_lgt_timer3.cpp" (written following the example of tick_sources_timer0.cpp), but I don't know how to use it.

Add support for LGT8F328 using Timer 3 for the scheduler ticks.
Small correction to add an include.
@gpb01
Copy link
Author

gpb01 commented Sep 1, 2023

A small note:

... porting the library to an MCU with only 2 KB of SRAM is more of an exercise in figuring out how to port to a specific MCU than a really useful thing. Just like on the Arduino UNO R3, on the LGT8F328, it is practically impossible to use FreeRTOS™ for a real application because of the lack of SRAM... honestly, what you can do, is a small demonstration program that shows how it works, but nothing more. :-\

Guglielmo

@feilipu feilipu mentioned this pull request Jan 2, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

2 participants