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

64 Commits

Author SHA1 Message Date
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
Hauke Petersen
3436a10039 cpu/stm32f0: included core_panic module 2015-03-13 17:40:37 +01:00
Hauke Petersen
ec17730c38 cpu/stm32f0: fixed gpio interrupt routines
- guarded calls in case no interrupt is defined
- eneabled detection of multiple, simoultaneous events
2015-03-13 15:32:48 +01:00
Thomas Eichinger
1eac81b562 Merge pull request #2593 from haukepetersen/fix_stm32f0_timerdef
cpu/stm32f0: cleanup for timer IRQ macro
2015-03-13 14:23:41 +01:00
Hauke Petersen
49491cf66d cpu/stm32f0discovery: fixed timer irq prio macro 2015-03-13 10:21:18 +01:00
James Hollister
3d6ab85bb3 cpu/stm32f0: added cpuid_get for stm32f0 2015-03-08 12:13:10 -07:00
Joakim Gebart
45dbbd18ae stm32f0: Remove Doxygen from already documented functions. 2015-02-01 08:09:46 +01:00
Hauke Petersen
3976554f12 cpu/stm32f0: fixed port clk en for GPIO driver 2015-01-21 08:14:31 +01:00
Joakim Gebart
98c88b0549 stm32f0: Basic implementation of spi_acquire(), spi_release()
Signed-off-by: Joakim Gebart <joakim.gebart@eistec.se>
2015-01-19 19:05:23 +01:00
Hauke Petersen
3987f528f4 cpu/stm32f0: optimizations to UART driver 2015-01-07 20:11:15 +01:00
Hauke Petersen
36b3b9b457 cpu/stm32f0: set hwtimer spin barrier value 2014-11-26 18:40:17 +01:00
BytesGalore
a4d2ee307c cpu: added extern "C" to headers 2014-11-24 19:10:15 +01:00
Hauke Petersen
2220a9fab0 core/cpu/boards: removed fw_puts from RIOT 2014-11-21 13:09:02 +01:00
Hauke Petersen
62b6522e01 cpu: moved reboot_arch for cortex cpus 2014-11-20 17:22:39 +01:00
9ce0b676b4 core: sys: move ringbuffer to core 2014-11-19 14:18:39 +01:00
Hauke Petersen
594d9251c9 Merge pull request #1987 from BytesGalore/EasyCPPMixing_stm32f0discovery_support_fix
cpu/stm32f0 C++ stmf0discovery support fix
2014-11-17 18:21:19 +01:00
BytesGalore
3154bc8bc5 cpu/stm32f0: c++: initial support for c++, added _kill (weak) and weak attribute for _kill_r
boards/stm32f0discovery: provided c++ feature (cpp)
2014-11-14 13:25:02 +01:00
Thomas Eichinger
2b0d49c8b1 Merge pull request #1954 from haukepetersen/fix_cortex_irqstacksize
cpu: adjusted IRQ stack sizes for Cortex CPUs
2014-11-14 10:50:51 +01:00
Ian Martin
7bbdbcc7cb Allow the application's makefile to specify a custom linker script, for example:
LINKERSCRIPT = custom-linkerscript.ld
2014-11-10 14:28:35 -05:00
Hauke Petersen
19a95bbfbe cpu/stm32f0: fixed low-level timer driver 2014-11-06 17:23:26 +01:00
Hauke Petersen
72b68bc9f0 cpu: adjusted IRQ stack sizes for Cortex CPUs 2014-11-06 15:16:33 +01:00
Benjamin Valentin
879768397e malloc: check if the requested memory is really available 2014-11-05 12:11:24 +01:00
Hauke Petersen
13a417d02a cpu/stm32f0: optimized GPIO driver implementation 2014-10-31 14:00:46 +01:00
Hinnerk van Bruinehsen
e3aa222d6c lint: fix nullPointer errors 2014-10-31 01:24:30 +01:00
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.
2014-10-30 19:33:32 +01:00
Thomas Eichinger
a11e4fe534 Merge pull request #1712 from haukepetersen/fix_stm32f0_hardfault
cpu/stm32f0: fixed hardfault indication
2014-10-30 19:05:04 +01:00
Oleg Hahm
6d8c0d74c3 doc: some doxygen cleanups
* removed RIOT unrelated cpu documentation
* introduced cpu_specific prefix to mark such documentation
* put oneway_malloc and crypto into sys group
2014-10-23 17:29:25 +02:00
Hauke Petersen
8c3a207a3f Merge pull request #1770 from fnack/spi_extension
driver - periph: Extend SPI low-level driver interface
2014-10-17 13:54:38 +02:00
Hauke Petersen
010091f265 cpu/stm32f0: fixed typo uart driver defines 2014-10-16 22:17:30 +02:00
Fabian Nack
45b3da9be7 cpu - multiple: adapt spi drivers to interface extension 2014-10-16 17:47:10 +02:00
Hauke Petersen
15b9df8975 cpu/stm32f0: fixed hardfault indication 2014-10-06 15:45:14 +02:00
Hauke Petersen
a29b9a08e4 cpu/stm32f0: removed leftovers from slave mode 2014-10-02 17:44:26 +02:00
Thomas Eichinger
d0b0af6d81 stm32f*: rename STDIO buffer and enable getchar with UART0 2014-09-26 14:16:59 +02:00
Thomas Eichinger
c83e4cb361 stm32f1: unify UART0 use 2014-09-26 14:16:59 +02:00
Thomas Eichinger
8fc2e61e20 stm32f0: be UART0 aware 2014-09-26 14:16:31 +02:00
Hauke Petersen
127095ada0 [SQUASH ME] cpu: removed slave mode 2014-09-24 15:41:48 +02:00