Commit graph

738 commits

Author SHA1 Message Date
bors[bot]
ee0885063d
Merge #394
394: Detect if the rt flag is defined in the PAC/HAL r=AfoHT a=korken89

This stops RTIC applications from compiling if one has forgotten to set the `rt` flag in the PAC/HAL.

The error:

```
error[E0433]: failed to resolve: could not find `interrupt` in `you_must_enable_the_rt_feature_for_the_pac_in_your_cargo_toml`
 --> src/main.rs:8:1
  |
8 | #[rtic::app(device = stm32l4xx_hal::pac)]
  | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ could not find `interrupt` in `you_must_enable_the_rt_feature_for_the_pac_in_your_cargo_toml`
  |
  = note: this error originates in an attribute macro (in Nightly builds, run with -Z macro-backtrace for more info)
```

Co-authored-by: Emil Fresk <emil.fresk@gmail.com>
2020-10-15 14:15:35 +00:00
Emil Fresk
48abc26e85 Detect if the rt flag is defined in the PAC/HAL
Better error message

Improved error string

Update UI tests
2020-10-15 16:06:30 +02:00
bors[bot]
1db5faad62
Merge #392
392: device path must be absolute; clarify r=AfoHT a=dcarosone

feel free to nitpick path terminology

Co-authored-by: Daniel Carosone <Daniel.Carosone@gmail.com>
2020-10-13 13:14:03 +00:00
Daniel Carosone
efe6b516fb device path must be absolute; clarify 2020-10-13 10:45:03 +11:00
bors[bot]
b8665a2f31
Merge #388
388: Now core contains the same `Peripherals` type based on monotonic r=AfoHT a=korken89



Co-authored-by: Emil Fresk <emil.fresk@gmail.com>
2020-10-12 08:31:18 +00:00
Emil Fresk
1fb42536cf UI fix 2020-10-12 10:25:02 +02:00
Emil Fresk
5b8e6a22ab Fixing examples and tests, modules now import user imports correctly
Fmt

Correct syntax crate

UI test fix

Fix build script

Cleanup

More cleanup
2020-10-11 20:35:50 +02:00
Emil Fresk
524273c96a Now with spawn/schedule from anywhere 2020-10-11 18:38:38 +02:00
Emil Fresk
c83b15b643 Merge branch 'master' into spawn_experiment 2020-10-08 17:33:42 +02:00
Emil Fresk
e8b4fa7b32 Added critical sections 2020-10-08 17:33:16 +02:00
Emil Fresk
6d003e20a8 Now core contains the same Peripherals type based on monotonic 2020-10-07 15:17:00 +02:00
bors[bot]
36781cdd89
Merge #384
384: Fix MD-lints, add Matrix and meeting notes badges r=korken89 a=AfoHT



Co-authored-by: Henrik Tjäder <henrik@tjaders.com>
2020-10-07 04:43:28 +00:00
bors[bot]
593dbeb9bf
Merge #385
385: Doclints r=korken89 a=dcarosone

Some minor doc lints and wording cleanup

Co-authored-by: Daniel Carosone <Daniel.Carosone@gmail.com>
2020-10-07 04:38:51 +00:00
Daniel Carosone
987332b831 minor md lints and wording clarification 2020-10-07 09:31:30 +11:00
Daniel Carosone
f386cb63cb Merge branch 'master'
of https://github.com/rtic-rs/cortex-m-rtic
2020-10-07 09:22:38 +11:00
Henrik Tjäder
f229d2e97f Fix MD-lints, add Matrix and meeting notes badges 2020-10-06 18:48:37 +00:00
bors[bot]
b1e1abae29
Merge #173
173: add sandbox example r=AfoHT a=etrombly

Added a real world example for my sandbox project.

Co-authored-by: Eric Trombly <etrombly@yahoo.com>
2020-10-06 18:37:33 +00:00
bors[bot]
07153a8fca
Merge #346
346: fix badges / clean up README r=AfoHT a=fuchsnj



Co-authored-by: Nathan Fox <fuchsnj@gmail.com>
Co-authored-by: Henrik Tjäder <henrik@tjaders.com>
2020-10-06 18:22:11 +00:00
Henrik Tjäder
a091727e37 Restore links to docs 2020-10-06 18:04:22 +00:00
Per Lindgren
0bc2168cd6 spawn examples updated 2020-10-05 22:30:38 +02:00
Per Lindgren
aac97a2109 spawn POC works, likely unsound, cleanup 2020-10-05 22:02:04 +02:00
Per Lindgren
6bd168d711 spawn POC works, likely unsound 2020-10-05 21:57:44 +02:00
bors[bot]
5794cb75a7
Merge #370
370: Use latest mdBook r=korken89 a=AfoHT

Test to see if latest mdBook works with current formatting, see #369 



