aboutsummaryrefslogtreecommitdiff
AgeCommit message (Collapse)Author
2020-06-11Fix CI errorEmil Fresk
2020-06-11Testing CIEmil Fresk
2020-06-11Merge pull request #325 from AfoHT/rtic-renameEmil Fresk
Rename RTFM to RTIC
2020-06-11Rename RTFM to RTICHenrik Tjäder
2020-06-11Merge pull request #324 from rtfm-rs/v0.5.2_releaseEmil Fresk
Prepare for v0.5.2 release
2020-06-11FmtEmil Fresk
2020-06-11Prepare for v0.5.2 releaseEmil Fresk
2020-06-11Merge pull request #323 from rtfm-rs/bors_to_ghaEmil Fresk
Moved bors to GHA
2020-06-11Merge pull request #313 from russell/patch-1Emil Fresk
Update example to use better initial value
2020-06-11Merge #314bors[bot]
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-11Merge #315bors[bot]
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-11Merge pull request #319 from AfoHT/fixoddexEmil Fresk
Use cargo feature instead of conditional compilation hacks
2020-06-11Merge #320 #322bors[bot]
320: No build opt on msrv r=korken89 a=AfoHT #314 is failing the tests since 1.36.0 is not capable of 'build-override' profiles. This extends current CI setup for both Travis and GHA to remove any `build-override` before running in case toolchain is 1.36.0. 322: Update resources.md r=korken89 a=lonesometraveler This fixes some typos. Co-authored-by: Henrik Tjäder <henrik@tjaders.com> Co-authored-by: KENTARO OKUDA <lonesometraveler@mac.com>
2020-06-11Moved bors to GHAEmil Fresk
2020-06-11Update resources.mdKENTARO OKUDA
2020-06-10Disable optimisation profiles in GHA for 1.36.0Henrik Tjäder
2020-06-10Remove compilation optimisations on 1.36.0Henrik Tjäder
2020-06-10Use cargo feature instead of conditional compilation hacksHenrik Tjäder
2020-06-09Merge #310bors[bot]
310: Update app.md r=korken89 a=lonesometraveler - Fix typos - Improve readability Co-authored-by: KENTARO OKUDA <lonesometraveler@mac.com>
2020-06-09Merge #318bors[bot]
318: Run cargo fmt r=korken89 a=AfoHT Fix style issues reported by cargo fmt Co-authored-by: Henrik Tjäder <henrik@tjaders.com>
2020-06-03Merge #316bors[bot]
316: Testing GHA v0.1 r=korken89 a=AfoHT Implementing previous Travis CI setup on Github Actions Co-authored-by: Henrik Tjäder <henrik@tjaders.com>
2020-06-03Run cargo fmtHenrik Tjäder
2020-06-02Merge #317bors[bot]
317: Use statically compiled mdbook r=perlindgren a=AfoHT Instead of building mdbook, get a precompiled version Co-authored-by: Henrik Tjäder <henrik@tjaders.com>
2020-06-02Use travis to set the PATH properlyHenrik Tjäder
2020-06-02Use statically compiled mdbookHenrik Tjäder
2020-06-02Testing GHA v0.1Henrik Tjäder
Implementing previous Travis CI setup on Github Actions
2020-05-29allow handlers to be named 'main'Jorge Aparicio
`#[init]`, `#[idle]` and `#[task]` handlers can now be named `main` fixes #311
2020-05-26TODO(remove) codegen no-opJorge Aparicio
2020-05-26touch src/lib.rsJorge Aparicio
2020-05-26trigger incremental CI re-buildJorge Aparicio
2020-05-26do not optimize build depsJorge Aparicio
2020-05-26Update example to use better initial valueRussell Sim
The example above this in the documentation states ``` // semantically, the monotonic timer is frozen at time "zero" during `init` // NOTE do *not* call `Instant::now` in this context; it will return a nonsense value let now = cx.start; // the start time of the system ``` It results in weird scheduling issues, but still eventually works. `cx.start` is much more reliable. Relates to https://github.com/rtfm-rs/cortex-m-rtfm/issues/196
2020-05-13Update app.mdKENTARO OKUDA
2020-04-22Merge #306bors[bot]
306: Retain cfg-attributes on resources r=korken89 a=AfoHT When rust 1.43 lands as stable this will resolve #301 and allow for the kind of conditional compilation exemplified in the issue. Tested on beta and nightly. Co-authored-by: Henrik Tjäder <henrik@tjaders.com>
2020-04-22Retain cfg-attributes on resourcesHenrik Tjäder
2020-04-21Merge #307bors[bot]
307: Use build.rs for conditional compilation r=korken89 a=AfoHT Extend the current test suite to allow for running tests on newer rustc-versions than current MSRV. Required by #306 to add special tests for future MSRV. To exclude an example from the regular non-nightly testing: ``` #![no_main] #![no_std] #[cfg(rustc_is_nightly)] mod example { use panic_halt as _; #[rtfm::app(device = lm3s6965)] const APP: () = { <more code> } } ``` Co-authored-by: Henrik Tjäder <henrik@tjaders.com>
2020-04-21Temporarily disable extra test stub since tests are not merged yetHenrik Tjäder
2020-04-21Remove reference to exampleHenrik Tjäder
This example will be reintroduced in #306 instead
2020-04-20Use buildrs for conditional compilationHenrik Tjäder
2020-04-14Merge #305bors[bot]
305: Updated dead links to SLEEPONEXIT reference on developer.arm.com r=korken89 a=FluenTech Co-authored-by: Peter Taylor <40178570+FluenTech@users.noreply.github.com>
2020-04-13fix SLEEPONEXIT reference link in Russian versionPeter Taylor
2020-04-13correct SLEEPONEXIT reference linkPeter Taylor
2020-01-28Merge #297bors[bot]
297: Reference the correct example in the by-example book r=japaric a=AfoHT closes #298 Co-authored-by: Henrik Tjäder <henrik@tjaders.com>
2020-01-24Merge #294bors[bot]
294: use the safe DWT::unlock API r=korken89 a=japaric instead of a unsafe write_volatile call Co-authored-by: Jorge Aparicio <jorge@japaric.io>
2020-01-24Reference the correct exampleHenrik Tjäder
2020-01-24Merge #295bors[bot]
295: docs: do not use Instant::now in #[init] r=korken89 a=japaric Co-authored-by: Jorge Aparicio <jorge@japaric.io>
2020-01-21docs: do not use Instant::now in #[init]Jorge Aparicio
2020-01-21use the safe DWT::unlock APIJorge Aparicio
instead of a unsafe write_volatile call
2019-12-04Merge #284bors[bot]
284: book, Russian lang: fix "idle not defined" typo r=burbull a=kolen Fix typo in Russian translation of book, was "When idle function is declared", should be "When no idle function is declared" "не" means "not". Corresponding text in English: ```markdown When no `idle` function is declared, the runtime sets the [SLEEPONEXIT] bit and then sends the microcontroller to sleep after running `init`. ``` Co-authored-by: Konstantin Mochalov <incredible.angst@gmail.com>
2019-12-04book, Russian lang: fix "idle not defined" typoKonstantin Mochalov
Fix typo in Russian translation of book, was "When idle function is declared", should be "When no idle function is declared"