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

99 Commits

Author SHA1 Message Date
Hauke Petersen
b23cde98cf cpus: adapted UART implementations to cb type change 2016-03-15 11:02:06 +01:00
Hauke Petersen
da80af479c cpu/stm32f0: reworked ADC driver 2016-03-14 13:06:23 +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
Peter Kietzmann
e5500072d2 Merge pull request #4957 from botmayank/develop
stm32f0: GPIO enable IRQ for EXTI0_1
2016-03-07 21:36:15 +01:00
botmayank
35154e0c84 cpu/stm32f0: GPIO enable IRQ for EXTI0_1
Removed unnecessary EXTI2_3 interrupt enable

cpu/stm32f0: gpio removed trailing whitespace
2016-03-07 14:18:39 +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
Martine Lenders
7ee8c5c66d Merge pull request #3834 from michz/master
fixed bug in stm32f0 uart implementation
2016-03-04 05:42:10 +01:00
Joakim Nohlgård
aba4e719eb cpu/stm32f0: Use {} notation for empty while loops 2016-03-03 16:30:06 +01:00
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
2016-03-02 13:46:38 +01:00
Hauke Petersen
b11a3ad74b cpus: adapted timer implementations to API changes 2016-02-29 14:45:00 +01:00
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
2016-02-28 06:59:59 +01:00
Joakim Nohlgård
81feb558ef cpu/stm32f0: spi: Cast enum to unsigned int for comparison 2016-02-28 00:06:43 +01:00
Joakim Nohlgård
ade9941ab6 cpu/stm32f0: adc: Add default error cases 2016-02-27 23:52:33 +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
Joakim Nohlgård
e427caaf01 cpu/stm32f0: Update to match timer_init API change 2016-02-13 21:29:36 +01:00
Hauke Petersen
cfac198fc8 cpu/stm32f0: added gpio_init_analog() 2016-02-13 13:06:58 +01:00
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
2016-02-13 13:02:32 +01:00
MohmadAyman
f881874bbb cpu/stm32f0: optimized GPIO driver implementation 2016-02-12 07:01:20 +02:00
MohmadAyman
1ecb19c7ae stm32f0 vendor headers updated 2016-02-12 07:00:07 +02:00
Hauke Petersen
ea8db10524 cpu/stm32: use common CPUID implementation 2016-02-10 09:12:30 +01:00
Hauke Petersen
a04f509857 cpu/stm32f0: 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
b71d8ea750 cpu/stm32f0: adapted UART driver 2015-10-27 14:59:38 +01:00
Joakim Nohlgård
cbaeccdb90 periph/timer: Drop timer_reset 2015-10-17 20:11:03 +02:00
Peter Kietzmann
15b5e09d9f Merge pull request #3894 from haukepetersen/opt_f0_baudcalc
cpu/stm32f0: optimized baudrate calculation
2015-09-29 21:01:37 +02:00
Joakim Nohlgård
98c465008b all: Update @gebart family name, email 2015-09-20 13:47:39 +02:00
Hauke Petersen
c0c277c49b cpu/stm32f0: optimized baudrate calculation 2015-09-18 12:10:17 +02:00
9d75b2f2d9 cpu: stm32f0: remove obsolete hwtimer support 2015-09-16 10:58:52 +02:00
DipSwitch
1fe296d707 cpu/stm32l1-f0/spi: Configure the SPI pins as highspeed 2015-09-12 12:47:32 +02:00
Lari Lehtomäki
1ecaadab4e cpu/stm32f0: RTC implementation with external clock
tests: Tests for RTC clock
2015-08-20 13:09:43 +03:00
336c5300cd cpu: stm32f0: use periph_common SPI functions 2015-08-14 14:46:35 +02:00
Hauke Petersen
f30b7bf13d cpu/stm32f0: 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
f9bb383118 cpu/stm32f0: 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
cb476daff0 cpu/stm32f0: 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
9943f51080 global: renamed cpu-conf.h into cpu_conf.h 2015-05-28 15:45:05 +02:00
Hauke Petersen
f6d4efae13 cpu/stm32f0: make use of hwtimer_compat module 2015-05-27 10:02:30 +02:00
45d588c167 cpu: stm32f0: use cortex common makefile and newlib module 2015-05-26 10:46:19 +02:00
Lucas Jenß
742c39e838 Merge pull request #2881 from x3ro/clarify-stacksize-constants
Clarify and unify naming of thread-related constants (stacksize and priority)
2015-05-21 16:55:30 +02:00
Lucas Jenss
426170b064 Improve naming of thread stacksize/priority constants
As discussed in #2725, this commit renames a number of stacksize constants to
better convey their intended usage. In addition, constants for thread priority
are given a `THREAD_` prefix. Changes are:

* KERNEL_CONF_STACKSIZE_PRINTF renamed to THREAD_EXTRA_STACKSIZE_PRINTF
* KERNEL_CONF_STACKSIZE_DEFAULT renamed to THREAD_STACKSIZE_DEFAULT
* KERNEL_CONF_STACKSIZE_IDLE renamed to THREAD_STACKSIZE_IDLE
* KERNEL_CONF_STACKSIZE_MAIN renamed to THREAD_STACKSIZE_MAIN
* Move thread stacksizes from kernel.h to thread.h, since the prefix changed
* PRIORITY_MIN renamed to THREAD_PRIORITY_MIN
* PRIORITY_IDLE renamed to THREAD_PRIORITY_IDLE
* PRIORITY_MAIN renamed to THREAD_PRIORITY_MAIN
* Move thread priorities from kernel.h to thread.h since the prefix has changed
* MINIMUM_STACK_SIZE renamed to THREAD_STACKSIZE_MINIMUM for consistency
2015-05-21 00:14:23 +02:00
Joakim Gebart
ae5098bb9b cpu/stm32f0/include/stm32f091xc.h: Replace tabs by spaces 2015-05-19 12:25:46 +02:00
Oleg Hahm
828839316b core: renamed crash.h to panic.h 2015-05-09 18:44:10 +02:00
Hauke Petersen
4ad36a799e cpu/stm32f0: added support for stm32f091rc 2015-03-16 16:23:44 +01:00
Thomas Eichinger
c633c083db Merge pull request #2597 from haukepetersen/add_stm32f0_corepanic
cpu/stm32f0: included core_panic module
2015-03-16 15:15:33 +01:00