Jorge Aparicio and GitHub
7cd0af3b4f
Merge pull request #48 from afajl/main
...
Document that compilation target must be added with rustup
2021-02-26 14:05:38 +01:00
Jorge Aparicio and GitHub
08ebad9350
Merge pull request #43 from knurling-rs/test-release-debuginfo
...
add debuginfo to `test --release`
2021-02-24 15:26:59 +01:00
Jorge Aparicio
c915534a05
add debuginfo to test --release
2021-02-24 14:58:50 +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
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
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
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
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
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
Jorge Aparicio
b1217af509
recommend installing flip-link from crates.io
2020-10-16 14:04:03 +02: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
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
Jorge Aparicio
25eb06c089
add stack overflow protection
2020-09-07 19:09:36 +02:00
Jorge Aparicio and GitHub
8650c1f517
Merge pull request #8 from knurling-rs/panic-probe
...
Use panic-probe instead of a custom panic handler
2020-08-31 14:17:54 +00:00
Jorge Aparicio and GitHub
cab03b1ab1
Merge pull request #7 from knurling-rs/no-lto
...
Don't enable LTO in the dev profile
2020-08-31 13:03:41 +00:00
Jorge Aparicio and GitHub
e1ec5a6cf3
Merge pull request #2 from knurling-rs/jonas-schievink-patch-1
...
Avoid opt-level=z
2020-08-28 13:16:21 +00:00
Jorge Aparicio
d1d23651f3
increase debug info level
2020-08-28 14:59:32 +02:00
Jorge Aparicio
8dd4c0dde5
add FUNDING.yml
2020-08-21 14:50:09 +02:00
Jorge Aparicio
df96204a61
initial commit
2020-08-21 12:02:11 +02:00