Skip to content

Releases: esp-rs/esp-generate

v1.2.0

13 Jan 13:35
c1c3ccf

Choose a tag to compare

Added

  • Prompt user to install a missing or outdated tool (#270)
  • Show the esp-* crate versions in the help message (#276)

Fixed

  • Add .DS_Store file to .gitIgnore on mac (#285)
  • Optimize toolchain scanning and filtering process (#286)
  • Fix rust-toolchain.toml template (#282)

v1.1.0

12 Dec 14:06
d1def7d

Choose a tag to compare

Added

Fixed

  • "rttEnabled": true is now set even if defmt is not enabled (#255)
  • Fix examples link in main.rs (#258)

v1.0.1

05 Nov 10:43
55bdeee

Choose a tag to compare

Changed

  • Update embedded-test dependency to 0.7.0 (#251)
  • Use esp_hal::ram(reclaimed) attribute for heap allocator (#252)

Fixed

  • Add App Descriptor macro to tests (#251)
  • ESP32 dram2 size (#252)

v1.0.0

30 Oct 10:54
f7090ed

Choose a tag to compare

Added

  • Generate settings for Neovim (#246)

Changed

  • Helix config: set cargo.allTargets to false (#247)
  • Updated dependencies for esp-hal@1.0.0 releases (#248)

v0.6.0

14 Oct 15:27
5314519

Choose a tag to compare

Added

  • Add Wi-Fi/BLE setup code to the blocking template (#233)

  • Check for the esp-config tool (#221)

Changed

  • The generated project now uses Rust 2024 (#233)
  • The generated project now uses all of .dram2_uninit for its heap (#234)
  • Update templates and their dependenies to meet rc1 of esp-hal (#237)
  • Bump MSRV in templates to 1.88 (#237)

Fixed

  • Fix cases where padding overflow caused panic if terminal size changed (#228)

Removed

  • Remove devcontainer support (#236 )

v0.5.0

16 Jul 12:19
4b20175

Choose a tag to compare

Added

  • Added interactive flow option instead of setting target chip and name in arguments (#196)
  • Added rust-version to the generated Cargo.toml (#192)
  • Generate settings for Zed (#200)
  • Updated dependencies for new esp-hal 1.0.0-rc.0 release (#215)

Changed

  • The generated project no longer enables static_cell/nightly (#199)
  • Use anyhow::bail instead of log + exit (#204)

Fixed

  • Test source is no longer generated if not needed (#201)
  • Conflicting options specified via -o are now rejected (#213)

v0.4.0

06 Jun 13:35
341322f

Choose a tag to compare

Added

  • Added option to enable Stack smashing protection (#141)
  • Enabling probe-rs and vscode together now generates .vscode/launch.json (#143)
  • Provide hint when esp-wifi has no scheduler (#145)
  • Generate a simple embedded-test test suite (#144)
  • Enable esp-wifi/smoltcp when the dependency is present (#146)
  • Enable defmt or log on all crates that know them (#148)
  • The tool now prints the selected options (#154)
  • Enable the clippy::mem_forget lint since mem::forget is generally not safe to use with esp-hal. (#161)
  • Added option to enable integration with the trouble BLE library (#179)
  • Added esp-bootloader-esp-idf package (#166)

Changed

  • The visual style in certain terminals no longer uses emojis (#173)
  • Add a description to the version check output (#178)
  • esp-hal is now pinned to avoid updating to a new prerelease by accident (#186)
  • esp-hal updated and pinned to beta.1 (#166)
  • MSRV bump to 1.86 (#189)

Fixed

  • The generated project no longer contains template.yaml. (#142)
  • Fixed parsing version output of old espflash. (#152)
  • Specified defmt-03 feature for embedded-io and embedded-io-async. (#157)
  • Fixed RTT initialization without defmt (#183)

Removed

  • heapless has been removed from dependencies. (#148)

v0.3.1

03 Mar 10:00
ad6c3bf

Choose a tag to compare

Fixed

  • The defmt feature of panic-rtt-target is now enabled when needed. (#137)

v0.3.0

24 Feb 17:10
5eaeafb

Choose a tag to compare

Added

  • Added a version checker that prints a warn message if not using latest esp-generate version (#87)
  • After generating the project the tool now checks the rust version, espflash version and probe-rs version (#88)
  • Be more helpful in case of common linker errors (#94)
  • Support for ELIF conditions (#96)
  • Display help text (#100, #103)
  • Added an option to enable unstable HAL features (#104)
  • Added support for selection groups (#119)
  • Added runArgs to DevContainer settings to allow flashing from Linux (#154)
  • It is now possible to select a panic handler, and log library. (#120)

Changed

  • Update probe-rs run arguments (#90)
  • When using embassy option, async_main.rs file was renamed to main.rs (#93)
  • The UI no longer allows selecting options with missing requirements, and does not allow deselecting
    options that are required by other options. (#101)
  • Options can now declare negative requirements (e.g. !alloc can not be enabled if alloc is used) (#101)
  • Template settings are now described in a template-specific yaml file (#103)
  • Test cases are now generated from template settings (#106)
  • Updated and removed some unused extensions (#109, #111)
  • The option names are now display in the menu (#116)
  • Options that are not applicable to the selected chip are not shown (#116)
  • Inactive menu items are now colored differently (#115)
  • The CLI now exits with success when the user quits (#117)

Fixed

  • No longer include smoltcp as a dependency for BLE-only configurations (#108)

Removed

  • Removed scripts/build.sh and scripts/flash.sh scripts (#124)

v0.2.2

16 Jan 14:55
ae7909e

Choose a tag to compare

Added

  • The resulting Cargo.toml is now formatted with Taplo (#72)

Changed

  • Update the resulting binary name (#62)
  • Include the version of esp-generate in the generated code (#67)
  • Use rustc-link-arg instead of rustc-link-arg-bin (#67)

Fixed

  • Verify the required options are provided (#65)
  • Use stable toolchain for Rust Analyzer on Xtensa targets (#69)
  • Added missing template substitution in devcontainer.json (#70)