Peter Kietzmann
68dd9a3996
Merge pull request #2865 from kaspar030/fix_samd21_gpio_compile_issue
...
cpu: samd21: fix gpio irq handling compile handling
2015-05-26 14:08:45 +02:00
302699eb02
make: move cpu specific CFLAGS into cpu makefile
2015-05-26 10:46:34 +02:00
107be4122c
board: samr21-xpro: adapt to common board Makefile
2015-05-26 10:46:34 +02:00
9dc0554d98
cpu: samd21: use cortex common makefile and newlib module
2015-05-26 10:46:33 +02:00
b6a92bc8f3
cpu: stm32l1: use cortex common makefile and newlib module
2015-05-26 10:46:29 +02:00
8a8d547711
cpu: stm32f4: use cortex common makefile and newlib module
2015-05-26 10:46:24 +02:00
2d680776ba
cpu: stm32f3: use cortex common makefile and newlib module
2015-05-26 10:46:24 +02:00
8ef7c5eaac
cpu: stm32f1: use cortex common makefile and newlib module
2015-05-26 10:46:24 +02:00
45d588c167
cpu: stm32f0: use cortex common makefile and newlib module
2015-05-26 10:46:19 +02:00
cad9cb42f6
cpu: sam3x8e: use cortex common makefile and newlib module
2015-05-26 10:46:19 +02:00
c0bdebd164
cpu: nrf51822: use cortex common makefile and newlib module
2015-05-26 10:46:11 +02:00
484c3e3697
cpu: lpc1768: use cortex common makefile and newlib module
2015-05-26 10:46:03 +02:00
6e6e1eb2b3
cpu: cc2538: use cortex common makefile and newlib module
2015-05-26 10:46:03 +02:00
b89a58fdb5
cpu: add common cortex Makefile.include
2015-05-26 10:45:40 +02:00
aff25936d1
cpu: samd21: fix gpio irq handling compile handling
2015-05-26 10:23:43 +02:00
Martine Lenders
b11eb90042
Merge pull request #3005 from authmillenon/od/fix/PRI.64
...
od: add PRI.64 for unsupported boards
2015-05-23 10:05:59 +02:00
Oleg Hahm
7be7e00ab9
Merge pull request #3042 from gebart/pr/doxygen-@file-remove-filename
...
everything: Remove filename from @file Doxygen command
2015-05-22 17:10:04 +02:00
Hauke Petersen
bac6b7fa97
Merge pull request #2954 from d00616/cpu_nrf51_lpm
...
cpu/nrf51822/lpm_arch: add __WFI
2015-05-22 13:45:44 +02:00
Martine Lenders
6d13c899c5
od: add PRI.64 for unsupported boards
2015-05-22 11:54:23 +02:00
Johann Fischer
31c0ea7358
Merge pull request #2994 from gebart/pr/kinetis-pwm-refactor
...
kinetis: Refactor PWM periph
2015-05-22 09:51:47 +02:00
Joakim Gebart
13832d8e62
everything: Remove filename from @file Doxygen command
2015-05-22 07:34:41 +02:00
Oleg Hahm
d0790ad034
Merge pull request #2993 from gebart/pr/kinetis-bitband-reg
...
kinetis: remove ambiguous BITBAND_REG macro
2015-05-21 19:18:33 +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
Joakim Gebart
af3263b0a2
k60: Use BITBAND_REG32
...
- Use BITBAND_REG32 instead of BITBAND_REG for improved code readability.
- Remove BITBAND_PERIPH* from cpu-conf.h
- Remove BITBAND_REG from MK60D10.h, MK60DZ10.h
2015-05-21 11:00:50 +02:00
Joakim Gebart
e82ba82dc3
kinetis: Use BITBAND_REG32 instead of BITBAND_REG in random_rngb.c
2015-05-21 11:00:49 +02:00
Joakim Gebart
82d1432e07
k60: Add BITBAND_REG8,16,32 macros to MK60DZ10.h
...
For specifying the register access width. Copied from MK60D10.h.
2015-05-21 11:00:49 +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
Frank Holtz
ece408a96c
cpu/nrf51822/lpm_arch: add power modes
2015-05-20 20:30:12 +02:00
Oleg Hahm
8cb0e59283
Merge pull request #3030 from gebart/pr/tab-fixes2
...
Tab indentation fixes
2015-05-20 18:27:28 +02:00
Joakim Gebart
c85cc83a5a
kinetis: Refactor PWM periph implementation
...
- Set the proper prescaler value depending on requested frequency
- Return the actual achieved frequency in pwm_init
- Handle 1-8 channels depending on periph_conf.h instead of 4 fixed
- Perform function argument verification before touching the hardware
- Turn on PORT clock gate before touching PORT registers
- Eliminate some magic numbers
2015-05-20 06:16:42 +02:00
Peter Kietzmann
b393e530da
Merge pull request #3024 from haukepetersen/fix_stm32f1_uart
...
cpu/stm32f1: fixed uart_init()
2015-05-19 14:43:03 +02:00
Joakim Gebart
ae5098bb9b
cpu/stm32f0/include/stm32f091xc.h: Replace tabs by spaces
2015-05-19 12:25:46 +02:00
BytesGalore
369e7bbf43
Merge pull request #2540 from josephnoir/topic/cpp-stl-compatibility
...
Add replacement headers for std thread, mutex and condition_variable
2015-05-19 07:56:54 +02:00
haukepetersen
84be07f2ab
cpu/stm32f1: fixed uart_init()
...
- added linebreak to funtion declaration
- fixed saving of callback argument
2015-05-18 21:12:23 +02:00
Peter Kietzmann
b3e78ddc33
Merge pull request #3016 from gebart/pr/tab-indentation
...
Inconsistent indentation in some files
2015-05-18 15:45:15 +02:00
df7deccd25
Merge pull request #2976 from gebart/pr/cortex-m-initial-stack-alignment
...
cortex-m: initial stack alignment to 64bit
2015-05-18 15:01:30 +02:00
Joseph Noir
bddaee751d
Add replacement headers for thread, mutex and cond
...
These headers do not provide full stl functionality,
but a small subset:
* thread and this_thread
* condition_variable (some timed functions are missing)
* mutex, lock_guard and unique_lock
2015-05-18 13:57:02 +02:00
Martine Lenders
e53cdbb1b5
Merge pull request #3015 from gebart/pr/cppcheck-warnings
...
cppcheck drive-by fixes
2015-05-18 11:51:22 +02:00
Hauke Petersen
9e92ad5e89
Merge pull request #2948 from d00616/cpu_nrf51_poweropt_random
...
cpu/nrf51822/periph/random Power optimization
2015-05-18 10:41:44 +02:00
Joakim Gebart
273481455b
stm32l1: Replace tabs by spaces
2015-05-18 07:10:52 +02:00
Joakim Gebart
6000b29440
stm32f4: Replace tabs by spaces
2015-05-18 07:10:52 +02:00
Joakim Gebart
d0709d914e
stm32f1: Replace tabs by spaces
2015-05-18 07:10:52 +02:00
Joakim Gebart
04c445c17e
mc1322x: Replace tabs by spaces
2015-05-18 07:10:52 +02:00
Joakim Gebart
a595ab00af
lpc2387: Replace tabs by spaces
2015-05-18 07:10:52 +02:00
Joakim Gebart
dbb4ff1744
kw2x: Replace tabs by spaces
2015-05-18 07:10:52 +02:00
Joakim Gebart
0f23a9a599
cortex-m4: Replace tabs by spaces
2015-05-18 07:10:52 +02:00
Joakim Gebart
a0e6cc7504
cortex-m3: Replace tabs by spaces
2015-05-18 07:10:52 +02:00
Joakim Gebart
b39b4fc6d1
cortex-m0: Replace tabs by spaces
2015-05-18 07:10:52 +02:00
Joakim Gebart
01c5120039
cortex-m: Suppress cppcheck error about uninitialized result
...
False positive, the variable result is assigned from within inline assembly
2015-05-18 06:29:35 +02:00
Frank Holtz
85248ddec8
cpu: nrf51822/periph/random Power optimization
2015-05-16 10:39:30 +02:00