Steffen Pengel
c7e334d3dc
cpu/stm32f3: set i2c clk input to sysclk when HSI is deactivated
...
According to the STM32F3 clocktree (ref. manual p. 126) the I2CX
hardware is driven by either HSI or SYSCLK.
If HSI is deactivated SYSCLK clock must be selected as I2CX clock.
Signed-off-by: Steffen Pengel <steffen.pengel@gmail.com>
6 years ago
Francisco Acosta
9edca89ea7
Merge pull request #6625 from aabadie/nucleo144_f303
...
boards/nucleo144-f303: initial support
6 years ago
Joakim Nohlgård
339a4da9dc
Makefiles: move to new directory /makefiles
6 years ago
Alexandre Abadie
d807875cd3
cpu/stm32f3: add support for stm32f303ze
6 years ago
Alexandre Abadie
0c2314cd9d
cpu/stm32f3: add support for stm32f302r8
6 years ago
Vincent Dupont
7b686b3015
cpu/stm32_common: unify gpio driver
6 years ago
Hauke Petersen
37d4f44379
cpus: mv vendor headers to include/vendor/.
6 years ago
Kaspar Schleiser
ac82506d7d
cpu: stm32: remove SPI rework leftovers
6 years ago
Hauke Petersen
4bfce892d3
drivers/periph&cpu: add and use common periph_init()
6 years ago
Hauke Petersen
0edef2a0e1
cpu/stm32*+boards: adapted to new SPI API
...
- adapted the SPI driver
- adapted all boards using the CPU
6 years ago
Alexandre Abadie
3e49d0c8c6
Merge pull request #6434 from aabadie/petersen_typo
...
cpu: fix typo in author email
6 years ago
Alexandre Abadie
245f60edfa
cpu: fix typo in author email
6 years ago
Oleg Hahm
7ee7801c10
*: remove trailing underscores from header guards
6 years ago
Alexandre Abadie
261965d936
cpu/stm32f3: add support for stm32f303k8
6 years ago
Kaspar Schleiser
0194091673
remove obsolete lpm code
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
4d09d09ee4
cpu/stm32x: unified PWM driver
7 years ago
Hauke Petersen
2a62ec5f6b
cpu/stm32f[3|4] adapted PWM driver
7 years ago
Hauke Petersen
47b379e45d
cpu/stm32x: unified timer driver
7 years ago
Hauke Petersen
e50479f84f
cpu/stm32: changed TIM->CCR def in vendor headers
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
Oleg Hahm
797ab580c8
Merge pull request #5818 from makomi/stm32f3
...
cpu/stm32f3: uart: suppress cppcheck nullPointer errors
7 years ago
Matthias Kolja Miehl
0bb7050c60
cpu/stm32f3: uart: make sure that 'port' and 'dev' are !=NULL
...
This fixes some cppcheck nullPointer errors.
7 years ago
Kaspar Schleiser
5ab97fe38b
cpu: build cortexm vectors.c without LTO
7 years ago
René Kijewski
f31a70de60
Merge pull request #5578 from zhuoshuguo/fix_stm32f_include_headers
...
cpu/stm32: fix header include guards
7 years ago
Ian Martin
49ae438dd5
doc: eliminate clutter in adc and gpio periph docs
7 years ago
zhuoshuguo
10f8ce1118
cpu/stm32: fix include header guards.
7 years ago
Peter Kietzmann
126f12b138
Merge pull request #4164 from DipSwitch/add_clock_selection_stm32f3
...
cpu: Add clock source selection based on CLOCK_HSE or CLOCK_HSI for STM32F3 family
7 years ago
DipSwitch
cc5a06d954
cpu: Add clock source selection based on CLOCK_HSE or CLOCK_HSI for STM32F3 family
7 years ago
DipSwitch
bd9b3a269c
cpu/stm32/perip/dac: Move DAC implementation to stm32_common/periph since all STM32 DAC's have the same basics
7 years ago
DipSwitch
6e9f36c0c5
cpu/stm32_common/gpio: Use default gpio_t type and defines
7 years ago
Hauke Petersen
46bf22a01d
cpu/stm32f3: adapted GPIO driver
7 years ago
Hauke Petersen
b23cde98cf
cpus: adapted UART implementations to cb type change
7 years ago
DipSwitch
d72cdcaad2
cpu/stm32/gpio_exti: EXTI->PR is of type RW_w1 so don't RMW the pending status flags
7 years ago
Oleg Hahm
596c25daca
Merge pull request #4943 from gebart/pr/while-loops
...
Use {} notation for empty while loops
7 years ago
Kaspar Schleiser
6881f65f46
cpu: cortexm*: move cpu_conf.h stuff from cpu.h into cpu_conf_common.h
7 years ago
Joakim Nohlgård
3f122fbba2
cpu/stm32f3: Use {} notation for empty while loops
7 years ago
Hauke Petersen
b11a3ad74b
cpus: adapted timer implementations to API changes
7 years ago
Joakim Nohlgård
e4629eb0bb
cpu/stm32f3: spi: Cast enum to unsigned int for comparison
7 years ago
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.
7 years ago
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
7 years ago
DipSwitch
df996044e2
STM32 GPIO: Fix exti_isr handling to only call callbacks of lines with have there interrupt enabled
7 years ago
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
7 years ago
Joakim Nohlgård
5ab848548b
cpu/stm32f3: Update to match timer_init API change
7 years ago
Hauke Petersen
cf7299c09e
cpu/stm32f3: adapted to PWM interface changes
7 years ago
Hauke Petersen
ea8db10524
cpu/stm32: use common CPUID implementation
7 years ago
Hauke Petersen
14a4ed69b6
cpu/stm32f3: use common STM32 files
7 years ago