Commit graph

1264 commits

Author SHA1 Message Date
bors[bot]
e9022e186c
Merge #352
352: Reuse cortex-m r=TeXitoi a=AfoHT

Potential fix for #351

Introduced by #338 

Co-authored-by: Henrik Tjäder <henrik@tjaders.com>
2020-08-27 12:40:45 +00:00
Henrik Tjäder
a4eb8c576c Reuse cortex-m 2020-08-27 12:33:51 +00:00
bors[bot]
312331de58
Merge #350
350: Preparing for 0.5.4 release r=AfoHT a=korken89



Co-authored-by: Emil Fresk <emil.fresk@gmail.com>
2020-08-26 11:32:06 +00:00
Emil Fresk
5711a2472d Preparing for 0.5.4 release 2020-08-26 12:41:39 +02:00
bors[bot]
846aa5062f
Merge #341
341: Enable caching for Github Actions r=korken89 a=AfoHT

Using [GHA caching](https://docs.github.com/en/actions/configuring-and-managing-workflows/caching-dependencies-to-speed-up-workflows) to store key parts of the testing environment.

One example is downloading `arm-none-eabi-gcc` (which takes roughly 1 minute) for each checkexamples.

The rustup setup is roughly 200MB and restores nicely.

Rust examples can be found [here](https://github.com/actions/cache/blob/master/examples.md#rust---cargo)

**Something to discuss:**

Several notable projects remove some problematic files in order to keep cache size reasonable

[rust-analyzer](9a7db8fa00/.travis.yml (L2-L4))

[cargo duscussion](https://github.com/rust-lang/cargo/issues/5885)

[tantivity-search](https://github.com/tantivy-search/tantivy/pull/531/files)

[clap-rs](https://github.com/clap-rs/clap/pull/1658/files#diff-354f30a63fb0907d4ad57269548329e3R5-R16)


Co-authored-by: Henrik Tjäder <henrik@tjaders.com>
2020-08-25 17:27:02 +00:00
Henrik Tjäder
877d945870 Try system QEMU 2020-08-24 13:19:00 +00:00
Henrik Tjäder
5a23fb3bd3 Use ubuntu-20.04 (actual latest) 2020-08-24 11:51:21 +00:00
Nathan Fox
d127b377a5
fix badges / clean up README 2020-07-27 21:11:27 -04:00
Henrik Tjäder
6df6db40d8 Trigger CI rerun 2020-07-25 22:37:08 +00:00
Henrik Tjäder
2bde8af214 Remove arm-none-eabi-gcc 2020-07-25 22:26:10 +00:00
Henrik Tjäder
82220d21f7 Try running with cargo-binutils 2020-07-25 22:26:10 +00:00
bors[bot]
f77226af16
Merge #340
340:  rtic::export::Peripherals created by into instead of transmute r=korken89 a=perlindgren



Co-authored-by: Per Lindgren <per.lindgren@ltu.se>
2020-07-21 06:36:18 +00:00
bors[bot]
6ea8f6a06a
Merge #344
344: Added badges to 'README.md' file r=AfoHT a=regexident

Badges for quick access to the corresponding pages on **crates.io**, **docs.rs**, the **book** (aka **rtic.rs**), as well as a badge for showing the **minimum required rustc version**.

Co-authored-by: Vincent Esche <regexident@gmail.com>
2020-07-20 21:00:11 +00:00
Vincent Esche
c6ed8cb4b2 Added badges to 'README.md' file 2020-07-15 13:28:23 +02:00
bors[bot]
027b11f6b4
Merge #343
343: Updated URL for example 'init.rs' file r=AfoHT a=regexident

(the file at tag '0.5.0' still uses `rtfm`, rather than `rtic` from tag '0.5.3' or later)

Co-authored-by: Vincent Esche <regexident@gmail.com>
2020-07-15 06:55:05 +00:00
Henrik Tjäder
71677b3170 Remove old PATH modification just to trigger re-run of CI 2020-07-14 15:48:59 +00:00
bors[bot]
42f99840c4
Merge #342
342: Spell check r=AfoHT a=regexident



Co-authored-by: Vincent Esche <regexident@gmail.com>
2020-07-14 15:38:53 +00:00
Vincent Esche
0616435ba6 Updated URL for example 'init.rs' file
(the file at tag '0.5.0' still uses `rtfm`, rather than `rtic` from tag '0.5.3' or later)
2020-07-14 16:26:03 +02:00
Vincent Esche
e9fa71c065 Fixed some more spelling 2020-07-14 16:01:14 +02:00
Vincent Esche
3b48447934 Unified spelling of "real-time" (vs. "real time")
(This spelling is consistent with the one provided by Merriam Webster for use an an adjective)
2020-07-14 16:00:42 +02:00
Henrik Tjäder
156f37765b Enable caching for Github Actions 2020-07-13 20:49:29 +00:00
Per Lindgren
e297ceb1ad rtic::export::Peripherals created by into instead of transmute 2020-07-09 19:37:04 +02:00
bors[bot]
bfb498e722
Merge #337
337: Examples: Clarify extern section r=korken89 a=dbrgn

Some beginners are confused about the "extern" section, so I added an explanation comment to all examples.

![image](https://user-images.githubusercontent.com/105168/85903840-9ad2a780-b807-11ea-943d-3f37b814c23f.png)

Furthermore, using the UARTx interrupts when UART is actually being used in the same example may be confusing, so I changed them all to SSI0/QEI0.

Co-authored-by: Danilo Bargen <mail@dbrgn.ch>
2020-06-30 20:16:46 +00:00
bors[bot]
629acdd70f
Merge #338
338: Fixes an issue where one could double take the cortex_m Peripheral r=japaric a=korken89

Closes #321 

Co-authored-by: Emil Fresk <emil.fresk@gmail.com>
2020-06-30 20:12:17 +00:00
Emil Fresk
d9e8b68662 Fixes an issue where one could double take the cortex_m Peripheral
Added qemu test

Added comment

Typo

Add cfg for homogeneous

More cfg

Now multicore working

Add .run file
2020-06-30 22:06:57 +02:00
Danilo Bargen
8e636f0d12 Examples: Clarify extern section
Some beginners are confused about the "extern" section, so I added an
explanation comment to all examples. Furthermore, using the UARTx
interrupts when UART is actually being used in the same example may be
confusing, so I changed them all to SSI0/QEI0.
2020-06-26 23:53:11 +02:00
bors[bot]
8a4f9c6b8a
Merge #330
330: Combine publish, docs and build into one workflow, do not test on nightly r=korken89 a=AfoHT

Streamline the Github Actions workflow a bit, currently it does not play well with multiple workflows since dependencies needs to be within the same workflow.

This combines the previous docs and publish workflows into one larger build workflow.

If pushing to master branch, and all jobs succeed, then the deploy is also done.

No testing on nightly except for multi-core which requires nightly.

Co-authored-by: Henrik Tjäder <henrik@tjaders.com>
2020-06-16 06:25:44 +00:00
Henrik Tjäder
68e45815b9 Remove old workflows, change description of the workflow 2020-06-15 20:13:22 +00:00
Henrik Tjäder
11565797c6 Combine publish, docs and build into one workflow 2020-06-15 19:42:51 +00:00
Emil Fresk
cfd5f4785e
Merge pull request #329 from rtic-rs/v0.5.3_release
Preparing for v0.5.3
2020-06-12 10:03:26 +02:00
Emil Fresk
95032aa56b Updated CHANGELOG 2020-06-12 09:51:09 +02:00
Emil Fresk
5f860dcdf5 Updated book with migration guide for RTFM -> RTIC 2020-06-12 09:50:12 +02:00
Emil Fresk
7030d23d63 Preparing for v0.5.3 2020-06-12 09:32:43 +02:00
bors[bot]
d35b26332d
Merge #328
328: Link to GitHub from book r=korken89 a=nickray



Co-authored-by: Nicolas Stalder <n@stalder.io>
2020-06-11 19:31:56 +00:00
Nicolas Stalder
ae5f2bc796 Link to GitHub from book 2020-06-11 21:27:57 +02:00
bors[bot]
bfcbff3dae
Merge #327
327: Small renaming fixes r=korken89 a=AfoHT



Co-authored-by: Henrik Tjäder <henrik@tjaders.com>
2020-06-11 19:16:23 +00:00
Emil Fresk
9ffb5dd45e Fix CI error 2020-06-11 21:10:03 +02:00
Emil Fresk
295c645062 Testing CI 2020-06-11 21:00:32 +02:00
Henrik Tjäder
9b7f1ac30c Also fix the links in GHA 2020-06-11 18:34:16 +00:00
Henrik Tjäder
ff4370944f Small renaming fixes 2020-06-11 18:29:25 +00:00
Emil Fresk
6e233bec02
Merge pull request #325 from AfoHT/rtic-rename
Rename RTFM to RTIC
2020-06-11 19:21:37 +02:00
Henrik Tjäder
602a5b4374 Rename RTFM to RTIC 2020-06-11 17:18:29 +00:00
Emil Fresk
4a0393f756
Merge pull request #324 from rtfm-rs/v0.5.2_release
Prepare for v0.5.2 release
2020-06-11 19:07:46 +02:00
Emil Fresk
eb6406da7e Fmt 2020-06-11 19:00:52 +02:00
Emil Fresk
1be9d0067b Prepare for v0.5.2 release 2020-06-11 18:57:56 +02:00
Emil Fresk
81da47c2f7
Merge pull request #323 from rtfm-rs/bors_to_gha
Moved bors to GHA
2020-06-11 18:50:11 +02:00
Emil Fresk
ac0e687431
Merge pull request #313 from russell/patch-1
Update example to use better initial value
2020-06-11 18:45:51 +02:00
bors[bot]
8898224950
Merge #314
314: do not optimize build deps r=korken89 a=japaric

this may make CI faster

Co-authored-by: Jorge Aparicio <jorge@japaric.io>
2020-06-11 16:33:39 +00:00
bors[bot]
4795c1dba3
Merge #315
315: allow handlers to be named 'main' r=korken89 a=japaric

`#[init]`, `#[idle]` and `#[task]` handlers can now be named `main`

fixes #311

Co-authored-by: Jorge Aparicio <jorge.aparicio@ferrous-systems.com>
2020-06-11 16:22:33 +00:00
Emil Fresk
4397fbf762
Merge pull request #319 from AfoHT/fixoddex
Use cargo feature instead of conditional compilation hacks
2020-06-11 18:21:01 +02:00