Co-authored-by: Henrik Tjäder <henrik@tjaders.com>
2020-10-05 18:49:59 +00:00
bors[bot]
29d10766d3
Merge #383
383: Split up migration guides into its own sections r=AfoHT a=korken89



Co-authored-by: Emil Fresk <emil.fresk@gmail.com>
2020-10-05 18:45:32 +00:00
Emil Fresk
71a279f6d0 Split up migration guides into its own sections 2020-10-05 20:44:25 +02:00
bors[bot]
f5cf64e35c
Merge #382
382: Run the macro tests r=korken89 a=AfoHT



Co-authored-by: Henrik Tjäder <henrik@tjaders.com>
2020-10-05 18:40:28 +00:00
Henrik Tjäder
e17a1fc903 Run the macro tests 2020-10-05 18:37:21 +00:00
bors[bot]
12aa9807c4
Merge #372
372: Now late resources are always used r=AfoHT a=korken89

Awaits the PR in `rtic-syntax`: https://github.com/rtic-rs/rtic-syntax/pull/32

Co-authored-by: Emil Fresk <emil.fresk@gmail.com>
2020-10-05 18:26:00 +00:00
Emil Fresk
8ab7be9871 Added back accidentally removed block 2020-10-05 20:19:52 +02:00
Emil Fresk
44f26fe90c Move to master of rtic-syntax 2020-10-05 20:05:52 +02:00
Emil Fresk
c21ccd04ce Overwrite steerr files 2020-10-05 18:33:11 +02:00
Emil Fresk
eec0908024 Merge branch 'master' into always_late_resources 2020-10-05 18:25:15 +02:00
bors[bot]
f493f21359
Merge #381
381: Separate example check and run-pass tests r=korken89 a=AfoHT

With the old 1.36.0 tests removed the full 20 free concurrent GHA jobs are not fully utilized.

Separate the run-pass testing and the cargo check of examples

Co-authored-by: Henrik Tjäder <henrik@tjaders.com>
2020-10-05 12:56:24 +00:00
Henrik Tjäder
7261685b7f Separate example check and run-pass tests 2020-10-05 10:52:02 +00:00
Henrik Tjäder
da1b31d95a Also update for the deploy stage 2020-10-05 10:48:20 +00:00
bors[bot]
99e7b1a4fa
Merge #380
380: Use a full copy of the book instead of symlink r=korken89 a=AfoHT



Co-authored-by: Henrik Tjäder <henrik@tjaders.com>
2020-10-05 10:46:54 +00:00
Henrik Tjäder
a38952fbd4 Unable to use git for tags 2020-10-05 10:44:57 +00:00
Henrik Tjäder
3fed6a944e Use a full copy of the book instead of symlink 2020-10-05 10:07:43 +00:00
bors[bot]
4eb4c4e7b2
Merge #379
379: Fix broken symlink during deploy-stage r=korken89 a=AfoHT



Co-authored-by: Henrik Tjäder <henrik@tjaders.com>
2020-10-05 09:21:55 +00:00
Henrik Tjäder
3aaa223be1 Fix broken symlink 2020-10-05 09:19:43 +00:00
bors[bot]
dbf9a7f298
Merge #368
368: Mod over const r=korken89 a=AfoHT

Related [RFC](https://github.com/rtic-rs/rfcs/pull/34)

Dependent on [rtic-syntax-PR30](https://github.com/rtic-rs/rtic-syntax/pull/30)

~~Currently using my own dev-branch~~

Co-authored-by: Henrik Tjäder <henrik@tjaders.com>
2020-10-05 08:40:19 +00:00
Henrik Tjäder
95503b6bdf Use latest rtic-syntax master 2020-10-05 08:24:33 +00:00
bors[bot]
04d415c3c6
Merge #378
378: The stable book should build from branch r=korken89 a=AfoHT



Co-authored-by: Henrik Tjäder <henrik@tjaders.com>
2020-10-05 08:19:34 +00:00
Henrik Tjäder
03bff3dd80 v must be first in the tag, document the version 2020-10-05 08:09:43 +00:00
Henrik Tjäder
2f3dafe711 Ensure pre-releases are not included 2020-10-05 07:56:53 +00:00
Henrik Tjäder
3021048b77 The stable book should build from branch 2020-10-05 07:50:30 +00:00
bors[bot]
35baf20c61
Merge #377
377: Updated documentation to include the critical section token in init r=AfoHT a=korken89



Co-authored-by: Emil Fresk <emil.fresk@gmail.com>
2020-10-03 14:34:04 +00:00
Emil Fresk
f0f982faca Updated documentation to include the critical section token in init 2020-10-03 15:30:15 +02:00
Henrik Tjäder
6eff28bf50 Remove leftover v1.36 hacks 2020-10-02 12:37:44 +00:00
Henrik Tjäder
40c7119d7a Prepare the book for v0.6 2020-10-02 12:36:34 +00:00