Skip to content
Paul Freund edited this page Jul 27, 2023 · 1 revision

Development

What IDE choices do I have

At the beginning e2 from Reneasas was the only available IDE for building and developing including debugging building with GCC9. Since then the ./dbt command has been introduced which automatically installs the required toolchain for building and debugging from the command line (see ./dbt --help). In addition the project has a .vscode folder that includes everything you need to write code, build and debug with Visual Studio Code. With a little bit of work and maybe some compromise most IDEs should work fine now though.

What about STL code

Unfortunately most of STL code, especially the containers rely heavily on templating which means for every type they are instantiated all the used functions including constructor and destructor are placed in the flash image. This flash image is later placed in RAM to have faster access times which means we need to be extra careful. Tools like https://godbolt.org/ help you decide what tradeoffs might be worth it.