411 Commits

Author SHA1 Message Date
Apollo
7526bb2140 fix dead url to environment variable setup 2025-11-19 09:13:04 +01:00
Sergio Gasquez Arcos
18e708de3e
Update LLVM and GCC (#527)
* feat: Update LLVM

* docs: Udpate changelog

* feat: Updated GCC
2025-09-23 14:46:36 +02:00
Dániel Buga
265b643fc7
Introduce VersionNotFound, avoid accessing github in tests (#525)
* Introduce VersionNotFound, avoid accessing github in tests

* Accept more version formats
2025-08-13 12:25:09 +02:00
cojmeister
5c4f586558
Added completions for NuShell (#513)
* Added a CompletionShell enum and implemented required methods for it

* CompletionsOpts now uses CompletionShell enum to be able to call NuShell as well

* CompletionsOpts now uses CompletionShell enum to be able to call NuShell as well

* CompletionShell implements the generate method - simplifies the code

* Added clap_complete_nushell as a dependency

* Updated readme

* Added nushell completion

* Cargo fmt errors
2025-08-13 09:27:08 +02:00
pacak
554adb8ff7
satisfy clippy: Use named arguments instead of positional (#516)
* satisfy clippy: Use named arguments instead of positional

* fix formatting

* Apply clippy suggestions in windows specific parts
2025-08-04 14:32:00 +02:00
David Alexander Bjerremose
e078dacb47
feat: add Crosstools version parameter and update to latest Crosstools (#508)
* feat: add option to specify crosstools version

* feat: update to newest crosstool version

* fix: re-add actual Rust toolchain

* chore: format

* docs: added CHANGELOG entries

* chore: move to windows section only

* docs: CHANGELOG review comments

* chore: fix clippy across platforms

* Update src/toolchain/gcc.rs

Co-authored-by: Sergio Gasquez Arcos <sergio.gasquez@gmail.com>

* chore: format

---------

Co-authored-by: Sergio Gasquez Arcos <sergio.gasquez@gmail.com>
2025-06-06 15:32:53 +02:00
Sergio Gasquez Arcos
4efd93c6a7
Enhance GitHub API error handling (#496)
* feat: Enhance GitHub API error handling

* docs: Update changelog
2025-05-19 09:49:09 +02:00
Sergio Gasquez Arcos
1b09495209
Rust 2024 edition (#497)
* build: Bump rust edition and msrv

* style: Format code

* feat: Add unsafe blocks

* feat: Add unsafe blocks for Windows
2025-04-29 09:50:59 +02:00
Sergio Gasquez Arcos
609424f729
Use stable toolchain for RISC-V devices (#487)
* feat: Use stable toolchain

* docs: Update changelog
2025-04-04 11:00:58 +02:00
Sergio Gasquez Arcos
7a0d827db1
Prepare 0.14.1 release (#483)
* build: Bump dependencies

* docs: Update changelog

* feat: Update ubuntu runners

* feat: Bump msrv

* fix: Clippy lint
2025-03-04 16:02:42 +01:00
Valtameri Sieluna
73f972cfba
Try fix install failure #480 (#481)
* Try fix install failure

* Update changelog

* Let fmt happy
2025-03-04 11:06:56 +01:00
Sergio Gasquez Arcos
8d0109e21c
Update llvm 19 version (#479)
* feat: Update llvm 19 version

* docs: Update changelog
2025-02-27 11:06:17 +01:00
Sergio Gasquez Arcos
0a8ac1b6c8
Add llvm 19 support (#477)
* feat: Add llvm 19 support

* docs: Update changelog
2025-02-20 12:39:08 +01:00
Sergio Gasquez Arcos
6251fd2b7f
Return error if GET request fails (#471)
* fix: Return error if get request fails

* docs: Update changelog
2025-01-28 09:51:27 +01:00
Sergio Gasquez Arcos
ec9964196c
Add some errors for GitHub API (#464)
* add preliminary check for invalid github token

* mapping errors

* adjust log information and format

* clippy fixes

* feat: Avoid having a fallback version

* docs: Add changelog

---------

Co-authored-by: leongross <leon.gross@rub.de>
2024-12-13 10:22:13 +01:00
discord9
1e044c5eb4
refactor: smoother large file download&proxy (#463)
* refactor: smoother large file download&proxy

* chore: more msg

* chore: changelog

* chore: fmt

* logs: make get proxy info so user know it working

* refactor: use multiple process bar

* chore: fmt

* fix: allow log&process bar mix

* refactor: per review

* chore: fmt
2024-12-12 14:43:33 +01:00
Sergio Gasquez Arcos
80e1df886e
Retrieve more releases entries (#462)
* feat: Retrieve more releases entries

* docs: Update changelog

* fix: Update per_page attribute to 100 (maximum)
2024-12-10 10:32:50 +01:00
Dániel Buga
bf94b56f63
Print error (#461) 2024-12-09 15:04:55 +01:00
Sergio Gasquez Arcos
c0801b9f0a
Fix tests (#459)
* fix: Tests

* Fix: RUSTSEC-2024-0399
2024-11-26 10:15:49 +01:00
Sergio Gasquez Arcos
d95a73008f
Add support for LLVM 18 (#452)
* feat: Support LLVM 18

* docs: Update changelog
2024-10-30 09:58:47 +01:00
Sergio Gasquez Arcos
567f1e231e
Update to GCC 14 (#445)
* feat: Update GCC version

* docs: Update changelog
2024-09-27 10:01:45 +02:00
Johannes Löthberg
e108653b63
Fix extended LLVM mode for LLVM < 17 (#437)
The fix for extended LLVM mode with LLVM 17 accidentally broke it for
toolchain versions using LLVM 15 and 16.

Signed-off-by: Johannes Löthberg <johannes.loethberg@elokon.com>
2024-07-17 13:06:48 +02:00
Johannes Löthberg
9c0234d118 Download both the release artifacts in extended mode for LLVM >= 17
The Espressif-provided LLVM toolchain no longer has the libs-only
tarball as a strict subset of the full tarball.  Instead the "full"
tarball now contains a clang with libclang built in.  To work around
this we now need to get _both_ tarballs if we're in extended LLVM mode.

Cf. https://github.com/espressif/llvm-project/issues/99

Signed-off-by: Johannes Löthberg <johannes.loethberg@elokon.com>
2024-06-28 15:19:30 +02:00
Sergio Gasquez Arcos
8d8d4124df
Add support for LLVM 17 after 1.78.0.0 (#427)
* build: Update dependencies

* feat: Add LLVM 17 support

* docs: Update changelog
2024-05-06 16:58:12 +02:00
Ryan Kopf
72700d7538
Update env.rs (#420)
* Update env.rs

The book says "There is no need to execute the file for Windows users. It is only created to show the modified environment variables.". This appears to be out of date.

* Update src/env.rs to simpler help message.

Co-authored-by: Sergio Gasquez Arcos <sergio.gasquez@gmail.com>

* fix: Remove line

---------

Co-authored-by: Sergio Gasquez Arcos <sergio.gasquez@gmail.com>
2024-03-22 11:53:12 +01:00
Sergio Gasquez Arcos
36e055cbc4
Add support for ESP32-P4 (#408)
* feat: Add support for ESP32-P4

* docs: Update changelog
2024-01-15 09:36:30 +01:00
Sergio Gasquez Arcos
4e4ff03e39
Fix Windows path (#411)
* fix: Fix Windows path

* docs: Update changelog
2024-01-11 09:34:25 +01:00
Christian Meusel
a311fb9d0a
Allow specifying export file via ESPUP_EXPORT_FILE (#403)
* Allow specifying export file via ESPUP_EXPORT_FILE

* Add CHANGELOG.md entry for ESPUP_EXPORT_FILE
2023-12-12 10:32:07 +01:00
Sergio Gasquez
025792b2b0 fix: When using extended LLVM check if the include folder is present 2023-12-05 11:09:08 +01:00
Sergio Gasquez Arcos
375129f190
Update LLVM (#398)
* feat: Update LLVM

* fix: Clippy warning

* docs: Update changelog
2023-11-23 09:53:44 +01:00
Sergio Gasquez Arcos
66db3ba875
Require toolchain-version for skip-version-parse arg (#396)
* feat: Require toolchain-version for skip-version-parse arg

* docs: Update changelog
2023-11-14 12:23:56 +01:00
Frederick Vollbrecht
7dc66b012e
🚩 add flag to only install riscv if user wants (#391)
* 🚩 add flag to only install riscv if user wants

* clippy

* rename flag to esp_riscv_gcc

* update comments

* 📝 update CHANGEL + README

* ✏️ typo

* Update src/cli.rs

Co-authored-by: Sergio Gasquez Arcos <sergio.gasquez@gmail.com>

* Update src/toolchain/mod.rs

Co-authored-by: Sergio Gasquez Arcos <sergio.gasquez@gmail.com>

* alphabetical ordering

---------

Co-authored-by: Sergio Gasquez Arcos <sergio.gasquez@gmail.com>
2023-11-08 16:46:25 +01:00
Sergio Gasquez
353331d569 docs: Update nigthly_version arg documentation 2023-11-08 10:29:03 +01:00
Sergio Gasquez
7519f66c01 style: Remove unnecesary log 2023-11-08 10:00:40 +01:00
Sergio Gasquez Arcos
119ec3a319
Update Windows env (#389)
* feat: Update Windows env

* feat: Remove unused import in env.rs

* feat: Add version file for GCC and LLVM

* feat: Improve get methods

* fix: Fix includes
2023-11-07 12:04:53 +01:00
Sergio Gasquez
819b3b45f9 style: Update log format 2023-11-02 09:56:14 +00:00
Sergio Gasquez Arcos
e423451b82
Minor improvements (#384)
* docs: Fix typo

* feat: Less verbose logs and minor improvements

* feat: Use tokio::fs

* style: Improve includes

* docs: Update changelog

* feat: Merge main
2023-10-30 14:53:42 +01:00
Sergio Gasquez Arcos
f2ad5fa763
Add symlink to LLVM (#380)
* feat: Add symlink to LLVM in $HOME/.espup/esp-clang

* feat: Remove symlink folder
2023-10-30 14:12:29 +01:00
Sergio Gasquez
e54750d27f chore: Remove unused emoji.rs 2023-10-26 16:23:53 +02:00
Sergio Gasquez Arcos
75f893223a
Remove emojis (#376)
* style: Remove emojis

* docs: Update changelog
2023-10-18 14:16:46 +02:00
Sergio Gasquez Arcos
80205eddcd
Improve logger fmt and logging messages (#375)
* chore: Update logger fmt and export file log

* chore: Update log messages

* chore: Log level is now lowercase

* refactor: Merge install and update methods
2023-10-17 15:58:43 +02:00
Sergio Gasquez Arcos
3910ea36fd
Update GCC version (#373)
* feat: Update GCC version

* docs: Update changelog
2023-10-17 14:05:55 +02:00
Sergio Gasquez
37a942512e fix: Fix export command 2023-10-11 12:52:35 +02:00
Sergio Gasquez Arcos
107de282ce
Create $RUSTUP_HOME/tmp if needed (#365)
* fix: Create $RUSTUP_HOME/tmp if needed

* style: Simplify create_dir_all error

* docs: Update CHANGELOG.md

* perf: Fix Windows includes
2023-10-04 09:49:13 +02:00
Sergio Gasquez
09b94cd9e0 fix: Complete incompleted Xtensa Rust versions 2023-10-04 09:31:38 +02:00
Sergio Gasquez Arcos
f360a79e3a
Add warn message when failed to detect Xtensa Rust (#357)
* perf: Add warn message when failed to detect Xtensa Rust

* style: Format log messages

* Add CHANGELOG.md (#358)

* docs: Add CHANGELOG.md

* ci: Ignore changelog updates

* docs: Update changelog
2023-10-02 12:09:46 +02:00
Sergio Gasquez Arcos
a4322009b4
Add a flag to skip Xtensa Rust version parsing (#352)
* feat: Add a flag to skip Xtensa Rust version parsing

* docs: Update Usage section
2023-09-14 08:56:37 +02:00
Sergio Gasquez Arcos
9dfc9708c2
Use RUSTUP_HOME tmp folder (#348)
* feat: Create tmp folders in Xtensa Rust folder

* fix: Fix Windows imports

* feat: Use RUSTUP_HOME tmp folder
2023-09-14 08:22:16 +02:00
Sergio Gasquez Arcos
5219673fb8
Improve remove_dir_all errors (#346)
* feat: Improve remove_dir_all errors

* feat: Small improvements of download_file fn

* feat: Uinstall now deletes everything inside the Xtensa Rust toolchain folder
2023-09-12 09:27:44 +02:00
Sergio Gasquez
2ac988bfea fix: Fix tempdirs cleanup 2023-09-07 09:43:20 +02:00