Comments (3)
For toml11, there isn't.
Actually, I'm not familiar with Arduino, so I totally don't have any idea about this. Sorry.
If you have any idea to get rid of the difficulty, PRs and suggestions are welcome.
from toml11.
I was just curious. I don't have the skill to make something of that nature myself. Otherwise I would have. I just stumbled across TOML and I like its features and when I looked around I didn't see arduino support. Arduino uses C++ but I don't know enough about the differences in infrastructure to be able to port something like this to it.
from toml11.
Well I do have some skills, just enough to make it work, not wholly understanding the process though 😅
Some tips for people stumbling across this - i used platformio with Arduino framework to make it work:
- Arduino core for esp32 uses GCC 8.4.0, which could not compile the library at the start. I had to provide a little patch (branched from 3.7.0, I don't think worth merging upstream)
- This library is enormous (measuring in code size) compared to usual arduino libraries, in my case the compiled binary wouldn't fit into the default flash layout (with 2 flash banks for OTA update). Can be fixed by setting:
board_build.partitions = huge_app.csv
- Tomls tend to be big. The main arduino setup-loop has stack size only 8k or so, and it's hardcoded into arduino core. In my case I moved toml config handling to a separate task like this:
xTaskCreate( TomlTask, "toml task",
65536, NULL, 6, NULL );
- Platformio can natively include this lib, by simply putting it as one of the dependencies. You can do it like this (my fork compiles fine)
lib_deps =
[...]
https://github.com/cr1tbit/toml11.git#cbd4df71a9f853c50baeedf31c9a106e11409a19
https://github.com/cr1tbit/antController-fw for reference how to make it work
from toml11.
Related Issues (20)
- Cannot iterate over sub tables of an inline table HOT 2
- How can I check if an array has an homogeneous set of values? HOT 2
- Examples use C++ 17 syntax HOT 1
- Serialization issue with floating values and locale HOT 1
- TOML11_DEFINE_CONVERSION_NON_INTRUSIVE save files HOT 2
- I'd like to retrieve uint64_t that exceed the range of int64_t
- New version? HOT 3
- Weird serialization issue with strings that are file paths HOT 1
- Building with C++20 and the following error is triggered HOT 1
- When trying to use your tests / examples, there are no `*.toml` files in the repo HOT 1
- force arrays to be inline
- Warning: Moving a temporary object prevents copy elison with g++ 13.2.1 HOT 1
- Different `strerror_r` function usage HOT 7
- strerror_r returns int in emscripten HOT 2
- toml::parse() sould be able to read everything that serializer outputs HOT 1
- User-defined error messages and generic hints HOT 1
- User-defined error messages conflict with built-in hints HOT 1
- `toml::format` returns the wrong floating value HOT 2
- Preserve hex number format HOT 1
- Requiring CMAKE_CXX_STANDARD is a bug, not a feature
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from toml11.