1
0
mirror of https://github.com/RIOT-OS/RIOT.git synced 2024-12-29 04:50:03 +01:00
Commit Graph

63 Commits

Author SHA1 Message Date
smlng
692cf96297 doc: fix doxygen grouping of cpu periph drivers 2017-06-26 14:42:11 +02:00
Vincent Dupont
7b686b3015 cpu/stm32_common: unify gpio driver 2017-03-13 15:09:12 +01:00
ac82506d7d cpu: stm32: remove SPI rework leftovers 2017-01-26 11:16:31 +01:00
Hauke Petersen
0edef2a0e1 cpu/stm32*+boards: adapted to new SPI API
- adapted the SPI driver
- adapted all boards using the CPU
2017-01-25 16:46:45 +01:00
Hauke Petersen
625d804fcb cpu/stm32_common: unified UART driver 2017-01-05 11:00:18 +01:00
Hauke Petersen
3a00fe8e49 cpus: make use of cortexm_isr_end() 2016-12-21 11:28:46 +01:00
Pieter Willemsen
a0835ccb1d stm32: use periph_clk_en/dis functions for clock changes 2016-12-16 15:01:56 +01:00
Hauke Petersen
4d09d09ee4 cpu/stm32x: unified PWM driver 2016-12-15 12:18:39 +01:00
Hauke Petersen
2a62ec5f6b cpu/stm32f[3|4] adapted PWM driver 2016-12-09 12:20:03 +01:00
Hauke Petersen
47b379e45d cpu/stm32x: unified timer driver 2016-12-09 12:20:03 +01:00
Hauke Petersen
2eebf36eb2 cpu/uart: make use of named return values 2016-10-28 10:32:00 +02:00
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
2016-10-04 20:26:39 +02:00
Matthias Kolja Miehl
0bb7050c60 cpu/stm32f3: uart: make sure that 'port' and 'dev' are !=NULL
This fixes some cppcheck nullPointer errors.
2016-09-11 17:19:59 +02:00
DipSwitch
bd9b3a269c cpu/stm32/perip/dac: Move DAC implementation to stm32_common/periph since all STM32 DAC's have the same basics 2016-03-29 22:25:50 +02:00
Hauke Petersen
46bf22a01d cpu/stm32f3: adapted GPIO driver 2016-03-17 14:55:30 +01:00
Hauke Petersen
b23cde98cf cpus: adapted UART implementations to cb type change 2016-03-15 11:02:06 +01:00
DipSwitch
d72cdcaad2 cpu/stm32/gpio_exti: EXTI->PR is of type RW_w1 so don't RMW the pending status flags 2016-03-11 15:46:41 +01:00
Joakim Nohlgård
3f122fbba2 cpu/stm32f3: Use {} notation for empty while loops 2016-03-03 16:31:27 +01:00
Hauke Petersen
b11a3ad74b cpus: adapted timer implementations to API changes 2016-02-29 14:45:00 +01:00
Joakim Nohlgård
e4629eb0bb cpu/stm32f3: spi: Cast enum to unsigned int for comparison 2016-02-28 00:08:06 +01:00
Steffen Pengel
35635e4039 stm32f3: periph: uart: add misssing uart overrun handling
On overrung the ORE bit in the ORECF register is set.
An overrun error occurs when a character is received when RXNE has not been reset. Data
can not be transferred from the shift register to the RDR register until the RXNE bit is
cleared. The ORE bit is reset by setting the ORECF bit in the ICR register.

