Jonas Schievink and GitHub
b61bdada9b
Merge pull request #44 from knurling-rs/optimize-test-profile
...
also enable optimizations in the `test` profile
2021-02-24 14:53:51 +01:00
Jorge Aparicio
9200fbe95d
also enable optimizations in the test profile
...
Cargo doc says:
> Note that when using the cargo test and cargo bench commands, the test/bench profiles only apply to the final test executable. Dependencies will continue to use the dev/release profiles.
So with the current settings, `cargo test` optimizes all dependencies but not the top level
crate (e.g. `test/foo.rs`)
This commit adds optimizations to the last `rustc` invocation of `cargo test`. This results in a 6%
reduction in binary size when doing `cargo test` on our sample test file.
2021-02-24 14:43:35 +01:00
Jonas Schievink and GitHub
19ec8c4dce
Merge pull request #39 from knurling-rs/update_readme
...
README.md: update to new probe-run usage, new nrf hal version
2021-01-21 20:09:54 +01:00
Lotte Steenbrink
55b8b30624
README.md: update to new probe-run usage, new nrf hal version
2021-01-21 20:04:07 +01:00
Lotte Steenbrink and GitHub
9fc4f7bc5e
Merge pull request #37 from knurling-rs/rm-dead-link
...
Remove dead link to patch
2020-12-21 14:50:29 +01:00
Jonas Schievink
5dd8a83db8
Remove dead link to patch
2020-12-21 14:44:17 +01:00
Jorge Aparicio and GitHub
d6d88d27e2
Merge pull request #33 from knurling-rs/override-assert-macros
...
testsuite: import defmt assert macros
2020-12-11 12:03:44 +00:00
Jorge Aparicio
2a34a5279d
testsuite: import defmt assert macros
...
these imports will override the ones from the core prelude
2020-12-11 12:29:03 +01:00
Jorge Aparicio and GitHub
d75aea3ce0
Merge pull request #31 from knurling-rs/jonas-schievink-patch-1
...
Actually use the defmt assertion macros
2020-12-07 10:37:10 +00:00
Jorge Aparicio and GitHub
2063370ab7
Merge pull request #32 from knurling-rs/jonas-schievink-patch-2
...
Remove `--defmt` flag from probe-run
2020-12-07 10:35:32 +00:00
Jonas Schievink and GitHub
7c4954fd67
Remove --defmt flag from probe-run
...
This now gets automatically detected
2020-12-03 00:16:14 +01:00
Jonas Schievink and GitHub
2d901d63db
Actually use the defmt assertion macros
2020-12-01 22:05:41 +01:00
Jorge Aparicio and GitHub
8f9e7e606e
Merge pull request #30 from knurling-rs/panic
...
use defmt::assert; add defmt::panic_hnadler
2020-11-30 16:30:37 +00:00
Jorge Aparicio
0c324d336c
use defmt::panic instead of core::panic in example
2020-11-30 17:29:47 +01:00
Jorge Aparicio
ae0df60ec2
use defmt::assert; add defmt::panic_handler
2020-11-24 17:38:08 +01:00
Jorge Aparicio and GitHub
647289a660
Merge pull request #29 from knurling-rs/defmt-test
...
use defmt-test in the test suite
2020-11-16 16:54:46 +01:00
Jorge Aparicio
6c5aa23717
remove unused import
2020-11-16 16:13:45 +01:00
Jorge Aparicio and GitHub
f12e76f0f9
Merge pull request #28 from knurling-rs/no-funding-for-the-clones
...
don't include .github/FUNDING.yml in generated instances
2020-11-16 11:55:36 +01:00
Jorge Aparicio
955d99d962
update diff in README
2020-11-13 15:50:09 +01:00
Jorge Aparicio
fbd9d93138
use defmt-test in the test suite
2020-11-13 15:45:03 +01:00
Jorge Aparicio
e5cf89b4eb
use defmt-test in the test suite
2020-11-13 15:42:07 +01:00
Lotte Steenbrink and GitHub
c99696db98
Merge pull request #27 from knurling-rs/how-to-switch-to-git-version
...
document how to switch to the git version of defmt
2020-11-12 18:02:17 +01:00
Jorge Aparicio
e4f6307625
explain the commented out Cargo.toml bits
2020-11-12 17:56:36 +01:00
Jorge Aparicio
2016a52900
don't include .github/FUNDING.yml in generated instances
...
fixes #24
2020-11-12 17:48:51 +01:00
Jorge Aparicio
1aac949a44
document how to switch to the git version of defmt
2020-11-12 13:51:46 +01:00
Jorge Aparicio and GitHub
43b3690f17
Merge pull request #26 from knurling-rs/website-link
...
README: update knurling link to website
2020-11-12 11:52:41 +01:00
Jorge Aparicio and GitHub
7793e3a756
Merge pull request #23 from knurling-rs/nmagic-linkers
...
pass --nmagic to the linker
2020-11-12 11:51:16 +01:00
Lotte Steenbrink
aaa97eee1c
README: update knurling link to website
2020-11-12 11:40:36 +01:00
Jorge Aparicio and GitHub
ac180e7ecd
Merge pull request #22 from knurling-rs/crates-io
...
use crates.io versions
2020-11-12 11:10:06 +01:00
Jorge Aparicio and GitHub
79bf25e15d
Merge pull request #25 from knurling-rs/jonas-schievink-patch-1
...
Remove proc macro opt-level override
2020-11-12 11:09:22 +01:00
Jonas Schievink and GitHub
d9e8e49464
Remove proc macro opt-level override
...
I believe Cargo now does this by default
2020-11-11 22:40:52 +01:00
Jorge Aparicio
f9ef620f50
pass --nmagic to the linker
...
rationale is in https://github.com/rust-embedded/cortex-m-quickstart/pull/95
we want to avoid potentially running into that issue in the future
2020-11-11 16:32:21 +01:00
Jorge Aparicio
da11b67bbb
use crates.io versions
...
also enable panic-probe's 'print-defmt' so panic messages are printed
2020-11-11 14:20:46 +01:00
Jorge Aparicio and GitHub
703c7b4bb6
Merge pull request #21 from albertskog/main
...
Fix #19 - add step for memory.x
2020-11-10 10:57:00 +01:00
Albert Skog
34ac080256
nrf hals copy memory.x automatically
2020-11-09 19:29:57 +01:00
Albert Skog
31f05205af
Fix #19 - add step for memory.x
2020-11-09 18:52:32 +01:00
Jonas Schievink and GitHub
b131e11257
Merge pull request #17 from andresv/patch-1
...
update cortex-m to 0.6.4
2020-10-29 14:08:38 +01:00
Andres Vahter and GitHub
31f28fe119
update cortex-m to 0.6.4
2020-10-29 15:05:07 +02:00
Jonas Schievink and GitHub
1e82a1cfe9
Merge pull request #16 from andresv/patch-1
...
Update cortex-m-rt to 0.6.13
2020-10-29 14:01:49 +01:00
Andres Vahter and GitHub
fee8afc923
Update cortex-m-rt to 0.6.13
2020-10-24 15:53:13 +03:00
Jonas Schievink and GitHub
13cc13704e
Merge pull request #15 from knurling-rs/flip-link-up
...
recommend installing flip-link from crates.io
2020-10-16 14:08:10 +02:00
Jorge Aparicio
b1217af509
recommend installing flip-link from crates.io
2020-10-16 14:04:03 +02:00
Jonas Schievink and GitHub
da636853db
Merge pull request #14 from ben-wallis/exclude-readme-cargo-generate
...
Added README.md to cargo-generate.toml excludes
2020-10-12 18:31:38 +02:00
Ben Wallis
54a97b41c9
Added README.md to cargo-generate.toml excludes
2020-10-12 15:47:02 +01:00
Jorge Aparicio and GitHub
4262118133
Merge pull request #13 from knurling-rs/extend_readme
...
README: add installation instructions
2020-10-09 17:24:13 +02:00
Lotte Steenbrink
8b9e0f5ec0
README: add installation instructions
2020-10-09 11:35:19 +02:00
Jorge Aparicio and GitHub
e094234d2d
Merge pull request #10 from knurling-rs/harden
...
add stack overflow protection
2020-09-25 15:24:13 +00:00
Jorge Aparicio and GitHub
8f974c5738
Merge pull request #11 from knurling-rs/putting-the-fun-in-funding
...
Exclude funding info from template
2020-09-11 14:58:59 +00:00
Jonas Schievink
227417e67a
Exclude FUNDING.yml from template
2020-09-07 19:52:37 +02:00
Jorge Aparicio
25eb06c089
add stack overflow protection
2020-09-07 19:09:36 +02:00