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

118 Commits

Author SHA1 Message Date
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
e43f503cb6 cpu/stm32f1: Update to match timer_init API change 2016-02-13 21:29:36 +01:00
Hauke Petersen
ea8db10524 cpu/stm32: use common CPUID implementation 2016-02-10 09:12:30 +01:00
Hauke Petersen
bae3e7185a cpu/stm32f1: use common STM32 files 2016-02-10 09:12:29 +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
Hauke Petersen
7cad2577ed cpu/stm32f1: adjusted to new vendor headers 2016-01-26 23:45:50 +01:00
Hauke Petersen
b6194fad42 cpu/stm32f1: updated vendor header files 2016-01-26 23:45:50 +01:00
Victor Arino
82796f9aea cpu/stm32f1: uncrustified spi driver 2015-12-15 17:23:27 +01:00
Victor Arino
f753ce7809 cpu/stm32f1: allow disabling spi peripherals
This allows disabling SPI peripherals even if defined in periph_conf.h
by setting the definition SPI_*_EN to 0.

The peripherals were tested against ifdef which caused to include the
code even if the peripheral was disabled, which was incompatible with
the current spi.h common implementation.
2015-12-15 17:23:27 +01:00
Victor Arino
f27113b2cc cpu/stm32f1: add linkerscript for stm32f103rb 2015-12-15 17:23:23 +01:00
Oleg Hahm
fcb5fbf7f6 Merge pull request #4398 from OlegHahm/stm_header_cleanup
cpu: remove superfluous definitions in ST header
2015-12-08 08:52:23 +01:00
Oleg Hahm
f3d161d97a cpu: remove superfluous definitions in ST header 2015-12-08 01:48:21 +01:00
Oleg Hahm
aa3ef774d0 cpu stm32f1 periph spi: simplify condition 2015-12-08 01:48:21 +01:00
Oleg Hahm
20f1750fb6 cpu stm32fX: fix pedantic compiler warnings 2015-12-07 20:28:52 +01:00
Hauke Petersen
3d35c33cb2 cpu/stm32f1: fixed i2c driver
the _stop() function now blocks until the transfer
is complete. Not waiting can lead to concurrent bus
access and subsequent to bus errors.
2015-11-18 14:57:15 +01:00
Hauke Petersen
047f7544a4 Merge pull request #4198 from thomaseichinger/pr/fix_4197
stm32f1/i2c: Disable I2C module before initialization
2015-11-17 17:41:33 +01:00
Peter Kietzmann
745320dc41 Merge pull request #4232 from DipSwitch/fix_gpio_read
gpio: Pin direction readout of gpio_read was invalid
2015-11-09 13:18:13 +01:00
DipSwitch
4186e38976 stm32f1/gpio: pin direction readout of gpio_read was invalid 2015-11-06 16:57:10 +01:00
DipSwitch
2e2ec37846 cpu/stm32f1/spi: add SPI peripheral 1 and 2 2015-11-04 13:40:20 +01:00
Thomas Eichinger
96b6d4b1dd stm32f1/i2c: Disable I2C module before initialization
When initializing multiple drivers connected to the same
I2C bus, the bus should be disabled before pin toggeling
and reinitialization.
2015-11-01 11:51:51 +09:00
Hauke Petersen
59b935bd1e cpu/stm32f1: 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
Hauke Petersen
d43dc9182f cpu: s/GPIO(x,y)/GPIO_PIN(x,y)/ 2015-10-13 14:59:54 +02:00
Peter Kietzmann
4e05254eb7 Merge pull request #3893 from haukepetersen/opt_f1_baudcalc
cpu/stm32f1: optimized baudrate calculation
2015-09-30 17:20:08 +02:00
Joakim Nohlgård
98c465008b all: Update @gebart family name, email 2015-09-20 13:47:39 +02:00
Hauke Petersen
6b9ca4d5c0 cpu/stm32f1: optimized baudrate calculation 2015-09-18 12:04:25 +02:00
d7a4f90e69 cpu: stm32f1: remove obsolete hwtimer support 2015-09-16 10:58:52 +02:00
a23169b831 cpu: stmf32f1: remove obsolete hwtimer_compat dependency 2015-09-16 10:58:51 +02:00
Hauke Petersen
92c8f279d9 Merge pull request #3725 from avmelnikoff/cpu/stm32f1
cpu/stm32f1: added stm32f103c8 linkerscript
2015-09-07 17:05:33 +02:00
efbd5518f6 cpu: stm32f1: timer: fix race when combining two 16bit timer values 2015-09-05 12:43:37 +02:00
Alex V. Melnikov
8d47f83964 cpu/stm32f1: added stm32f103c8 linkerscript
Added stm32f103c8 memory definitions for cortexm common linkerscript
2015-08-27 11:52:44 +03:00
6c185655c8 cpu: stm32f1: use periph_common SPI functions 2015-08-14 14:46:35 +02:00
Hauke Petersen
af10ab64a7 cpu/stm32f1: simplified pin init in periph drivers 2015-08-12 10:50:17 +02:00
Oleg Hahm
f90032f94f Merge pull request #3334 from kaspar030/remove_old_net
remove old network stack
2015-08-06 15:10:11 +02:00
Hauke Petersen
bcb9aebadd cpu/stm32f1: modernized the GPIO driver 2015-08-06 13:48:25 +02:00
Hauke Petersen
75472eddf4 cpu: remove transceiver defines from cpu_conf files 2015-08-06 12:13:54 +02:00
f584bd6921 cpu: stm32f1: fix timer auto reload value
Previously, the auto-reload register was set to TIMERx_MAXVALUE. This is
incorrect, as TIMERx combines two 16bit timers.

This commit fixes the assignment.
2015-07-30 14:35:27 +02:00
Hauke Petersen
5eb9b73cd6 cpu/stm32f1: optimization of startup code
- make use of common startup code
- make use of common exception handlers
- renamed startup.c to vectors.c
2015-06-15 16:00:51 +02:00
Hauke Petersen
6284bbbbe4 cpu/stm32f1: adjusted to changed GPIO interface 2015-06-12 19:10:49 +02:00
Hauke Petersen
744ec88a74 cpu: use cortexm common linkerscript 2015-05-30 13:43:19 +02:00
Joakim Gebart
c09a8484e2 cortexm: Move ldscripts into separate directory
Less clutter inside the cpu/* directories by placing linker scripts
under cpu/*/ldscripts/CPUNAME.ld
2015-05-30 12:20:07 +02:00
Hauke Petersen
0e61ec097c cpu/stm32f1: adapted to centralized cpu conf 2015-05-29 16:44:52 +02:00
haukepetersen
0d5c8546f3 cpu: adapted Makefiles to unified cortexm module 2015-05-28 19:30:07 +02:00
Hauke Petersen
a5e4b02ed8 cpu: fixed doxygen for multiple headers 2015-05-28 15:45:05 +02:00
Hauke Petersen
9943f51080 global: renamed cpu-conf.h into cpu_conf.h 2015-05-28 15:45:05 +02:00