Able to compile a sample standalone project on mac #17
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
without having any mcu or display.
makes debugging easy on a desktop
defines a headless config similar to arduino.inl
Yo might be interested in the few
#ifdef ESP_PLATFORM
in FastEPD.inl
and the definitions iin headless.<h,cpp> that allow to not depend on espidf or arduino.
The sample is adapted from the same one in Arduino and complies with
clang -g antialias_font.cpp ../../../src/FastEPD.cpp ../../../src/Group5.cpp ../../../src/headless.cpp -I ../../../src -D HEADLESS -o antialias_font
it generates a PGM ! from the frame buffer.
this PR is marked as WIP, I am not sure you will be interested in the principle of using the library on the desktop.
If you like the idea, you certainly will trash this PR and start clean...
I have a number of issues, but §i am not sure some of them are linked to my code and my limited knowledge of FastEPD internals.
As it is now, FastEPD is a very good, versatile and feature packed library, with a clean design.