onsdagens
906278e310
Adjust esp32c3 codegen, bump pac to 0.21.0 ( #906 )
...
* adjust esp32c3 codegen, bump pac to 0.21.0
* add esp32c3 example
* adjust workflow flags
* CI: Fix esp32c3 comment
* esp32c3: Remove commented out git-dep
* CI: Actually check the ESP32-C3 examples
* Autoformat rtic/cargo.toml
---------
Co-authored-by: Henrik Tjäder <henrik@tjaders.com>
2024-04-04 09:35:41 +00:00
Román Cárdenas Rodríguez
4060c3def8
RISC-V support over CLINT ( #815 )
...
* Rebase to master
* using interrupt_mod
* bug fixes
* fix other backends
* Add changelog
* forgot about rtic-macros
* backend-specific configuration
* core peripherals optional over macro argument
* pre_init_preprocessing binding
* CI for RISC-V (WIP)
* separation of concerns
* add targets for RISC-V examples
* remove qemu feature
* prepare examples folder
* move examples all together
* move ci out of examples
* minor changes
* add cortex-m
* new xtask: proof of concept
* fix build.yml
* feature typo
* clean rtic examples
* reproduce weird issue
* remove unsafe code in user app
* update dependencies
* allow builds on riscv32imc
* let's fix QEMU
* Update .github/workflows/build.yml
Co-authored-by: Henrik Tjäder <henrik@tjaders.com>
* New build.rs
* removing test features
* adapt ui test to new version of clippy
* add more examples to RISC-V backend
* proper configuration of heapless for riscv32imc
* opt-out examples for riscv32imc
* point to new version of riscv-slic
* adapt new macro bindings
* adapt examples and CI to stable
* fix cortex-m CI
* Review
---------
Co-authored-by: Henrik Tjäder <henrik@tjaders.com>
2024-03-20 20:06:47 +00:00
Emil Fresk
3c9a8f290d
Fix CI with async_fn_in_trait not being a feature
2023-11-01 19:52:57 +00:00
datdenkikniet
65f1f4c1b7
Also separate all results and data
2023-04-16 13:08:46 +02:00
datdenkikniet
c6b43800d2
Move all run-related stuff into run
2023-04-16 13:08:46 +02:00
datdenkikniet
66a3d02b45
Rename cargo_commands -> run
...
Rename command -> cargo_command
2023-04-16 13:08:46 +02:00
datdenkikniet
b59bf686c1
Redo command building so that we don't repeat as much, and to
...
make it easier to add new ones
2023-04-16 13:08:46 +02:00
datdenkikniet
404867cdf9
CargoCommand can take any package
2023-04-16 13:08:46 +02:00
datdenkikniet
1c84ccf6e4
Fix running of tests
2023-04-16 13:08:46 +02:00
datdenkikniet
d838286de6
Fix config pickup behaviour so that both examples and usage-examples build
...
correctly
2023-04-16 13:08:46 +02:00
datdenkikniet
859cd418f0
Rename some things
2023-04-16 13:08:46 +02:00
datdenkikniet
6517a4bec2
Also check for CommandErrors in error checking
2023-04-16 13:08:46 +02:00
datdenkikniet
fa8af4cbcf
Add the most important message
2023-04-16 13:08:46 +02:00
datdenkikniet
63b7024cb9
xtask: build usage examples and general improvements
2023-04-16 13:08:46 +02:00
datdenkikniet
c6f4b834c1
Fix fmt
2023-04-15 14:43:40 +02:00
datdenkikniet
622a58db5a
Also log command with enough verbosity
2023-04-15 13:55:56 +02:00
datdenkikniet
461023e3b8
More emojis and correct place for things
2023-04-15 13:45:58 +02:00
datdenkikniet
df69b35c25
More housekeeping and making it work that bit better
2023-04-15 13:21:09 +02:00
datdenkikniet
3458288946
Oops, these aren't std-only
2023-04-15 12:38:17 +02:00
datdenkikniet
525703358b
Rework command execution structure and make rayon optional (since it's not necessarily faster
...
due to workspace wide lockfile contention)
2023-04-15 12:33:46 +02:00
datdenkikniet
1ccca03a70
Use pretty_env_logger instead
2023-04-15 10:10:04 +02:00
datdenkikniet
480aa21059
Always run stuff for all packages if none is specified
2023-04-15 10:03:52 +02:00
datdenkikniet
4adae80f2d
xtask: don't add default arguments if building for a no_std target
2023-04-15 01:08:28 +02:00
datdenkikniet
18522122f1
xtask: forward globals through the chain and add stderr-inheritance flag
2023-04-15 01:08:28 +02:00
datdenkikniet
fa92d8abe7
Add some QoL to run_command
2023-04-15 00:09:50 +02:00
Henrik Tjäder
88b435c2f8
xtask: Fix cargo fmt logmsg
2023-03-15 20:32:58 +01:00
Henrik Tjäder
96aa385b55
xtask: Change default loglevel
2023-03-15 20:32:39 +01:00
Henrik Tjäder
3908cbf7e8
xtask: Allow passing arguments to book and doc
2023-03-02 22:02:19 +01:00
Henrik Tjäder
fae15db216
xtask: Split out cargo commands
2023-03-01 00:35:28 +01:00
Henrik Tjäder
512bab17cc
xtask: Split out arg parsing
2023-03-01 00:35:27 +01:00
Henrik Tjäder
a575266ec2
xtask: Add tests, clean a bit
2023-03-01 00:35:27 +01:00
Henrik Tjäder
14457da4f8
xtask: Add book building
2023-03-01 00:35:27 +01:00
Henrik Tjäder
8b3aa7f346
xtask: Cleanup check and build
2023-03-01 00:35:27 +01:00
Henrik Tjäder
91be97d33f
xtask: Rename cargoarg to cargologlevel
2023-03-01 00:35:27 +01:00
Henrik Tjäder
ff49889890
xtask: Reorder commands
2023-03-01 00:35:26 +01:00
Henrik Tjäder
a73a8d63cf
xtask: Add docs building
2023-03-01 00:35:26 +01:00
Henrik Tjäder
bb8621f2d7
xtask: Do not add rtic features to all workspace crates
2023-03-01 00:35:23 +01:00
Henrik Tjäder
18c843b550
xtask: Add format and format-check
2023-03-01 00:35:22 +01:00
Henrik Tjäder
aa30d1d251
xtask: Default backend needs no argument
...
Propagate features for check and build
2023-03-01 00:35:21 +01:00
Emil Fresk
4442c46926
Update backend features to be more clear
2023-03-01 00:35:21 +01:00
Emil Fresk
9552790dcc
Fix xtask to work with backends
2023-03-01 00:35:20 +01:00
Henrik Tjäder
10a896ab9b
xtask: Propagate stdio/stderr, exitcodes
2023-03-01 00:35:18 +01:00
Henrik Tjäder
8653823258
xtask: For now test on ARM
2023-03-01 00:35:17 +01:00
Henrik Tjäder
7bcbdf7306
xtask: Fixup, copy paste fail
2023-03-01 00:35:16 +01:00
Henrik Tjäder
806b3668e8
xtask: Major overhaul
...
Fix error printouts for examples,
Rename BuildAll -> Build
Rename Build -> ExampleBuild
Command interface changed, targets by defalt only v6 and v7
2023-03-01 00:35:15 +01:00
Henrik Tjäder
d5471f2da4
xtask: Add proper diff printing in case of incorrect results
2023-03-01 00:35:15 +01:00
Henrik Tjäder
6ed64610c9
xtask: Add thumbv8.base thumbv8.main
2023-03-01 00:35:15 +01:00
Henrik Tjäder
afba4c7b14
Improve build time with Rayon
2023-03-01 00:35:15 +01:00
Henrik Tjäder
50e1d2d129
Upgrade to clap v4, use log and env_logger
2023-03-01 00:35:14 +01:00
Henrik Tjäder
81ba62787c
xtask: Make target flag optional, default to all targets
2023-03-01 00:35:14 +01:00