rust-card10 merge requestshttps://git.flow3r.garden/astro/rust-card10/-/merge_requests2019-08-22T18:24:21Zhttps://git.flow3r.garden/astro/rust-card10/-/merge_requests/1Explain that one needs to fetch the submodules in README2019-08-22T18:24:21ZR. NestlerExplain that one needs to fetch the submodules in READMEhttps://git.flow3r.garden/astro/rust-card10/-/merge_requests/2Some more s/eabihf/eabi/2019-08-22T18:24:22ZDaniloSome more s/eabihf/eabi/Some occurrences were still missing.Some occurrences were still missing.https://git.flow3r.garden/astro/rust-card10/-/merge_requests/3Document prerequisites on Arch Linux2019-08-22T18:24:23ZDaniloDocument prerequisites on Arch Linuxhttps://git.flow3r.garden/astro/rust-card10/-/merge_requests/4Add glibc_multi to build input, multiStdenv is not needed anymore2019-08-23T15:01:15Ztoon nootAdd glibc_multi to build input, multiStdenv is not needed anymoreThis enables me to build the example and rkanoid in nix-shell. I'm a bit confused, this should do the same thing:
```
multiStdenv.mkDerivation {
buildInputs = [
glibc
...
]
...
};
```
But this doesn't work for me.This enables me to build the example and rkanoid in nix-shell. I'm a bit confused, this should do the same thing:
```
multiStdenv.mkDerivation {
buildInputs = [
glibc
...
]
...
};
```
But this doesn't work for me.https://git.flow3r.garden/astro/rust-card10/-/merge_requests/5Update firmware to v1.52019-08-23T16:38:40ZrndUpdate firmware to v1.5https://git.flow3r.garden/astro/rust-card10/-/merge_requests/6add default workspace-members to build from root2019-08-23T16:48:33ZKloenkadd default workspace-members to build from rootautomaticly build example and rkanoid when build from root directoryautomaticly build example and rkanoid when build from root directoryAstroastro@spaceboyz.netAstroastro@spaceboyz.nethttps://git.flow3r.garden/astro/rust-card10/-/merge_requests/7Readme: Turn references into links.2019-08-24T01:14:13ZPuzzlewolfReadme: Turn references into links.For convenience, replace quoted text by links.For convenience, replace quoted text by links.https://git.flow3r.garden/astro/rust-card10/-/merge_requests/8Add erorr handling for BHI160 sensors.2019-08-24T10:34:10ZrndAdd erorr handling for BHI160 sensors.Introduces an error type for bhi160 related methods and update
potential failing methods to return results. This should ensure that
it is not possible to encounter a panic during sensor interaction.
This will also:
- introduce `errno`...Introduces an error type for bhi160 related methods and update
potential failing methods to return results. This should ensure that
it is not possible to encounter a panic during sensor interaction.
This will also:
- introduce `errno` constants,
- add minor cleanups in `bhi160.rs`,
- update the example to use the `?` operator instead of `unwrap()`.https://git.flow3r.garden/astro/rust-card10/-/merge_requests/11Correct the target architecture in the build command.2019-08-24T13:18:05ZPuzzlewolfCorrect the target architecture in the build command.https://git.flow3r.garden/astro/rust-card10/-/merge_requests/12Fix redundant import of core::fmt::Write2019-08-26T22:54:34ZR. NestlerFix redundant import of core::fmt::Writehttps://git.flow3r.garden/astro/rust-card10/-/merge_requests/14Fix bhi160::SensorDataIter2019-08-28T21:09:29ZPuzzlewolfFix bhi160::SensorDataIterincrease internal position at end of next function instead of at beginning
fixes #7
Tested on firmware version 1.7 with the example app.increase internal position at end of next function instead of at beginning
fixes #7
Tested on firmware version 1.7 with the example app.https://git.flow3r.garden/astro/rust-card10/-/merge_requests/15Make fields in SensorDataItem public2019-08-28T21:21:20ZPuzzlewolfMake fields in SensorDataItem publicThis allows projects using the (card10-)l0dable crate to actually access the sensor data.This allows projects using the (card10-)l0dable crate to actually access the sensor data.https://git.flow3r.garden/astro/rust-card10/-/merge_requests/16Prevent creation of LightSensor outside of the module2019-08-29T18:02:35ZlilpepPrevent creation of LightSensor outside of the moduleThis is a minor fix that prevents calling `epic_light_sensor_stop` without prior calling of `epic_light_sensor_run`.
This is possible now by merely having something like:
```rust
let _ = LightSensor;
```This is a minor fix that prevents calling `epic_light_sensor_stop` without prior calling of `epic_light_sensor_run`.
This is possible now by merely having something like:
```rust
let _ = LightSensor;
```https://git.flow3r.garden/astro/rust-card10/-/merge_requests/13Introduce card10-sys.2019-09-03T17:26:09ZrndIntroduce card10-sys.This should fix the problems encountered in !9.
The main issue there seems to be that the crates.io version is not able to access the content of the firmware even if the directory is listed inside the `includes` attribute of the manif...This should fix the problems encountered in !9.
The main issue there seems to be that the crates.io version is not able to access the content of the firmware even if the directory is listed inside the `includes` attribute of the manifest file. This is most likely related to the fact that the relative path points towards the parent directory and not a sub directory.
The fix would be to move the `c` sub-module into the `l0dable` crate. As a part of this merge request also splits the crate into two independent ones as it allows to update the API and the HAL independently.
---
Next to this: I am still not fully sure if the handling for `l0dable.ld`, `crt.s` and the `Reset_Handler` function should be part of `card10-sys` or `card10-l0dable`. Right now I moved them all over to the sys package as it allowed to move the whole build script from one crate into the other.https://git.flow3r.garden/astro/rust-card10/-/merge_requests/17keep the raw values in SensorDataItem2019-09-03T17:30:47ZPuzzlewolfkeep the raw values in SensorDataItem- parameterize the SensorDataItem with the SensorType
- change the fields to i16
- add getters for the converted values
implements #10
This changes the Debug represenation of SensorDataItem. I could implement `Debug` using the gette...- parameterize the SensorDataItem with the SensorType
- change the fields to i16
- add getters for the converted values
implements #10
This changes the Debug represenation of SensorDataItem. I could implement `Debug` using the getters. @astro What do you think?https://git.flow3r.garden/astro/rust-card10/-/merge_requests/20Support drawing images to display2019-09-04T22:25:10ZRafael CaricioSupport drawing images to displayI was looking for an easy way to allow drawing images to the display. I found the embedded graphics library that supports images and also contains a series of interesting features we would be able to use like primitives drawing and other...I was looking for an easy way to allow drawing images to the display. I found the embedded graphics library that supports images and also contains a series of interesting features we would be able to use like primitives drawing and other fonts. I think it's an interesting addition to this project.
Anyways, thank you for the great rust support on card10! :)https://git.flow3r.garden/astro/rust-card10/-/merge_requests/21leds: add support for the rocket LEDs2019-09-24T02:32:24ZCasey Cleds: add support for the rocket LEDshttps://git.flow3r.garden/astro/rust-card10/-/merge_requests/23sys: write panic message to uart2020-03-21T20:36:18ZAristsys: write panic message to uarthttps://git.flow3r.garden/astro/rust-card10/-/merge_requests/25firmware: update to v1.15 + MAX861502020-03-22T22:42:42ZAristfirmware: update to v1.15 + MAX86150Update firmware bindings to support MAX86150Update firmware bindings to support MAX86150https://git.flow3r.garden/astro/rust-card10/-/merge_requests/24patch alloc-cortex-m2020-03-22T22:44:26ZAristpatch alloc-cortex-mFix compilation for 1.44.0-nightly by using latest version of alloc-cortex-m.Fix compilation for 1.44.0-nightly by using latest version of alloc-cortex-m.