Marc Poulhiès
34d2ee36e2
Implement FullDuplex for SPI and add check_errors method
...
check_errors only checks for Overrun, CRC error and ModeFault flags.
2 years ago
Daniel Egger
2bb8bb9637
Merge pull request #126 from matoushybl/update-dependencies
...
Update dependency versions.
2 years ago
Matous Hybl
5f656df6dc
Update dependency versions.
2 years ago
Daniel Egger
e679ab190f
Bump version to 0.17.1 and release it
...
Signed-off-by: Daniel Egger <daniel@eggers-club.de>
2 years ago
Daniel Egger
48d1b9a161
Merge pull request #120 from evils/complete_TscPin
...
implement TscPin for remaining touch pins
2 years ago
Evils
0246e90e57
implement TscPin for remaining touch pins
2 years ago
Roman Valls Guimera
0bbb50f5fa
Move usb-remap internals for certain ICs to USB enable() ( #119 )
...
Move usb-remap internals for certain ICs to USB enable()
2 years ago
Daniel Egger
86ecf612f5
Enable USB features in CI
...
Signed-off-by: Daniel Egger <daniel@eggers-club.de>
3 years ago
Daniel Egger
87a9955ce4
Merge pull request #117 from stm32-rs/release-0.17.0
...
Bump version to 0.17.0 and prepare release
3 years ago
Daniel Egger
77f4eedcd8
Bump version to 0.17.0 and prepare release
...
Signed-off-by: Daniel Egger <daniel@eggers-club.de>
3 years ago
Daniel Egger
ed4067b076
Fix inconsistent comment
...
Signed-off-by: Daniel Egger <daniel@eggers-club.de>
3 years ago
Dimitri Polonski
16272ef716
fix typo
3 years ago
Torkel Danielsson
bd8c2758ee
fix warning
3 years ago
Torkel Danielsson
26d2148ee9
fix check errors
3 years ago
Torkel Danielsson
db7428d398
Reduce the scope of some critical sections in the examples
3 years ago
Daniel Egger
be4250e6ee
Merge pull request #114 from torkeldanielsson/stm32_rs_0_11
...
Updated stm32f0 dependency to v0.11
3 years ago
Daniel Egger
b3a312ee5b
Create bors.toml
3 years ago
Daniel Egger
b1c7ae0a92
Adjust branch configuration for CI
3 years ago
Daniel Egger
0951dad727
Adjust branch configuration for CI
3 years ago
Daniel Egger
8c7f38f16b
Adjust branch configuration for CI
3 years ago
Daniel Egger
ad16336475
Merge pull request #115 from Pagten/dont-depend-on-cortex-m-rt
...
Make cortex-m-rt a dev-dependency only
3 years ago
Pieter Agten
c23640c84b
Make cortex-m-rt a dev-dependency only
3 years ago
Torkel Danielsson
44607e3de0
Updated stm32f0 dependency to v0.11
3 years ago
Daniel Egger
6a576da322
Made I2C more resilient by handling more error conditions ( #95 )
...
Signed-off-by: Daniel Egger <daniel@eggers-club.de>
3 years ago
Daniel Egger
8195927373
Only build PRs once
...
Signed-off-by: Daniel Egger <daniel@eggers-club.de>
3 years ago
Daniel Egger
19452656e8
Add link to repository behind CI badge
3 years ago
Daniel Egger
2ba2f8c413
Use GH actions badge for CI
3 years ago
Daniel Egger
0d847798ce
We're now using GH actions for CI, travis be gone
3 years ago
Daniel Egger
8cee11620b
Merge pull request #110 from stm32-rs/GH-actions-CI
...
Use GH actions for CI
3 years ago
Daniel Egger
a83c627d8e
Use GH actions for CI
3 years ago
Daniel Egger
91bb5d8418
Fix clippy lints
...
Signed-off-by: Daniel Egger <daniel@eggers-club.de>
3 years ago
Daniel Egger
f2986badc1
Ran rustfmt over all code
...
Signed-off-by: Daniel Egger <daniel@eggers-club.de>
3 years ago
Daniel Egger
9e96a9e772
Add github actions to check formatting and clippy lints
...
Signed-off-by: Daniel Egger <daniel@eggers-club.de>
3 years ago
Daniel Egger
52be08d441
Merge pull request #109 from richardeoin/readme-1
...
Update README.md
3 years ago
Richard Meadows
caf90e4ca3
Update README.md
...
A little less meanness to new users
3 years ago
Daniel Egger
a8d868e76f
Merge pull request #108 from stm32-rs/simplify-serial-read
...
Simplify serial `read()` error handling
3 years ago
Daniel Egger
879e4e3c77
Simplify serial `read()` error handling
...
Clearing the error bits once should suffice
Signed-off-by: Daniel Egger <daniel@eggers-club.de>
3 years ago
Daniel Egger
14e945254f
Merge pull request #106 from stm32-rs/faster-spi
...
Optimize 8-bit SPI transfers and add 16-bit SPI transfers
3 years ago
Daniel Egger
590bbbd73e
Optimize 8-bit SPI transfers and add 16-bit SPI transfers
...
Signed-off-by: Daniel Egger <daniel@eggers-club.de>
3 years ago
Daniel Egger
6ceb635c36
Merge pull request #105 from newAM/master
...
Add thumbv6m-none-eabi target to docs.
3 years ago
Alex M
798e467d83
Add thumbv6m-none-eabi target to docs.
3 years ago
Daniel Egger
976c9679cb
Merge pull request #103 from stm32-rs/stm32f0-0.10
...
Bump stm32f0 to 0.10
3 years ago
Daniel Egger
cb9581a4ed
Bump stm32f0 to 0.10
...
Signed-off-by: Daniel Egger <daniel@eggers-club.de>
3 years ago
Daniel Egger
0907de090d
Merge pull request #102 from stm32-rs/pac-instead-of-stm32
...
Soft-deprecate `stm32` for PAC access and use `pac` instead
3 years ago
Daniel Egger
c4ad05524e
Soft-deprecate `stm32` for PAC access and use `pac` instead
...
Signed-off-by: Daniel Egger <daniel@eggers-club.de>
3 years ago
Daniel Egger
7b1906848c
Merge pull request #101 from stm32-rs/infallible-instead-of-void
...
Use core::convert::Infallible instead of void::Void for USARTs
3 years ago
Daniel Egger
ae29706781
Use core::convert::Infallible instead of void::Void for USARTs
...
Signed-off-by: Daniel Egger <daniel@eggers-club.de>
3 years ago
Daniel Egger
0ff6b0c785
Merge pull request #100 from stm32-rs/stopwatch-example
...
Stopwatch example
3 years ago
Daniel Egger
2a561a279f
Add a stopwatch example
...
Signed-off-by: Daniel Egger <daniel@eggers-club.de>
3 years ago
Daniel Egger
df7c6e7c8c
Use core::mem::swap() in example to move things in/out of Mutex
...
Signed-off-by: Daniel Egger <daniel@eggers-club.de>
3 years ago
Daniel Egger
e6ae626855
Merge pull request #99 from Disasm/pac-accesses
...
Replace volatile access with pac register read/write
3 years ago
Vadim Kaushan
154495b378
Replace volatile access with pac register read/write
3 years ago
Daniel Egger
bf77bfc660
Merge pull request #98 from dbrgn/af-docs
...
Improve documentation for alternate function modes
3 years ago
Danilo Bargen
0e4998d2de
Improve documentation for alternate function modes
3 years ago
Daniel Egger
d299c1deec
More parametrisation and added section sizes as requested
...
Signed-off-by: Daniel Egger <daniel@eggers-club.de>
3 years ago
Daniel Egger
63778e9479
More refined and parametrized bloat capture scripts
...
Signed-off-by: Daniel Egger <daniel@eggers-club.de>
3 years ago
Daniel Egger
d27619fb47
Entry fir PLLSRC bits fix
3 years ago
Daniel Egger
55d8d39b48
Merge pull request #96 from Disasm/fix-clock-setup
...
Fix pllsrc bits for HSE
3 years ago
Vadim Kaushan
407bd890c9
Fix pllsrc bits for HSE
3 years ago
Daniel Egger
b6b18400c4
Release 0.16.0
...
Signed-off-by: Daniel Egger <daniel@eggers-club.de>
3 years ago
Daniel Egger
9b646d9a5d
Merge pull request #93 from stm32-rs/MSRV
...
Mention MSRV of 1.39.0 and test it in CI
3 years ago
Daniel Egger
e529a105a0
Mention MSRV of 1.39.0 and test it in CI
...
Signed-off-by: Daniel Egger <daniel@eggers-club.de>
3 years ago
Daniel Egger
6c8a0a1179
Merge pull request #92 from stm32-rs/add-another-blinky
...
Add a new timer and interrupt based blinky example
3 years ago
Daniel Egger
49dc85c295
Add a new timer and interrupt based blinky example
...
Signed-off-by: Daniel Egger <daniel@eggers-club.de>
3 years ago
Daniel Egger
8e96202d05
Merge pull request #91 from stm32-rs/fix-timer
...
Assume twice the timer frequency when HCLK != PCLK
3 years ago
Daniel Egger
53e6f73106
Assume twice the timer frequency when HCLK != PCLK
...
Internally the frequency going to the timers is doubled if PCLK is
prescaled.
Fixes #90
Signed-off-by: Daniel Egger <daniel@eggers-club.de>
3 years ago
Daniel Egger
c39da7e3f3
Moved USB driver to unreleased release
...
Closes #86
3 years ago
James Munns
b15fc1532f
Add I2C Read implementation ( #88 )
...
* Add read implementation
* Add changelog
3 years ago
Daniel Egger
4c259b9ce1
Merge pull request #87 from pigrew/pllsrc
...
RCC: Correct PLL multiplier calculations.
3 years ago
Nathan Conrad
d59291f414
Correct logic used to determine default PLL pre-divider.
3 years ago
Nathan Conrad
258134c875
Disable stm32f030 CI test.
3 years ago
Daniel Egger
0d9f0b275f
Merge pull request #85 from pigrew/usbClkSrc
...
RCC: USB source switching code.
3 years ago
Nathan Conrad
b3988e768e
RCC: USB source switching code.
3 years ago
Daniel Egger
06c983c84b
Merge pull request #84 from pigrew/hsi488_cfg
...
RCC: Only provide HSI48 & CRS in API for devices which have it
3 years ago
Nathan Conrad
8bcf488582
RCC: Only provide HSI48 in API for devices which are documented to have it.
3 years ago
Daniel Egger
6c1420e0d1
Remove costly unwrap from example
...
Signed-off-by: Daniel Egger <daniel@eggers-club.de>
3 years ago
Daniel Egger
865dc15f53
Run through rustfmt
...
Signed-off-by: Daniel Egger <daniel@eggers-club.de>
3 years ago
Daniel Egger
33fe6da6dc
Fix STM32F030/STM32F070 impl
...
Signed-off-by: Daniel Egger <daniel@eggers-club.de>
3 years ago
Daniel Egger
67e29bfa8b
Bump stm32f0 version to 0.9 and upgrade code accordingly
...
Signed-off-by: Daniel Egger <daniel@eggers-club.de>
3 years ago
Daniel Egger
88a8d83179
Merge pull request #80 from pigrew/hse_bypass
...
Add (breaking) API change to allow for HSE bypass to be selected.
3 years ago
Nathan Conrad
02278e5542
Add (breaking) API change to allow for HSE bypass to be selected.
3 years ago
Daniel Egger
8cefde6b03
Merge pull request #82 from pigrew/pll_en_fix
...
RCC: PLL: Modify CR instead of write, plus remove unnecessary unsafe
3 years ago
Nathan Conrad
3ba20dc0cb
RCC: PLL: Modify CR instead of write, plus remove unnecessary unsafe tag.
3 years ago
Daniel Egger
22ad0dc0ed
Merge pull request #81 from pigrew/Systick_returns
...
systick returns, so should be marked as such.
3 years ago
Nathan Conrad
51d7c76ee8
systick returns, so should be marked as such.
3 years ago
Daniel Egger
31b63ed92d
Merge pull request #76 from Disasm/usb-feature
...
Mention the stm32-usbd feature
3 years ago
Vadim Kaushan
150063efa1
Mention the stm32-usbd feature
3 years ago
Daniel Egger
188d18a655
Merge pull request #75 from Disasm/usb-docs
...
Generate USB docs on docs.rs
3 years ago
Vadim Kaushan
f6d087944e
Generate usb docs on docs.rs
3 years ago
Daniel Egger
0872ca4f14
Merge pull request #74 from Disasm/usb
...
Add USB driver
3 years ago
Vadim Kaushan
74670ac848
Update CHANGELOG
3 years ago
Vadim Kaushan
f9ef8c3479
Enable USB support for STM32F070x6/B
3 years ago
Vadim Kaushan
83a0e618f3
Add USB example
3 years ago
Vadim Kaushan
86c7f95c0e
Add USB driver
3 years ago
Daniel Egger
9cf30e9961
Merge pull request #73 from stm32-rs/gpios-in-one
...
Improve legibility by having a single macro structure for all pins
3 years ago
Daniel Egger
c943585403
Merge pull request #63 from stm32-rs/features/serial-clear-error
...
Clear error flags before returning
3 years ago
Daniel Egger
143f6b2bf8
Clear error flags before returning
...
Closes #61
Signed-off-by: Daniel Egger <daniel@eggers-club.de>
3 years ago
Daniel Egger
9f933af6a2
Improve legibility by having a single macro structure for all pins
...
Signed-off-by: Daniel Egger <daniel@eggers-club.de>
3 years ago
Daniel Egger
d0c81220b2
Bumped version to 0.15.2
...
Signed-off-by: Daniel Egger <daniel@eggers-club.de>
3 years ago
Daniel Egger
1310978435
Lift specificity of some dependencies and re-enabled LTO for all, yay!
...
Signed-off-by: Daniel Egger <daniel@eggers-club.de>
3 years ago
Daniel Egger
1e649bbc0b
Fix a number of clippy warnings
...
Signed-off-by: Daniel Egger <daniel@eggers-club.de>
3 years ago
Mike Panetta
4c3504c8e1
Add dac ( #70 )
...
* Added dac.rs from stm32g4xx-hal crate and modified it a bit.
* Removed IDE files.
* Fix feature gating for DAC module.
* Remove unused calibrate function from DacPin trait.
* Add feature gates for all devices that support DAC.
* Added docs and example.
* Some cleanup, fixed feature gate.
3 years ago
Daniel Egger
c944a4e882
Changed a confusing comment in an example about the event clearing
...
Signed-off-by: Daniel Egger <daniel@eggers-club.de>
3 years ago
Mattia Maldini
2a61f5092d
Added an example for i2c ( #69 )
...
* Added an example for i2c
* added more extensive comments
3 years ago
Daniel Egger
7e345c6b4c
Changed implementation to implement digital v2 interface
...
Signed-off-by: Daniel Egger <daniel@eggers-club.de>
3 years ago
Daniel Egger
2116717507
Fixed a number of deprecation warnings and lints
...
Signed-off-by: Daniel Egger <daniel@eggers-club.de>
3 years ago
Daniel Egger
ff1cea2829
Enable commented out GPIOE support which now works
...
Signed-off-by: Daniel Egger <daniel@eggers-club.de>
4 years ago
Daniel Egger
9a1ba72ed1
Extract the GPIO RegisterBlock address only once per function call
...
This improves code clarity and slightly reduces dev mode build sizes
Signed-off-by: Daniel Egger <daniel@eggers-club.de>
4 years ago
Daniel Egger
a34f6c84e6
Let capture_example_bloat script also capture dev mode sizes
...
Signed-off-by: Daniel Egger <daniel@eggers-club.de>
4 years ago
Daniel Egger
35ba490c2a
Release 0.15.1
...
Signed-off-by: Daniel Egger <daniel@eggers-club.de>
4 years ago
Daniel Egger
cf4de96aee
Clear UART errors after we've detected and reported them
...
Signed-off-by: Daniel Egger <daniel@eggers-club.de>
4 years ago
Daniel Egger
49283cff0e
Forgot to push a new header to the CHANGELOG
...
Signed-off-by: Daniel Egger <daniel@eggers-club.de>
4 years ago
Daniel Egger
4ba30c4edd
Bumped version to 0.15.0
...
Signed-off-by: Daniel Egger <daniel@eggers-club.de>
4 years ago
Daniel Egger
aec4e470d9
Added #inline(always) attributes to gpio functions
...
This has a positive effect on dev build sizes
Signed-off-by: Daniel Egger <daniel@eggers-club.de>
4 years ago
Daniel Egger
3b124efe23
Improve example to not hold on to the criticial section
...
Signed-off-by: Daniel Egger <daniel@eggers-club.de>
4 years ago
Daniel Egger
d5568bef8c
Add fancier SysTick exception example moving the data into the exception handler
...
Signed-off-by: Daniel Egger <daniel@eggers-club.de>
4 years ago
Daniel Egger
c13916c1ba
Merge pull request #67 from Maldus512/patch-1
...
Added feature specification to the README
4 years ago
Mattia Maldini
81d1565160
Added feature specification to the README
4 years ago
Daniel Egger
51f9a490bd
Merge pull request #64 from stm32-rs/0.14.1
...
Release 0.14.1
4 years ago
Daniel Egger
221c570f24
Release 0.14.1
...
Signed-off-by: Daniel Egger <daniel@eggers-club.de>
4 years ago
Daniel Egger
9c335156e2
Merge pull request #62 from stm32-rs/features/crs
...
Enable CRS support for USB
4 years ago
Daniel Egger
89d2d6f07b
Enable CRS support for USB
...
Signed-off-by: Daniel Egger <daniel@eggers-club.de>
4 years ago
Daniel Egger
0699aef12c
Merge pull request #60 from matoushybl/fix/i2c-030
...
Remove STM32F030 from devices that have I2C1 available on pins PA11 a…
4 years ago
Matous Hybl
4714c70d18
Remove STM32F030 from devices that have I2C1 available on pins PA11 and PA12.
4 years ago
Daniel Egger
88b9c8fd44
Bumped version to 0.14.0
...
Signed-off-by: Daniel Egger <daniel@eggers-club.de>
4 years ago
Daniel Egger
8fa4d3f527
Fixed warning by uppercasing static variable
...
Signed-off-by: Daniel Egger <daniel@eggers-club.de>
4 years ago
Daniel Egger
b10bbb76b0
Merge pull request #58 from jessebraham/update-stm32f0
...
Update to stm32f0 v0.7.0
4 years ago
Jesse Braham
208396d7b6
Update to stm32f0 v0.7.0
4 years ago
Daniel Egger
0420673374
Merge pull request #57 from cillian64/typo
...
Fix typo in SPI example
4 years ago
David Turner
be7084cbbe
Fix typo in SPI example
4 years ago
Daniel Egger
5ef5130b37
Merge pull request #56 from stm32-rs/0.13.0
...
Release v0.13.0
4 years ago
Daniel Egger
99c3a38c82
Release v0.13.0
...
Signed-off-by: Daniel Egger <daniel@eggers-club.de>
4 years ago
Daniel Egger
d30b844a60
Remove lto from Cargo.toml to fix nightly builds
...
Signed-off-by: Daniel Egger <daniel@eggers-club.de>
4 years ago
Daniel Egger
b4049b5323
Merge pull request #54 from stm32-rs/experimental-tsc
...
First completish version of the TSC support
4 years ago
Daniel Egger
1e040f403b
Implement TSC (touch sensitive controller) support
...
Signed-off-by: Daniel Egger <daniel@eggers-club.de>
4 years ago
Daniel Egger
cdac82c305
Merge pull request #55 from stm32-rs/fix-hsi14-init
...
Use modify instead of write for HSI14 clock setup
4 years ago
Daniel Egger
2f0fb0b09e
Use modify instead of write for HSI14 clock setup
...
Signed-off-by: Daniel Egger <daniel@eggers-club.de>
4 years ago
Daniel Egger
77a6dad00a
Improved serial write_str implementation to properly handle errors
...
Signed-off-by: Daniel Egger <daniel@eggers-club.de>
4 years ago
Daniel Egger
d0f4500481
Merge pull request #53 from HarkonenBade/adc-updates
...
Update the ADC code to take advantage of the named variants in stm32-rs v0.6.0
4 years ago
HarkonenBade
e081e82390
Update the ADC code to take advantage of the named variants in stm32-rs v0.6.0
4 years ago
Tom
1524cb1967
Update to stm32f0 - 0.6.0 ( #52 )
...
* Updated stm32f0 to 0.6.0 and neatened other deps
* Adjusted names and removed unneeded unsafe blocks
* Overhauled RCC to gate HSI48 correctly and add a selector function for it to CFGR
4 years ago
Daniel Egger
cc5dbe03e5
Merge pull request #51 from jessebraham/peripheral-review
...
Review peripherals and fix inconsistencies
4 years ago
Jesse Braham
0dccc8956c
Add self to authors
4 years ago
Jesse Braham
63bbfd3068
Review all device datasheets and fix inconsistencies
4 years ago
Daniel Egger
81f56fb4a2
Merge pull request #50 from jessebraham/stm32f0x8
...
Support stm32f0x8 line
4 years ago
Jesse Braham
1c7e2cd93b
Update CHANGELOG and README
4 years ago
Jesse Braham
e3d7111c08
Fix some long-standing errors and inconsistencies for USARTS
4 years ago
Jesse Braham
32b14bf976
Add support for stm32f098
4 years ago
Jesse Braham
fca47168d2
Add support for stm32f078
4 years ago
Jesse Braham
c79c69c0f3
Add support for stm32f058
4 years ago
Jesse Braham
e225bc0f68
Add support for stm32f048
4 years ago
Jesse Braham
95aadbbe18
Add support for stm32f038
4 years ago
Tom
7e0b205292
Add myself to authors list ( #48 )
...
* Add myself to authors list
Co-Authored-By: HarkonenBade <github@harkonen.net>
4 years ago
Daniel Egger
2dbe5cf753
Forgot to commit version change, DOH! Now 0.12.0 for real...
...
Signed-off-by: Daniel Egger <daniel@eggers-club.de>
4 years ago
Daniel Egger
f7a464f7ad
Relesed 0.12.0
...
Signed-off-by: Daniel Egger <daniel@eggers-club.de>
4 years ago
Daniel Egger
2b60666a31
Simplified examples a bit and fixed/added commentry
...
Signed-off-by: Daniel Egger <daniel@eggers-club.de>
4 years ago
Daniel Egger
0ffbce722e
Merge pull request #34 from david-sawatzke/serial_mult
...
Add a tx only and a rx only serial instance
4 years ago
David Sawatzke
c8dd9b1f81
Add documentation and update a few examples
...
Also add the `Write` implementation for Serial
4 years ago
David Sawatzke
ec1fa416e2
Move `read`, `flush` & `write` in separate functions
4 years ago
David Sawatzke
2c62bd99eb
Only enable usart tx/rx when needed
4 years ago
David Sawatzke
ee11a821a0
Add changelog entry
4 years ago
David Sawatzke
8e0179d60c
Add a tx only and a rx only serial instance
4 years ago
Daniel Egger
ac4c91b95f
Merge pull request #43 from jessebraham/stm32f0x1
...
Add support for stm32f031, stm32f051, stm32f071
4 years ago
Jesse Braham
ce2ef0d854
Fix build error, update CHANGELOG and README
4 years ago
Jesse Braham
c4967c2645
Add support for stm32f071
4 years ago
Jesse Braham
b016ffdfe9
Add support for stm32f051
4 years ago
Jesse Braham
e6db427c09
Add support for stm32f031
4 years ago
Daniel Egger
c6b96c397b
Merge pull request #41 from HarkonenBade/down-with-ub
...
Apply critical sections to uses of registers where exclusivity is not guaranteed
4 years ago
HarkonenBade
7ea2af8a74
Enforce better safety guarentees
...
* Makes use of Rcc parameters rather than making RCC pointers
* Applys CS parameters to GPIO functions that mutate the port non
atomically
* Cut down on build gating hell a bit
4 years ago
david-sawatzke
f54423aa9c
Optimize delay implementation ( #42 )
...
* Optimize delay implementation
* Configure delay with hclk & only for 1MHz+
* Clean up delay implementation
* Add more reasoning and fix documentation
* Add changelog entry for delay optimization
4 years ago
Tom
94eea3924b
Tweaks to travis to run plain builds and faster cargo executions ( #39 )
...
* Tweaks to travis to run plain builds and faster cargo executions
4 years ago
david-sawatzke
b2111b98b0
Fix overflow in delay ( #40 )
...
Gets checked in debug builds
4 years ago
Tom
6b2ffaa650
Merge pull request #38 from HarkonenBade/RCC-fixes
...
Add fixes to RCC code for plain builds
4 years ago
Daniel Egger
e10dae9663
Merge pull request #37 from david-sawatzke/spi_doc
...
Add more spi documentation
4 years ago
HarkonenBade
626d8960e7
Add fixes to RCC code for plain builds
4 years ago
David Sawatzke
083323b110
Add more spi documentation
4 years ago
Daniel Egger
aef15217c7
Merge pull request #36 from jessebraham/readme-updates
...
Overhaul README, add Getting Started section
4 years ago
Jesse Braham
be98d3ce8d
Overhaul README, add Getting Started section
4 years ago
Ze'ev Klapow
23be76c14c
RCC: Add ability to use HSE clock source ( #25 )
...
* allow enabling hse
* enable hse pll src correctly
* fix build + warning
* rusfmt
* updated CHANGELOG
4 years ago
Jesse Braham
6f13445bfc
Add support for the STM32f091 ( #35 )
...
* Add GPIO support for the stm32f091
* Implement RCC, Serial and Timers for stm32f091
* Implement ADC, I2C and SPI for stm32f091
* Add STM32F091 to Travis config, CHANGELOG and README
4 years ago
Daniel Egger
35abc7a88f
Released 0.11.1
...
Signed-off-by: Daniel Egger <daniel@eggers-club.de>
4 years ago
Yatekii
7da190e507
Added definitions for the stm32f072xx chips ( #31 )
...
* Fixed wrong gpio definitions with #[cfg(any(feature = "stm32f030", feature = "stm32f070"))]
* Added definitions for the 072 series
4 years ago
Daniel Egger
e74eea773d
Merge pull request #33 from david-sawatzke/spi_example
...
Add a basic spi example which isn't dependent on external components
4 years ago
David Sawatzke
abe8d56db5
Add a basic spi example
4 years ago
Daniel Egger
bc723e1437
More rubost error handling for I2C
...
Signed-off-by: Daniel Egger <daniel@eggers-club.de>
4 years ago
Daniel Egger
e3c8e6f1a5
Merge pull request #30 from HarkonenBade/readme-badges
...
Add badges to README
4 years ago
HarkonenBade
187ea7d5b0
Add badges to README
4 years ago
Daniel Egger
2de56b0878
Bumped version to 0.11.0 for release
...
Signed-off-by: Daniel Egger <daniel@eggers-club.de>
4 years ago
david-sawatzke
f729f7e4df
Allow multi delay instances for the systick timer ( #23 )
...
* Fix typo from #21
* Implement shareable systick
* Fix it, so downcounting is expected & add overflow guards
* Add changelog entry for multi-delay
4 years ago
Daniel Egger
f55163cd5c
Ran rustfmt on the code
...
Signed-off-by: Daniel Egger <daniel@eggers-club.de>
4 years ago
Daniel Egger
4c81088ce5
Added interupt enabling/disabling support to USART ports
...
Signed-off-by: Daniel Egger <daniel@eggers-club.de>
4 years ago
Mike Panetta
1924bb15cc
Stm32f04x additions for RCC ( #17 )
...
Some new logic to select clock source
4 years ago
Daniel Egger
3691709340
Adressed a few clippy lints
...
Signed-off-by: Daniel Egger <daniel@eggers-club.de>
4 years ago
Tom
f6155f99a5
Initial test implementation of ADC helper functions ( #22 )
...
Added ADC helper functions to read more intuitive values
Co-Authored-By: HarkonenBade <github@harkonen.net>
4 years ago