2020-04-03 07:39 AM
2020-04-03 07:59 AM
PDF is a beast of a format (fonts, multimedia, compression, encryption, etc..), I don't think there will be a lightweight enough library without heavy external dependencies to generate PDFs in a microcontroller.
Maybe you can try libharu, no warranties though, it requires zlib and pnglib, but thankfully the requirement seems to be optional.
2020-04-03 08:15 AM
Thank you @After Forever . For now, the only option seems to generate the file line by line so that a small amount of the file is in memory at any point in time.
2020-04-03 09:30 AM
A STM32MP157C-DK2 + PC with Ubuntu 18.04 + STM32 Dev software + a few hours to bake and you'll have it!