jkent / frogfs

Fast Read-Only General-purpose File System (ESP-IDF and ESP8266_RTOS_SDK compatible)
https://frogfs.readthedocs.io
Mozilla Public License 2.0
25 stars 32 forks source link

how to use with VSCode + Platform.io? #52

Closed hoeken closed 10 months ago

hoeken commented 12 months ago

This looks like a great library/project. However, I'm using VSCode and Platform.io and not cmake. Any idea on how I would go about integrating this?

jkent commented 12 months ago

What device are you targeting? If you're targeting ESP32, Platform.io should be using the IDF CMake build system behind the scenes. You should be able to create a components directory within your project and checkout the FrogFS there. Once I release the next branch, FrogFS will be put on the Espressif component registry, which may integrate with Platform.io easier. Also, note that you must be using IDF version 5.0 or greater. Let me know if you need further direction.

hoeken commented 12 months ago

Yes, I'm using esp32. I'll take a look at that, thanks.

jkent commented 10 months ago

Hi @hoeken. FrogFS has now landed in the IDF component repository as jkent/frogfs. Do you still need help?

hoeken commented 10 months ago

Hey, thanks for reaching out. I ended up solving my issue with a gulp file that compresses all my html, css, js, and images into a single file, and turns that into an #include-able header. https://github.com/hoeken/yarrboard-firmware/blob/main/gulpfile.mjs

Its working very nicely so far and solves my main issue of wanting a single .bin file for easy and fail-safe OTA updates.