Commit Graph

871 Commits

Author SHA1 Message Date
Robert Jördens fc93de432d enable cycle counter
c.f. japaric/cortex-m-rtfm#184

Signed-off-by: Robert Jördens <rj@quartiq.de>
2019-09-11 15:35:06 +02:00
Chris Ballance 30faa5b703 read MAC address from EEPROM 2019-09-08 16:02:09 +01:00
Chris Ballance 12b06a0fa9 add I2C and 24xx EEPROM driver 2019-09-05 12:45:57 +01:00
dependabot-preview[bot] 379df82800
build(deps): bump heapless from 0.5.0 to 0.5.1
Bumps [heapless](https://github.com/japaric/heapless) from 0.5.0 to 0.5.1.
- [Release notes](https://github.com/japaric/heapless/releases)
- [Changelog](https://github.com/japaric/heapless/blob/master/CHANGELOG.md)
- [Commits](https://github.com/japaric/heapless/compare/v0.5.0...v0.5.1)

Signed-off-by: dependabot-preview[bot] <support@dependabot.com>
2019-09-04 18:18:03 +00:00
bors[bot] bc14409f44
Merge #27
27: build(deps): bump cortex-m-log from 0.6.0 to 0.6.1 r=jordens a=dependabot-preview[bot]

Bumps [cortex-m-log](https://github.com/DoumanAsh/cortex-m-log) from 0.6.0 to 0.6.1.
<details>
<summary>Commits</summary>

- See full diff in [compare view](https://github.com/DoumanAsh/cortex-m-log/commits)
</details>
<br />

[![Dependabot compatibility score](https://api.dependabot.com/badges/compatibility_score?dependency-name=cortex-m-log&package-manager=cargo&previous-version=0.6.0&new-version=0.6.1)](https://dependabot.com/compatibility-score.html?dependency-name=cortex-m-log&package-manager=cargo&previous-version=0.6.0&new-version=0.6.1)

Dependabot will resolve any conflicts with this PR as long as you don't alter it yourself. You can also trigger a rebase manually by commenting `@dependabot rebase`.

[//]: # (dependabot-automerge-start)
[//]: # (dependabot-automerge-end)

---

<details>
<summary>Dependabot commands and options</summary>
<br />

You can trigger Dependabot actions by commenting on this PR:
- `@dependabot rebase` will rebase this PR
- `@dependabot recreate` will recreate this PR, overwriting any edits that have been made to it
- `@dependabot merge` will merge this PR after your CI passes on it
- `@dependabot squash and merge` will squash and merge this PR after your CI passes on it
- `@dependabot cancel merge` will cancel a previously requested merge and block automerging
- `@dependabot reopen` will reopen this PR if it is closed
- `@dependabot close` will close this PR and stop Dependabot recreating it. You can achieve the same result by closing it manually
- `@dependabot ignore this major version` will close this PR and stop Dependabot creating any more for this major version (unless you reopen the PR or upgrade to it yourself)
- `@dependabot ignore this minor version` will close this PR and stop Dependabot creating any more for this minor version (unless you reopen the PR or upgrade to it yourself)
- `@dependabot ignore this dependency` will close this PR and stop Dependabot creating any more for this dependency (unless you reopen the PR or upgrade to it yourself)
- `@dependabot use these labels` will set the current labels as the default for future PRs for this repo and language
- `@dependabot use these reviewers` will set the current reviewers as the default for future PRs for this repo and language
- `@dependabot use these assignees` will set the current assignees as the default for future PRs for this repo and language
- `@dependabot use this milestone` will set the current milestone as the default for future PRs for this repo and language
- `@dependabot badge me` will comment on this PR with code to add a "Dependabot enabled" badge to your readme

Additionally, you can set the following in your Dependabot [dashboard](https://app.dependabot.com):
- Update frequency (including time of day and day of week)
- Automerge options (never/patch/minor, and dev/runtime dependencies)
- Pull request limits (per update run and/or open at any time)
- Out-of-range updates (receive only lockfile updates, if desired)
- Security updates (receive only security updates, if desired)

Finally, you can contact us by mentioning @dependabot.

</details>

Co-authored-by: dependabot-preview[bot] <27856297+dependabot-preview[bot]@users.noreply.github.com>
2019-09-04 18:09:43 +00:00
dependabot-preview[bot] 4cb46adc38
build(deps): bump cortex-m-log from 0.6.0 to 0.6.1
Bumps [cortex-m-log](https://github.com/DoumanAsh/cortex-m-log) from 0.6.0 to 0.6.1.
- [Release notes](https://github.com/DoumanAsh/cortex-m-log/releases)
- [Commits](https://github.com/DoumanAsh/cortex-m-log/commits)

Signed-off-by: dependabot-preview[bot] <support@dependabot.com>
2019-09-04 04:33:14 +00:00
Robert Jördens ba5634fb31 smoltcp: bump 2019-08-27 13:19:03 +00:00
Robert Jördens 1405e62682 rtfm: 0.5 beta 2019-08-27 13:19:03 +00:00
bors[bot] 4cd83242f7
Merge #21
21: build(deps): bump serde from 1.0.98 to 1.0.99 r=jordens a=dependabot-preview[bot]

Bumps [serde](https://github.com/serde-rs/serde) from 1.0.98 to 1.0.99.
<details>
<summary>Release notes</summary>

*Sourced from [serde's releases](https://github.com/serde-rs/serde/releases).*

> ## v1.0.99
> - Update Syn dependency to 1.0.
> 
>     *Note: This raises the minimum required compiler version for serde_derive from rustc 1.15 to rustc 1.31. The minimum required compiler version for serde remains at rustc 1.13.*
</details>
<details>
<summary>Commits</summary>

- [`192f5cd`](192f5cd647) Release 1.0.99
- [`7dceee6`](7dceee64fe) Merge pull request [#1591](https://github-redirect.dependabot.com/serde-rs/serde/issues/1591) from dtolnay/up
- [`8ad6ae7`](8ad6ae71c6) Update serde_derive minimum rustc version to 1.31
- [`3ea85a2`](3ea85a28cf) Update to syn/quote 1.0
- [`273ecdb`](273ecdb786) Update ui tests on nightly-2019-08-16
- [`de40eb7`](de40eb7306) Update serde_derive to use question mark
- [`b9c4407`](b9c44073ce) Update serde_test to use question mark
- [`d6e5947`](d6e5947ad2) Suppress warnings about try! macro
- [`668651e`](668651ee01) Format with rustfmt 2019-07-30
- [`fb1cacc`](fb1cacc10e) Update Attr structs to hold symbols
- Additional commits viewable in [compare view](https://github.com/serde-rs/serde/compare/v1.0.98...v1.0.99)
</details>
<br />

[![Dependabot compatibility score](https://api.dependabot.com/badges/compatibility_score?dependency-name=serde&package-manager=cargo&previous-version=1.0.98&new-version=1.0.99)](https://dependabot.com/compatibility-score.html?dependency-name=serde&package-manager=cargo&previous-version=1.0.98&new-version=1.0.99)

Dependabot will resolve any conflicts with this PR as long as you don't alter it yourself. You can also trigger a rebase manually by commenting `@dependabot rebase`.

[//]: # (dependabot-automerge-start)
[//]: # (dependabot-automerge-end)

---

<details>
<summary>Dependabot commands and options</summary>
<br />

You can trigger Dependabot actions by commenting on this PR:
- `@dependabot rebase` will rebase this PR
- `@dependabot recreate` will recreate this PR, overwriting any edits that have been made to it
- `@dependabot merge` will merge this PR after your CI passes on it
- `@dependabot squash and merge` will squash and merge this PR after your CI passes on it
- `@dependabot cancel merge` will cancel a previously requested merge and block automerging
- `@dependabot reopen` will reopen this PR if it is closed
- `@dependabot close` will close this PR and stop Dependabot recreating it. You can achieve the same result by closing it manually
- `@dependabot ignore this major version` will close this PR and stop Dependabot creating any more for this major version (unless you reopen the PR or upgrade to it yourself)
- `@dependabot ignore this minor version` will close this PR and stop Dependabot creating any more for this minor version (unless you reopen the PR or upgrade to it yourself)
- `@dependabot ignore this dependency` will close this PR and stop Dependabot creating any more for this dependency (unless you reopen the PR or upgrade to it yourself)
- `@dependabot use these labels` will set the current labels as the default for future PRs for this repo and language
- `@dependabot use these reviewers` will set the current reviewers as the default for future PRs for this repo and language
- `@dependabot use these assignees` will set the current assignees as the default for future PRs for this repo and language
- `@dependabot use this milestone` will set the current milestone as the default for future PRs for this repo and language
- `@dependabot badge me` will comment on this PR with code to add a "Dependabot enabled" badge to your readme

Additionally, you can set the following in your Dependabot [dashboard](https://app.dependabot.com):
- Update frequency (including time of day and day of week)
- Automerge options (never/patch/minor, and dev/runtime dependencies)
- Pull request limits (per update run and/or open at any time)
- Out-of-range updates (receive only lockfile updates, if desired)
- Security updates (receive only security updates, if desired)

Finally, you can contact us by mentioning @dependabot.

</details>

Co-authored-by: dependabot-preview[bot] <27856297+dependabot-preview[bot]@users.noreply.github.com>
2019-08-25 13:58:53 +00:00
bors[bot] b53c6a1649
Merge #22
22: build(deps): bump cortex-m from 0.6.0 to 0.6.1 r=jordens a=dependabot-preview[bot]

Bumps [cortex-m](https://github.com/japaric/cortex-m) from 0.6.0 to 0.6.1.
<details>
<summary>Changelog</summary>

*Sourced from [cortex-m's changelog](https://github.com/rust-embedded/cortex-m/blob/master/CHANGELOG.md).*

> ## [v0.6.1] - 2019-08-21
> 
> ### Fixed
> 
> - Better `Debug`, `PartialEq` and `Eq` for more types
> - The `delay` function is fixed for Cortex-M0 MCUs
> 
> ### Added
> 
> - Static version of `system_reset` as `system_reset2`
> - Now uses `links = "cortex-m"` to not link multiple versions of the crate
> - Masking of the NVIC is added `NVIC::{mask,unmask}`
> - Now Rust 2018 edition
> - `{M,P}SPLIM` access is now possible on ARMv8-M
> 
> ### Deprecation
> 
> - `system_reset` is deprecated in favor of `sys_reset`
</details>
<details>
<summary>Commits</summary>

- [`12bcb8b`](12bcb8b663) Merge [#162](https://github-redirect.dependabot.com/japaric/cortex-m/issues/162)
- [`eff7efc`](eff7efc698) 0.6.1 release
- [`e79a0c9`](e79a0c97bb) Merge [#161](https://github-redirect.dependabot.com/japaric/cortex-m/issues/161)
- [`57d44f6`](57d44f6648) Add {M,P}SPLIM access routines found on ARMv8-M
- [`1aa7d5d`](1aa7d5dba9) Merge [#160](https://github-redirect.dependabot.com/japaric/cortex-m/issues/160)
- [`9987c6f`](9987c6f9e7) Fix missing `crate::`
- [`ac7eaef`](ac7eaef31a) Update for 2018 edition
- [`6a21391`](6a213910f7) Merge [#159](https://github-redirect.dependabot.com/japaric/cortex-m/issues/159)
- [`548670a`](548670a208) Defer edition-2018 for another PR
- [`b431523`](b431523dfc) Re-add unused const-fn function to preserve backwards compatibility
- Additional commits viewable in [compare view](https://github.com/japaric/cortex-m/compare/v0.6.0...v0.6.1)
</details>
<br />

[![Dependabot compatibility score](https://api.dependabot.com/badges/compatibility_score?dependency-name=cortex-m&package-manager=cargo&previous-version=0.6.0&new-version=0.6.1)](https://dependabot.com/compatibility-score.html?dependency-name=cortex-m&package-manager=cargo&previous-version=0.6.0&new-version=0.6.1)

Dependabot will resolve any conflicts with this PR as long as you don't alter it yourself. You can also trigger a rebase manually by commenting `@dependabot rebase`.

[//]: # (dependabot-automerge-start)
[//]: # (dependabot-automerge-end)

---

<details>
<summary>Dependabot commands and options</summary>
<br />

You can trigger Dependabot actions by commenting on this PR:
- `@dependabot rebase` will rebase this PR
- `@dependabot recreate` will recreate this PR, overwriting any edits that have been made to it
- `@dependabot merge` will merge this PR after your CI passes on it
- `@dependabot squash and merge` will squash and merge this PR after your CI passes on it
- `@dependabot cancel merge` will cancel a previously requested merge and block automerging
- `@dependabot reopen` will reopen this PR if it is closed
- `@dependabot close` will close this PR and stop Dependabot recreating it. You can achieve the same result by closing it manually
- `@dependabot ignore this major version` will close this PR and stop Dependabot creating any more for this major version (unless you reopen the PR or upgrade to it yourself)
- `@dependabot ignore this minor version` will close this PR and stop Dependabot creating any more for this minor version (unless you reopen the PR or upgrade to it yourself)
- `@dependabot ignore this dependency` will close this PR and stop Dependabot creating any more for this dependency (unless you reopen the PR or upgrade to it yourself)
- `@dependabot use these labels` will set the current labels as the default for future PRs for this repo and language
- `@dependabot use these reviewers` will set the current reviewers as the default for future PRs for this repo and language
- `@dependabot use these assignees` will set the current assignees as the default for future PRs for this repo and language
- `@dependabot use this milestone` will set the current milestone as the default for future PRs for this repo and language
- `@dependabot badge me` will comment on this PR with code to add a "Dependabot enabled" badge to your readme

Additionally, you can set the following in your Dependabot [dashboard](https://app.dependabot.com):
- Update frequency (including time of day and day of week)
- Automerge options (never/patch/minor, and dev/runtime dependencies)
- Pull request limits (per update run and/or open at any time)
- Out-of-range updates (receive only lockfile updates, if desired)
- Security updates (receive only security updates, if desired)

Finally, you can contact us by mentioning @dependabot.

</details>

Co-authored-by: dependabot-preview[bot] <27856297+dependabot-preview[bot]@users.noreply.github.com>
2019-08-25 13:53:04 +00:00
dependabot-preview[bot] fe513ec566
build(deps): bump cortex-m from 0.6.0 to 0.6.1
Bumps [cortex-m](https://github.com/japaric/cortex-m) from 0.6.0 to 0.6.1.
- [Release notes](https://github.com/japaric/cortex-m/releases)
- [Changelog](https://github.com/rust-embedded/cortex-m/blob/master/CHANGELOG.md)
- [Commits](https://github.com/japaric/cortex-m/compare/v0.6.0...v0.6.1)

Signed-off-by: dependabot-preview[bot] <support@dependabot.com>
2019-08-22 04:37:45 +00:00
dependabot-preview[bot] 70e58bfbb6
build(deps): bump serde from 1.0.98 to 1.0.99
Bumps [serde](https://github.com/serde-rs/serde) from 1.0.98 to 1.0.99.
- [Release notes](https://github.com/serde-rs/serde/releases)
- [Commits](https://github.com/serde-rs/serde/compare/v1.0.98...v1.0.99)

Signed-off-by: dependabot-preview[bot] <support@dependabot.com>
2019-08-19 04:55:32 +00:00
bors[bot] fdfb8fb142 Merge #6
6: build(deps): bump cortex-m-log from 0.5.0 to 0.6.0 r=jordens a=dependabot-preview[bot]

Bumps [cortex-m-log](https://github.com/DoumanAsh/cortex-m-log) from 0.5.0 to 0.6.0.
<details>
<summary>Commits</summary>

- See full diff in [compare view](https://github.com/DoumanAsh/cortex-m-log/commits)
</details>
<br />

[![Dependabot compatibility score](https://api.dependabot.com/badges/compatibility_score?dependency-name=cortex-m-log&package-manager=cargo&previous-version=0.5.0&new-version=0.6.0)](https://dependabot.com/compatibility-score.html?dependency-name=cortex-m-log&package-manager=cargo&previous-version=0.5.0&new-version=0.6.0)

Dependabot will resolve any conflicts with this PR as long as you don't alter it yourself. You can also trigger a rebase manually by commenting `@dependabot rebase`.

[//]: # (dependabot-automerge-start)
[//]: # (dependabot-automerge-end)

---

**Note:** This repo was added to Dependabot recently, so you'll receive a maximum of 5 PRs for your first few update runs. Once an update run creates fewer than 5 PRs we'll remove that limit.

You can always request more updates by clicking `Bump now` in your [Dependabot dashboard](https://app.dependabot.com).

<details>
<summary>Dependabot commands and options</summary>
<br />

You can trigger Dependabot actions by commenting on this PR:
- `@dependabot rebase` will rebase this PR
- `@dependabot recreate` will recreate this PR, overwriting any edits that have been made to it
- `@dependabot merge` will merge this PR after your CI passes on it
- `@dependabot squash and merge` will squash and merge this PR after your CI passes on it
- `@dependabot cancel merge` will cancel a previously requested merge and block automerging
- `@dependabot reopen` will reopen this PR if it is closed
- `@dependabot ignore this [patch|minor|major] version` will close this PR and stop Dependabot creating any more for this minor/major version (unless you reopen the PR or upgrade to it yourself)
- `@dependabot ignore this dependency` will close this PR and stop Dependabot creating any more for this dependency (unless you reopen the PR or upgrade to it yourself)
- `@dependabot use these labels` will set the current labels as the default for future PRs for this repo and language
- `@dependabot use these reviewers` will set the current reviewers as the default for future PRs for this repo and language
- `@dependabot use these assignees` will set the current assignees as the default for future PRs for this repo and language
- `@dependabot use this milestone` will set the current milestone as the default for future PRs for this repo and language
- `@dependabot badge me` will comment on this PR with code to add a "Dependabot enabled" badge to your readme

Additionally, you can set the following in your Dependabot [dashboard](https://app.dependabot.com):
- Update frequency (including time of day and day of week)
- Automerge options (never/patch/minor, and dev/runtime dependencies)
- Pull request limits (per update run and/or open at any time)
- Out-of-range updates (receive only lockfile updates, if desired)
- Security updates (receive only security updates, if desired)

Finally, you can contact us by mentioning @dependabot.

</details>

Co-authored-by: dependabot-preview[bot] <27856297+dependabot-preview[bot]@users.noreply.github.com>
2019-08-06 12:40:58 +00:00
dependabot-preview[bot] e3041dbc67
build(deps): bump cortex-m-log from 0.5.0 to 0.6.0
Bumps [cortex-m-log](https://github.com/DoumanAsh/cortex-m-log) from 0.5.0 to 0.6.0.
- [Release notes](https://github.com/DoumanAsh/cortex-m-log/releases)
- [Commits](https://github.com/DoumanAsh/cortex-m-log/commits)
2019-08-06 12:39:02 +00:00
Robert Jördens 52e59b69c2 Merge branch 'rtfm'
* rtfm: (21 commits)
  cargo: bump stm32h7, misc
  cargo: update
  panic: abort, not halt
  fix panic handler
  panic: turn red leds on
  bump heapless
  gpio: use odr variants
  parametrize poll return
  make json poll generic
  cargo: update
  rtfm: command port
  rtfm: status port
  rtfm: move ethernet into idle
  rtfm: continue work
  use rtfm [wip]
  ethernet peripheral ownership, cs
  pac: rcc
  pac updates (~0.8)
  stm32h7 svd and pac changes
  new stm32h7 pac
  ...
2019-08-06 14:37:12 +02:00
Robert Jördens 61250a3e90 cargo: bump stm32h7, misc 2019-07-29 08:34:46 +00:00
Robert Jördens 737dc9ee49 cargo: update 2019-07-15 16:07:46 +00:00
Robert Jördens 1cc31f9a6b cleanup bors 2019-07-02 11:30:18 +02:00
Robert Jördens cd343e7f7b add bors 2019-07-02 11:25:43 +02:00
Robert Jördens dd981ed850 panic: abort, not halt 2019-06-10 00:29:20 +02:00
Robert Jördens 9b6ef68eac fix panic handler 2019-06-07 14:28:22 +00:00
Robert Jördens d9aa3f4401 README: add note about debug 2019-06-07 11:55:10 +02:00
Robert Jördens 84a97e52bf README: simplify dfu command 2019-06-07 11:35:00 +02:00
Robert Jördens 8ee0950005 panic: turn red leds on 2019-06-07 11:26:24 +02:00
Robert Jördens a8e2d616bb bump heapless 2019-06-07 11:17:21 +02:00
Robert Jördens 102cc06db6 README: more dfu util usage instructions
thanks to airwoodix
2019-06-07 10:17:50 +02:00
Robert Jördens 826230ca38 add notes about alternative flash methods 2019-06-06 09:40:17 +02:00
Robert Jördens 5204a3169b gpio: use odr variants 2019-06-04 09:26:28 +00:00
Robert Jördens a8e1740759 parametrize poll return 2019-06-03 17:08:21 +00:00
Robert Jördens ee15c27dd9 make json poll generic 2019-06-03 15:54:35 +00:00
Robert Jördens a575611e82 add bors 2019-06-03 17:22:38 +02:00
Robert Jördens 91a7dda633 cargo: update 2019-06-03 15:14:04 +00:00
Robert Jördens 6c973038b4 rtfm: command port 2019-06-03 15:06:11 +00:00
Robert Jördens 2b9a02d98e rtfm: status port 2019-05-30 21:52:01 +00:00
Robert Jördens b646c44c1c rtfm: move ethernet into idle 2019-05-30 20:57:41 +00:00
Robert Jördens 6be0ccfc6a rtfm: continue work 2019-05-30 16:18:59 +00:00
Robert Jördens 7501ea1963 use rtfm [wip] 2019-05-30 16:03:48 +00:00
Robert Jördens f0ec1e37fc Merge branch 'master' into new-pac
* master:
  bump serde-json-core
  v0.2.0
  add changelog
  remove nix stuff
2019-05-30 13:50:42 +00:00
Robert Jördens cc5f2233f7 README: add cable note 2019-05-29 16:25:45 +02:00
Robert Jördens 809ddac1db bump serde-json-core 2019-05-28 17:38:23 +02:00
Robert Jördens cf8d92b30e v0.2.0 2019-05-28 13:23:31 +02:00
Robert Jördens 2d37f8fc44 add changelog 2019-05-28 13:23:31 +02:00
Robert Jördens 86bb956ebc remove nix stuff 2019-05-28 13:12:49 +02:00
Robert Jördens 9dff71a0c4 Merge branch 'master' into new-pac
* master:
  refactor server
  cleanup, robustify
  iir: remove old setting
  frontend: cleanup
  cargo: use published serde-json-core
  cargo: drop lexical
2019-05-28 11:02:26 +00:00
Robert Jördens b0921f67eb refactor server 2019-05-28 10:59:26 +00:00
Robert Jördens 1cff400d00 cleanup, robustify 2019-05-28 10:15:20 +00:00
Robert Jördens a15b490b42 iir: remove old setting 2019-05-28 09:49:17 +00:00
Robert Jördens cdb57d72fa frontend: cleanup 2019-05-28 09:49:07 +00:00
Robert Jördens 6d927f99d9 cargo: use published serde-json-core 2019-05-28 08:40:17 +00:00
Robert Jördens c076456fc4 cargo: drop lexical 2019-05-28 08:34:42 +00:00