In case the ORE bit isn't cleared, the isr_handler() routine is called
continuously. Which prevents the system from normal scheduling.
2016-02-21 20:30:29 +01:00
Hauke Petersen
c82dda9b74 Merge pull request #4815 from DipSwitch/pr/fix_stm32_exti_isr
STM32 GPIO: Fix exti_isr handling to only call callbacks of lines with there IRQ enabled
2016-02-21 14:11:36 +01:00
DipSwitch
df996044e2 STM32 GPIO: Fix exti_isr handling to only call callbacks of lines with have there interrupt enabled 2016-02-21 09:43:42 +01:00
Joakim Nohlgård
e2f7ac78f0 Merge pull request #4040 from gebart/pr/periph-timer-init-freq
periph/timer: Change timer_init API to support arbitrary (integer) frequencies
2016-02-15 23:36:44 +01:00
Joakim Nohlgård
5ab848548b cpu/stm32f3: Update to match timer_init API change 2016-02-13 21:29:36 +01:00
Hauke Petersen
cf7299c09e cpu/stm32f3: adapted to PWM interface changes 2016-02-12 16:09:58 +01:00
Hauke Petersen
ea8db10524 cpu/stm32: use common CPUID implementation 2016-02-10 09:12:30 +01:00
Hauke Petersen
975e027360 cpu: use Hauke's correct email address 2016-02-09 16:09:40 +01:00
Hauke Petersen
940097336a cpu: cleanup and unification of CPUID implementations
- moved definition of CPUID_LEN to periph_cpu.h
- fixed some doxygen
- simplyfied some implementations
2016-02-08 14:36:03 +01:00
Hauke Petersen
ad0abdcadd cpus: use default isr_ctx struct in GPIO drivers 2016-01-27 17:00:37 +01:00
Cenk Gündoğan
6e7f83a390 cpu: stm32f3: spi: remove unused vtimer include 2015-11-10 12:26:58 +01:00
Hauke Petersen
9741267d9d cpu/stm32f3: adapted UART driver 2015-10-27 14:59:38 +01:00
Peter Kietzmann
e539db10ee Merge pull request #4104 from gebart/pr/drop-timer-reset
periph/timer: Drop timer_reset
2015-10-26 08:36:01 +01:00
Hauke Petersen
82c843a000 cpu: removed init_slave from I2C drivers 2015-10-20 16:57:39 +02:00
Joakim Nohlgård
cbaeccdb90 periph/timer: Drop timer_reset 2015-10-17 20:11:03 +02:00
Peter Kietzmann
6dd73a0e70 Merge pull request #3895 from haukepetersen/opt_f3_baudcalc
cpu/stm32f3: optimized baudrate calculation
2015-09-29 22:24:23 +02:00
Joakim Nohlgård
98c465008b all: Update @gebart family name, email 2015-09-20 13:47:39 +02:00
Hauke Petersen
b4e3c2849c cpu/stm32f3: optimized baudrate calculation 2015-09-18 12:17:01 +02:00
Martine Lenders
93f555ef69 Merge pull request #3782 from OlegHahm/RIOT_assert
core: RIOT's own assert macro
2015-09-12 13:12:34 +02:00
Hauke Petersen
32cf5423a2 cpu/stm32f3: disable debug in GPIO driver 2015-09-07 18:13:00 +02:00
Oleg Hahm
e2639d7f83 core: use enums for panic 2015-09-04 16:14:35 +02:00
fa00154f2a cpu: stm32f3: use periph_common SPI functions 2015-08-14 14:46:35 +02:00
Andreas "Paul" Pauli
82c16f2b93 cpu/stm32f3: corrected register and return value, edit comment 2015-07-28 14:52:52 +02:00
Hauke Petersen
ad0e9c26b6 cpu/stm32f3: fixed init_af in GPIO driver 2015-06-15 20:40:40 +02:00
Hauke Petersen
3a2d89f88d cpu/stm32f3: remodeled GPIO driver implementation 2015-06-12 19:10:48 +02:00
Hauke Petersen
9943f51080 global: renamed cpu-conf.h into cpu_conf.h 2015-05-28 15:45:05 +02:00
Peter Kietzmann
8e5541757d Merge pull request #2911 from neumodisch/driver_i2c_stm32f3
boards: Implemented i2c functionality for the stm32f3discovery board
2015-05-27 15:12:11 +02:00
Jan Pohlmann
50b8a96322 cpu/stm32f3: Initial import of the i2c driver. 2015-05-27 11:37:15 +02:00
Joakim Gebart
018b6a73d4 stm32f3: pwm_init: return actual frequency 2015-05-16 10:17:02 +02:00
d0dfbf0079 cpu: stm32f3: periph: gpio: fix possibly uninitialized variable access 2015-04-08 19:52:14 +02:00