Marian Buschsieweke
e326acfc78
cpu/{stm32r1,stm32_common}: Allow exposing JTAG pins as GPIOs
...
- cpu/stm32f1: Removed previous code in gpio_init() to provide PB4 on the
Nucleo-F103RB only
- cpu/stm32_common: Introduced STM32F1_DISABLE_JTAG which, if defined in
board.h, exposes the JTAG only pins as GPIOs. This keeps the SWD pins, so that
SWD debugging remains possible
2020-03-08 13:05:35 +01:00
Benjamin Valentin
33d03e7b3f
cpu/stm32f1: make RTC Y2038 safe
...
Use rtc_* functions with custom EPOCH.
This buys us about 118 years.
2020-02-29 17:45:16 +01:00
Marian Buschsieweke
05d1ce6b58
cpu/stm32f1/periph: adc_sample() now returns int32_t
2020-01-10 14:13:15 +01:00
Hoernchen20
3b966cc260
cpu/stm32f1: improve rtc irq
2020-01-04 19:59:14 +01:00
Alexei Bezborodov
239fc2b791
cpu: RTC implementation for STM32F1
...
Works get_time, set_time, alarm and wakeup after set power mode STM32_PM_STOP
2019-12-06 12:47:22 +03:00
Francois Berder
4a31f94cfc
many typo fixes
...
Signed-off-by: Francois Berder <18538310+francois-berder@users.noreply.github.com>
2019-11-23 22:39:07 +01:00
Michel Rottleuthner
4b9866b289
cpu/stm32f103: add workaround to make gpio B4 usable as output pin
...
->> by default the pin B4 is used as SWJRST. This remaps the pin when it is initialized with gpio_init.
currently its only enabled for stm32f104rb
2019-03-26 21:43:35 +01:00
Martine Lenders
7994f35c7a
stm32f1: mark closing #endif for MODULE_PERIPH_GPIO_IRQ
2018-10-09 15:11:01 +02:00
Hauke Petersen
25e901ef73
cpu/stm32f1/gpio: use gpio_irq feature
2018-09-21 08:20:04 +02:00
06e11c5586
cpu/stm32_common: adapt i2c driver to stm32f1
2018-07-25 12:01:37 +02:00
58e172e4df
cpu/stm32_common: always enable PWR module
2018-03-06 14:55:32 +01:00
Tristan Bruns
d4de629c34
stm32f1: fix gpio mode GPIO_IN_PU
2018-01-12 16:11:58 +01:00
Hauke Petersen
87200c4803
cpu/stm32: removed file guards from periph drivers
2017-11-09 16:27:24 +01:00
a20745b6c5
cpu: make use of Makefile.periph
2017-11-06 12:01:19 +01:00
Hauke Petersen
b08188efd2
cpu/stm32/gpio: do not clear pin on init
2017-10-04 12:12:16 +02:00
Oleg Hahm
650d297890
stm32f1: rtt: declare functions static
2017-07-28 11:24:03 +02:00
smlng
692cf96297
doc: fix doxygen grouping of cpu periph drivers
2017-06-26 14:42:11 +02:00
Hauke Petersen
3bd8c32554
cpu/stm32: moved flashpage driver to common code
2017-02-13 09:45:37 +01:00
Francisco Acosta
b7774a2b4c
Merge pull request #6467 from OTAkeys/feat/flashpage_stm32
...
cpu/stm32f0: add flashpage driver from stm32f1 + fix stm32f1 driver
2017-02-03 15:37:44 +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
Vincent Dupont
54dc75d63c
cpu/stm32f1: fix flashpage driver HSI disabling
2017-01-24 18:11:06 +01:00
Hauke Petersen
625d804fcb
cpu/stm32_common: unified UART driver
2017-01-05 11:00:18 +01:00
Hauke Petersen
5afb191027
cpu/stm32x: unified gpio_init_af() function
2017-01-05 10:58:54 +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
47b379e45d
cpu/stm32x: unified timer driver
2016-12-09 12:20:03 +01:00
Hauke Petersen
c3a4a44f49
cpu/stm32f1: added flashpage driver implementation
2016-11-30 16:51:09 +01:00
Hauke Petersen
2eebf36eb2
cpu/uart: make use of named return values
2016-10-28 10:32:00 +02:00
PeterKietzmann
f57e185f5d
cpu/stm32f1: remove leftover from #5921
2016-10-19 12:21:42 +02:00
PeterKietzmann
bb4bf51020
cpu/stm32f1: improve SPI driver speed
2016-10-19 08:56:18 +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
Joakim Nohlgård
0a847d53a7
cpu: Fix array-bounds errors with GCC 6
2016-07-13 19:23:42 +02:00
Hauke Petersen
e7c8e0b1f2
cpu/stm32f1: fixed pull selection in GPIO driver
2016-03-18 11:01:08 +01:00
Hauke Petersen
141f8c9ff6
cpu/stm32f1: adapted GPIO driver
2016-03-17 14:55:30 +01:00
DipSwitch
93bce6291c
Merge pull request #5090 from haukepetersen/opt_stm_clken
...
cpu/stm32_common: added shared periph_clk_en/dis functions
2016-03-16 23:02:20 +01:00
Hauke Petersen
61f8d45e03
cpu/stm32f1/timer: use common clk_en function
2016-03-16 12:24:51 +01:00
Hauke Petersen
dff203e7dd
cpu/stm32f1: reworked UART implementation
2016-03-16 10:43:45 +01:00
Hauke Petersen
1d6d54e1f2
Merge pull request #5076 from haukepetersen/opt_periph_uart_cbtype
...
drivers/uart: use uint8_t for data in cb signature
2016-03-15 15:17:44 +01:00
Hauke Petersen
b23cde98cf
cpus: adapted UART implementations to cb type change
2016-03-15 11:02:06 +01:00
DipSwitch
4a2134fd53
cpu/stm32f1/adc: Initial import for STM32F1 ADC
2016-03-14 22:52:26 +01:00
Joakim Nohlgård
7ce5f1b5c0
cpu/stm32f1: i2c: Use {} notation for empty while loops
2016-03-13 08:14:39 +01:00
Joakim Nohlgård
96a7583c2a
cpu/stm32f1: Use {} notation for empty while loops
2016-03-03 16:31:25 +01:00
Peter Kietzmann
2f0901bc64
Merge pull request #4932 from haukepetersen/opt_f1_timer
...
cpu/stm32f1: reworked timer implementation
2016-03-03 10:00:38 +01:00
Peter Kietzmann
e186eb9f70
Merge pull request #4736 from lebrush/stm32f1-i2c-fixes
...
stm32f1 i2c fixes
2016-03-02 16:55:13 +01:00
Hauke Petersen
360e392d69
cpu/stm32f1: reworked timer driver
2016-03-01 22:39:36 +01:00
Hauke Petersen
b11a3ad74b
cpus: adapted timer implementations to API changes
2016-02-29 14:45:00 +01:00
Joakim Nohlgård
19cee2d757
cpu/stm32f1: spi: Cast enum to unsigned int for comparison
2016-02-28 00:08:00 +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