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

218 Commits

Author SHA1 Message Date
Hauke Petersen
2a6a82ce2c cpu/stm32_common: unified hwrng driver 2017-03-30 17:18:31 +02:00
8417aac5cc cpu/stm32f4: add support for stm32f429zi 2017-03-18 15:56:56 +01:00
8887cf55e7 cpu/stm32f4: add support for stm32f446ze 2017-03-16 18:23:38 +01:00
2eda4bf2fe cpu/stm32f4: add support for stm32f410rb 2017-03-14 18:45:11 +01:00
Vincent Dupont
7b686b3015 cpu/stm32_common: unify gpio driver 2017-03-13 15:09:12 +01:00
Hauke Petersen
37d4f44379 cpus: mv vendor headers to include/vendor/. 2017-03-07 08:55:15 +01:00
Vincent Dupont
efbad0dd3f cpu/stm32f4: add stm32f413zh support 2017-02-23 17:01:44 +01:00
5e264f13eb cpu/stm32f4: add support for stm32f411re 2017-02-22 15:18:21 +01:00
Hauke Petersen
2f9e3c89e1 periph/hwrng: use void* buf for hwrng_read() 2017-02-07 13:20:39 +01:00
Hauke Petersen
4bfce892d3 drivers/periph&cpu: add and use common periph_init() 2017-01-25 16:46:46 +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
245f60edfa cpu: fix typo in author email 2017-01-19 21:45:23 +01:00
Hauke Petersen
65f27f073f cpu/stm32f4: fixed minor typo in the hwrng driver 2017-01-16 14:37:08 +01:00
5798beca64 cpu: stm32f1/2/4: unify periph/pm support 2017-01-12 16:26:02 +01:00
0194091673 remove obsolete lpm code 2017-01-12 11:24:15 +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
79043d2518 Merge pull request #6186 from haukepetersen/opt_stm32_pwm
cpu/stm32x: unified PWM driver implementations
2016-12-16 14:34:33 +01:00
596f8c516b Merge pull request #6189 from bergzand/stm32f401-i2c
cpu/stm32f4: Add I2C low speed support to the stm32f4
2016-12-16 14:30:44 +01:00
3ec401da61 cpu/stm32f4: add i2c low speed mode support 2016-12-15 20:56:10 +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
e50479f84f cpu/stm32: changed TIM->CCR def in vendor headers 2016-12-09 12:20:03 +01:00
Peter Kietzmann
e547ff1d60 Merge pull request #6013 from haukepetersen/opt_periph_uartreturntypes
periph/uart: added names to return values
2016-11-29 19:14:09 +01:00
zhuoshuguo
501bdcf305 cpu/stm32f4: fix include guards. 2016-11-16 11:33:26 +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
b50ab2f46e cpu/stm32f4: adding support for stm32f446re cpu 2016-09-28 17:00:56 +02:00
5ab97fe38b cpu: build cortexm vectors.c without LTO 2016-08-29 13:30:17 +02:00
Victor Arino
411f7c9585 cpu/stm32f4: uncrustify periph_cpu 2016-08-03 15:04:32 +02:00
Joakim Nohlgård
0a847d53a7 cpu: Fix array-bounds errors with GCC 6 2016-07-13 19:23:42 +02:00
René Kijewski
f31a70de60 Merge pull request #5578 from zhuoshuguo/fix_stm32f_include_headers
cpu/stm32: fix header include guards
2016-07-05 15:20:21 +02:00
Ian Martin
49ae438dd5 doc: eliminate clutter in adc and gpio periph docs 2016-06-29 15:08:32 -04:00
zhuoshuguo
10f8ce1118 cpu/stm32: fix include header guards. 2016-06-28 20:30:29 +02:00
Peter Kietzmann
3c2e90e952 Merge pull request #4165 from DipSwitch/add_clock_selection_stm32f4
cpu: Add clock source selection based on CLOCK_HSE or CLOCK_HSI for STM32F4 family
2016-03-30 09:33:30 +02:00
DipSwitch
5b526df730 cpu: Add clock source selection based on CLOCK_HSE or CLOCK_HSI for STM32F4 family 2016-03-29 23:09:22 +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
DipSwitch
6e9f36c0c5 cpu/stm32_common/gpio: Use default gpio_t type and defines 2016-03-29 22:25:50 +02:00
DipSwitch
0bb4748a94 core: Fix/refactor function naming in core/incude/irq.h 2016-03-20 16:47:34 +01:00
Hauke Petersen
3f478b6e12 cpu/stm32f4: adapted to GPIO changes 2016-03-17 14:55:30 +01:00
Hauke Petersen
4383fbf60b cpu/stm32f4/uart: use common clk_en functions 2016-03-16 12:24:51 +01:00
Hauke Petersen
b23cde98cf cpus: adapted UART implementations to cb type change 2016-03-15 11:02:06 +01:00
DipSwitch
c446091d86 Merge pull request #4431 from haukepetersen/opt_periph_dac
drivers/periph: updated DAC driver interface
2016-03-15 09:14:18 +01:00
DipSwitch
68b4edf519 Merge pull request #5063 from DipSwitch/pr/fix_stm32f4_adc_resolution
cpu/stm32f4/periph/adc: ADC_SR_STRT flag is unused
2016-03-14 23:29:51 +01:00
Hauke Petersen
ea63bf454c cpu/stm32f4: reworked DAC driver implementation 2016-03-14 20:39:31 +01:00
DipSwitch
88018849e9 cpu/stm32f4/periph/adc: ADC_SR_STRT flag is unused 2016-03-14 19:41:25 +01:00
DipSwitch
6cf7de2393 cpu/stm32f4/adc: Remove unused structure item 2016-03-14 17:22:47 +01:00
Hauke Petersen
fc7c25c95e cpu/stm32f4: reworked the ADC driver 2016-03-14 13:05:46 +01:00
Joakim Nohlgård
7b4e776808 Merge pull request #4971 from DipSwitch/pr/fix_stm32f4_dma_nvic_enable
cpu/stm32f4/dma: Fix some miscalculations in the DMA implemenation
2016-03-13 08:39:47 +01:00
DipSwitch
e2f8d59956 cpu/stm32f4/dma: Fix the IQRn calculation for DMA channels > 8 2016-03-11 16:20:19 +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
Oleg Hahm
596c25daca Merge pull request #4943 from gebart/pr/while-loops
Use {} notation for empty while loops
2016-03-09 13:42:32 +01:00
6881f65f46 cpu: cortexm*: move cpu_conf.h stuff from cpu.h into cpu_conf_common.h 2016-03-05 18:20:17 +01:00
Joakim Nohlgård
7a7202034b cpu/stm32f4: 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
c61c1207df cpu/stm32f4: Cast enum to unsigned int for comparison 2016-02-28 00:08:12 +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
Hauke Petersen
0c375e2bae cpu/stm32f4: adapted HWRNG implementation 2016-02-14 12:59:47 +01:00
Joakim Nohlgård
3e0d6f167f cpu/stm32f4: Update to match timer_init API change 2016-02-13 21:29:36 +01:00
Hauke Petersen
85f85a3760 cpu/stm32f4: adapted to PWM interface changes 2016-02-12 16:10:01 +01:00
Hauke Petersen
ea8db10524 cpu/stm32: use common CPUID implementation 2016-02-10 09:12:30 +01:00
Hauke Petersen
c482bfbaed cpu/stm32f4: use common STM32 files 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
1d8d33d484 Merge pull request #4704 from haukepetersen/opt_periph_gpioisrctx
drivers/gpio: added default ISR context struct
2016-02-04 15:29:48 +01:00
Joakim Nohlgård
4fd7f23650 cpu/stm32f4: Fix DMA race bug (#4716) 2016-01-30 07:04:26 +01:00
Hauke Petersen
ad0abdcadd cpus: use default isr_ctx struct in GPIO drivers 2016-01-27 17:00:37 +01:00
Hauke Petersen
8a96a62c42 cpu/stm32f4discovery: fixed freq return in pwm_init 2015-12-10 17:14:12 +01:00
Thomas Eichinger
0f80e688f3 Merge pull request #4115 from haukepetersen/opt_stm32f4_uart
cpu/stm32f4: optimized UART driver
2015-12-08 11:44:13 +01:00
Oleg Hahm
a236fabcd4 cpu stm32f4: rename HASH macro
The HASH macro for an address in STM32's MCU hardware implementation is prone to naming clashes.
2015-12-08 08:58:11 +01:00
Oleg Hahm
20f1750fb6 cpu stm32fX: fix pedantic compiler warnings 2015-12-07 20:28:52 +01:00
Hauke Petersen
b75e5fe407 cpu/stm32f4: adapted DMA_TypeDef struct for f401 2015-12-07 18:00:41 +01:00
Hauke Petersen
a2247a3400 cpu/stm32f4: significantly optimized UART driver 2015-12-07 18:00:40 +01:00
Hauke Petersen
b13f5cf801 cpu/stm32f4: optimized vendor header slightly 2015-12-07 18:00:40 +01:00
Peter Kietzmann
329820ddd4 Merge pull request #4119 from latsku/nucleo-f401
boards: Add support for Nucleo-f401
2015-11-30 10:52:24 +01:00
Lari Lehtomäki
14be504b6a boards/nucleo-f401: Add initial support
cpu: Add support for STM32F401xE cpu

boards: Add support for Nucleo-f401

boards/nucleo-f401: New line fixes and comment on green led pin

board/nucleo-f401: Added LED GPIO

board/nucleo-f401: Fixed LED GPIO

board/nucleo-f401: Minor fixes
2015-11-30 11:06:34 +02:00
Cenk Gündoğan
18427a8074 cpu: stm32f4: spi: remove unused vtimer include 2015-11-10 12:27:17 +01:00
Hauke Petersen
1eb63f20a7 cpu/stm32f4: adapted UART driver 2015-10-27 14:59:38 +01:00
Hauke Petersen
97af043227 cpu/stm32f4: adapted UART driver 2015-10-27 14:59:37 +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
Hauke Petersen
d17973a060 cpu/stm32f4: optimized baudrate calculation 2015-09-18 12:21:46 +02:00
01f87b9df0 cpu: stm32f4: remove obsolete hwtimer support 2015-09-16 10:58:52 +02:00
Hauke Petersen
a4d393eea3 cpu/stm32f4: fixed typo in prescaler for timer1 2015-09-08 16:22:24 +02:00
4b15cc635e cpu: stm32f4: use periph_common SPI functions 2015-08-14 14:46:35 +02:00
Hauke Petersen
75472eddf4 cpu: remove transceiver defines from cpu_conf files 2015-08-06 12:13:54 +02:00
Peter Kietzmann
f62bc56648 Merge pull request #3215 from haukepetersen/fix_periphcpu_addenums
cpu: added dev_enums.h include to all periph_cpu.h
2015-06-22 08:44:26 +02:00
Hauke Petersen
765c013834 Merge pull request #3155 from haukepetersen/opt_cortex_startup
cpu: centralized startup code for cortexm CPUs
2015-06-17 00:01:56 +02:00
Hauke Petersen
4ae5204b36 cpu: added dev_enums.h include to all periph_cpu.h 2015-06-16 22:41:16 +02:00
Hauke Petersen
7216f21122 cpu/stm32f4: fix init_af in GPIO driver 2015-06-15 20:41:49 +02:00
Hauke Petersen
d7e27c67c3 cpu/stm32f4: 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
71995e7cde cpu/stm32f4: added custom GPIO_UNDEF define 2015-06-14 16:16:39 +02:00
Hauke Petersen
69d16af81c cpu/stm32f4: remodeled GPIO implementation 2015-06-12 19:10:48 +02:00