Create a PDF on an STM32

For Flowcode users to discuss projects, flowcharts, and any other issues related to Flowcode 8.

Moderator: Benj

Post Reply
Kisen
Posts: 73
Joined: Fri Jan 24, 2020 10:38 am
Has thanked: 4 times
Been thanked: 2 times

Create a PDF on an STM32

Post by Kisen »

Hi,

I am beginning a new project and am looking at hardware resource requirements.

There are 2 aspects that i dont believe flowcode currently covers.

The first would be internal mass storage, I want the STM32 to look like a USB drive.
The second is the compiling of a PDF file that is created within the drive so that the user can open the data.

The PDF creation is a strange one, i dont seem to be able to find much on how its done, but here are companies using this in their products.

Any ideas on either of these topics within flowcode?

Thanks

User avatar
Benj
Matrix Staff
Posts: 15312
Joined: Mon Oct 16, 2006 10:48 am
Location: Matrix TS Ltd
Has thanked: 4803 times
Been thanked: 4314 times
Contact:

Re: Create a PDF on an STM32

Post by Benj »

Hello,

Some information here on the PDF file format. Looks like it might be a lot of work to do it yourself without using a library.
https://stackoverflow.com/questions/141 ... obe-or-iso

As for using the internal Flash and USB, this has not currently been covered by Flowcode but should all be possible using the ST HAL examples inside of Flowcode. You may also be able to use external flash such as an SD card or other NVM memory to store the file.

stefan.erni
Valued Contributor
Valued Contributor
Posts: 654
Joined: Fri Aug 19, 2016 2:09 pm
Location: switzerland
Has thanked: 182 times
Been thanked: 179 times

Re: Create a PDF on an STM32

Post by stefan.erni »

Hi Kisen

Instead of a pdf you can maybe create a csv file .This is an excel file and is very, very easy to create.
I also suspect an HTML file would be easy to create.
regards

Stefan

Post Reply