Hauke Petersen
2a6a82ce2c
cpu/stm32_common: unified hwrng driver
7 years ago
Vincent Dupont
7b686b3015
cpu/stm32_common: unify gpio driver
7 years ago
Hauke Petersen
2f9e3c89e1
periph/hwrng: use void* buf for hwrng_read()
7 years ago
Kaspar Schleiser
ac82506d7d
cpu: stm32: remove SPI rework leftovers
7 years ago
Hauke Petersen
0edef2a0e1
cpu/stm32*+boards: adapted to new SPI API
...
- adapted the SPI driver
- adapted all boards using the CPU
7 years ago
Vincent Dupont
05475f9600
cpu/stm32_common: unified RTC driver
7 years ago
Hauke Petersen
625d804fcb
cpu/stm32_common: unified UART driver
7 years ago
Hauke Petersen
3a00fe8e49
cpus: make use of cortexm_isr_end()
7 years ago
Pieter Willemsen
a0835ccb1d
stm32: use periph_clk_en/dis functions for clock changes
7 years ago
Hauke Petersen
0aa70faa3d
cpu/stm32f2: temporarily removed PWM driver
7 years ago
Hauke Petersen
47b379e45d
cpu/stm32x: unified timer driver
7 years ago
Hauke Petersen
2eebf36eb2
cpu/uart: make use of named return values
7 years ago
Kees Bakker
bac5cda1e3
periph/i2c: convert char to uint8_t where applicapable
...
In general, data transferred through I2C are bytes and thus should have
type uint8_t, not char.
Also convert uint8_t ptrs to void ptrs
7 years ago
Toon Stegen
77c9ee043f
stm32f2: add adc and lpm
...
changes taken from DipSwitch's board: EMW3162 #4498 PR.
- Adds a functional implementation of the ADC
- Implements low power mode
7 years ago
Toon Stegen
7a0e81923b
stm32f2: fix dac compilation
...
this is copied from DipSwitch's pr
7 years ago
Toon Stegen
71dce7584f
stm32f2: i2c: update driver
...
Remove unneeded workaround from stm32f1
Make pullup configurable
Fix OAR1 register initialization
improve i2c read functions with repeatead start conditions
avoid to any loop to become infinite
improve i2c driver error handling
add missing coma in array initializers
8 years ago
Vincent Dupont
70c8bff842
stm32f2: update timer and pwm drivers
8 years ago
Aurelien Gonce
d01da278ac
stm32f2: Update hwrng driver
8 years ago
Hermann Lelong
182be862bb
stm32f2: Improve UART driver
...
Add missing DMA interrupts for UART
Improve baudrate intialization:
- Return error if baudrate is theorically unreachable
- Implement oversampling by 8 method for high baudrates
Add UART hardware flow control support
Ensure uart tx thread safety with a mutex
Allow setting of pins mode per UART
8 years ago
Vincent Dupont
ab8f9f148e
stm32f2: Add RTC driver
...
The driver was imported from stm32f0
Fixes:
- Fix 12/24h handling (CR flag badly used)
- Fix interrupt flag clearance and interrupt name
8 years ago
Vincent Dupont
15b6814d9b
stm32f2: Update with last api changes
...
* Update headers from ST
* Add linker scripts
8 years ago
DipSwitch
4064858e8d
stm32f2: add initial support for stm32f2
8 years ago