Commit Graph

61 Commits (362077d3d53b1ffb32e7151367940d411d04df64)

Author SHA1 Message Date
Matthias Kolja Miehl 2ba795eb81 cpu/stm32f0: uart: make sure that 'port' and 'dev' are !=NULL
This fixes some cppcheck nullPointer errors.
7 years ago
Joakim Nohlgård 0a847d53a7 cpu: Fix array-bounds errors with GCC 6 7 years ago
Hauke Petersen 84880c1f3c cpu/stm32f0: adapted GPIO driver 8 years ago
Hauke Petersen b23cde98cf cpus: adapted UART implementations to cb type change 8 years ago
Hauke Petersen da80af479c cpu/stm32f0: reworked ADC driver 8 years ago
Oleg Hahm 596c25daca Merge pull request #4943 from gebart/pr/while-loops
Use {} notation for empty while loops
8 years ago
botmayank 35154e0c84 cpu/stm32f0: GPIO enable IRQ for EXTI0_1
Removed unnecessary EXTI2_3 interrupt enable

cpu/stm32f0: gpio removed trailing whitespace
8 years ago
Martine Lenders 7ee8c5c66d Merge pull request #3834 from michz/master
fixed bug in stm32f0 uart implementation
8 years ago
Joakim Nohlgård aba4e719eb cpu/stm32f0: Use {} notation for empty while loops 8 years ago
Michael Zapf dfe5c273d1 stm32f0: fixed bug in uart implementation
alternate function register was written incorrectly for pin numbers > 8
+ cpu/stm32f0: fixed possible null-ptr deref
8 years ago
Hauke Petersen b11a3ad74b cpus: adapted timer implementations to API changes 8 years ago
Joakim Nohlgård 5df3357818 Merge pull request #4916 from gebart/pr/unsigned-enum-compare
cpu: Cast enum to unsigned int before comparing against DEV_NUMOF
8 years ago
Joakim Nohlgård 81feb558ef cpu/stm32f0: spi: Cast enum to unsigned int for comparison 8 years ago
Joakim Nohlgård ade9941ab6 cpu/stm32f0: adc: Add default error cases 8 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
8 years ago
DipSwitch df996044e2 STM32 GPIO: Fix exti_isr handling to only call callbacks of lines with have there interrupt enabled 8 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
8 years ago
Joakim Nohlgård e427caaf01 cpu/stm32f0: Update to match timer_init API change 8 years ago
Hauke Petersen cfac198fc8 cpu/stm32f0: added gpio_init_analog() 8 years ago
Hauke Petersen b97afdc1b1 cpu/stm32f0: some minor fixes to GPIO driver
- fixed indention on some places
- s/gpio_config/isr_ctx/
- use BRR reg for clearing pin
8 years ago
MohmadAyman f881874bbb cpu/stm32f0: optimized GPIO driver implementation 8 years ago
Hauke Petersen ea8db10524 cpu/stm32: use common CPUID implementation 8 years ago
Hauke Petersen 975e027360 cpu: use Hauke's correct email address 8 years ago
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
8 years ago
Hauke Petersen ad0abdcadd cpus: use default isr_ctx struct in GPIO drivers 8 years ago
Hauke Petersen b71d8ea750 cpu/stm32f0: adapted UART driver 8 years ago
Joakim Nohlgård cbaeccdb90 periph/timer: Drop timer_reset 8 years ago
Peter Kietzmann 15b5e09d9f Merge pull request #3894 from haukepetersen/opt_f0_baudcalc
cpu/stm32f0: optimized baudrate calculation
8 years ago
Joakim Nohlgård 98c465008b all: Update @gebart family name, email 8 years ago
Hauke Petersen c0c277c49b cpu/stm32f0: optimized baudrate calculation 8 years ago
DipSwitch 1fe296d707 cpu/stm32l1-f0/spi: Configure the SPI pins as highspeed 8 years ago
Lari Lehtomäki 1ecaadab4e cpu/stm32f0: RTC implementation with external clock
tests: Tests for RTC clock
8 years ago
Kaspar Schleiser 336c5300cd cpu: stm32f0: use periph_common SPI functions 8 years ago
Hauke Petersen f9bb383118 cpu/stm32f0: adjusted to changed GPIO interface 8 years ago
Hauke Petersen 9943f51080 global: renamed cpu-conf.h into cpu_conf.h 8 years ago
Hauke Petersen ec17730c38 cpu/stm32f0: fixed gpio interrupt routines
- guarded calls in case no interrupt is defined
- eneabled detection of multiple, simoultaneous events
9 years ago
Thomas Eichinger 1eac81b562 Merge pull request #2593 from haukepetersen/fix_stm32f0_timerdef
cpu/stm32f0: cleanup for timer IRQ macro
9 years ago
Hauke Petersen 49491cf66d cpu/stm32f0discovery: fixed timer irq prio macro 9 years ago
James Hollister 3d6ab85bb3 cpu/stm32f0: added cpuid_get for stm32f0 9 years ago
Joakim Gebart 45dbbd18ae stm32f0: Remove Doxygen from already documented functions. 9 years ago
Hauke Petersen 3976554f12 cpu/stm32f0: fixed port clk en for GPIO driver 9 years ago
Joakim Gebart 98c88b0549 stm32f0: Basic implementation of spi_acquire(), spi_release()
Signed-off-by: Joakim Gebart <joakim.gebart@eistec.se>
9 years ago
Hauke Petersen 3987f528f4 cpu/stm32f0: optimizations to UART driver 9 years ago
Hauke Petersen 19a95bbfbe cpu/stm32f0: fixed low-level timer driver 9 years ago
Hauke Petersen 13a417d02a cpu/stm32f0: optimized GPIO driver implementation 9 years ago
Hinnerk van Bruinehsen e3aa222d6c lint: fix nullPointer errors 9 years ago
Hauke Petersen e7fbaf3815 cpu: removed NAKED attribute from ISRs
- removed the __attribute__((naked)) from ISRs
- removed ISR_ENTER() and ISR_EXIT() macros

Rationale: Cortex-Mx MCUs save registers R0-R4 automatically
on calling ISRs. The naked attribute tells the compiler not
to save any other registers. This is fine, as long as the
code in the ISR is not nested. If nested, it will use also
R4 and R5, which will then lead to currupted registers on
exit of the ISR. Removing the naked will fix this.
9 years ago
Hauke Petersen 8c3a207a3f Merge pull request #1770 from fnack/spi_extension
driver - periph: Extend SPI low-level driver interface
9 years ago
Hauke Petersen 010091f265 cpu/stm32f0: fixed typo uart driver defines 9 years ago
Fabian Nack 45b3da9be7 cpu - multiple: adapt spi drivers to interface extension 9 years ago