Peter Kietzmann
98312452ce
Merge pull request #3170 from A-Paul/sam3x8e-periph-pwm
...
cpu/sam3x8e: Add pwm implementation
2015-06-12 16:09:08 +02:00
Andreas "Paul" Pauli
ba66a3d63f
cpu/sam3x8e: add pwm peripheral driver
2015-06-12 11:15:23 +02:00
ce8b47b75c
cpu: cortexm_common: set default value for CPU_MODEL
2015-06-11 20:41:21 +02:00
haukepetersen
e32b6c9504
cpu/native: improved error msg for netivenet
2015-06-11 15:40:40 +02:00
daniel-k
9703d324f6
samd21/rtt: fix bug in rtt_set_alarm that caused interrupt immediately after calling
2015-06-08 15:37:22 +02:00
Hauke Petersen
d9deb569b2
cpu/samd21: added peripheral PWM driver
2015-06-05 11:19:48 +02:00
bapclenet
217815c48d
Merge pull request #3034 from haukepetersen/opt_samr21
...
cpu/samd21: added cpu clock configuration code
2015-06-05 09:35:58 +02:00
Joakim Gebart
65f088a246
kinetis: hwtimer refactor/rewrite
...
- Use hwtimer_set for hwtimer_set_absolute()
- Collect hwtimer statistics with #if ENABLE_STATS
- Assembler optimized functions for CNR handling
- Correct off-by-1 after counter reset
- Defer CMR update from hwtimer_unset until ISR fires
2015-06-04 14:25:29 +02:00
Hauke Petersen
164721657d
cpu/samd21: added cpu clock configuration
...
- choosable between PLL and internal 8MHz osciallator
- configurable to a wide range of frequencies
2015-06-04 11:58:26 +02:00
Joakim Gebart
7a9f6f9796
Merge pull request #3140 from gebart/pr/kinetis-hwtimer-isr-off-by-1
...
kinetis: hwtimer fix off-by-1 in LPTMR ISR
2015-06-02 19:23:10 +02:00
Hauke Petersen
401adb8b58
Merge pull request #3018 from kaspar030/saml21_add_rtt
...
saml21: add periph rtt support
2015-06-02 16:21:23 +02:00
369a47aa35
Merge pull request #3099 from jfischer-phytec-iot/pr@kinetis-use-common-makefile
...
kinetis: adaption for common makefiles
2015-06-02 14:07:55 +02:00
Joakim Gebart
06c41108c7
kinetis: hwtimer fix off-by-1 in LPTMR ISR
2015-06-02 11:21:49 +02:00
Joakim Gebart
6e12503937
mulle: remove device map
2015-05-31 18:31:17 +02:00
Johann F
14542765a5
cpu/k60: use cortex common makefile and newlib module
2015-05-31 18:25:57 +02:00
Johann Fischer
002ba9b334
cpu/kw2x: use cortex common makefile and newlib module
2015-05-31 18:24:15 +02:00
Johann Fischer
072d0a80c7
cpu/kinetis_common/ldscripts: adapt for newlib module
2015-05-31 18:24:05 +02:00
Johann Fischer
7bc468a54e
Makefile.include.cortex_common: enhancement for kinetis_common
...
Add a exception for common startup
2015-05-31 18:24:05 +02:00
Joakim Gebart
fc92ec98bf
cortexm: CMSIS: Add extern "C" to CMSIS headers
2015-05-31 17:27:24 +02:00
Joakim Gebart
1cfb11bcde
cortexm: CMSIS: Suppress cppcheck error about uninitialized result
...
False positive, the variable result is assigned from within inline assembly
2015-05-31 17:27:24 +02:00
Joakim Gebart
9511027946
cortexm: CMSIS: Replace tabs by spaces
2015-05-31 17:27:24 +02:00
Joakim Gebart
5bfed6c3f7
cortexm: Update CMSIS to v4.3
...
found at www.arm.com/cmsis
2015-05-31 17:27:23 +02:00
Peter Kietzmann
6dc0e789e1
Merge pull request #3101 from gebart/pr/warning-fixes
...
Various warning fixes
2015-05-31 17:03:49 +02:00
Hauke Petersen
19ef9dbe4e
cpu/cortexm: raised ISR stack size to safer value
...
256 Byte were not enough for some boards (not sure why, yet).
So go back to 512 byte as a save (and known working value).
2015-05-31 12:00:17 +02:00
Joakim Gebart
79ca190666
lpc2387: Add missing exception tables to linker script
...
Copied from kinetis_common
2015-05-31 09:55:49 +02:00
Hauke Petersen
744ec88a74
cpu: use cortexm common linkerscript
2015-05-30 13:43:19 +02:00
Hauke Petersen
8752894cc9
cpu/cortexm: added base 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
Joakim Gebart
68ee0f7c77
Merge pull request #3112 from haukepetersen/fix_cortex_fpu
...
cpu/cortexm: disabled hard floats for M4F CPUs
2015-05-30 09:30:39 +02:00
Joakim Gebart
41e1b57624
Merge pull request #3100 from haukepetersen/opt_cortexm_init
...
cpu: centralized cortex initialization and some defines
2015-05-30 09:21:46 +02:00
9ecaea4038
Merge pull request #2848 from haukepetersen/fix_samr21_optimization
...
cpu/samd21: remove -O0 override
2015-05-29 16:49:55 +02:00
Hauke Petersen
f48ea33805
cpu/stm32l1: adapted to centralized cpu conf
2015-05-29 16:44:52 +02:00
Hauke Petersen
0e61ec097c
cpu/stm32f1: adapted to centralized cpu conf
2015-05-29 16:44:52 +02:00
Hauke Petersen
79d9391d3b
cpu/stm32f4: adapted to centralized cpu conf
2015-05-29 16:44:52 +02:00
Hauke Petersen
c6d65fec8b
cpu/stm32f3: adapted to centralized cpu conf
2015-05-29 16:44:52 +02:00
Hauke Petersen
cb476daff0
cpu/stm32f0: adapted to centralized cpu conf
2015-05-29 16:44:52 +02:00
Hauke Petersen
dfb717c308
cpu/samd21: adapted to centralized cpu conf
2015-05-29 16:44:52 +02:00
Hauke Petersen
3c48722e0f
cpu/saml21: adapted to centralized cpu conf
2015-05-29 16:44:52 +02:00
Hauke Petersen
4d3b147122
cpu/sam3x8e: adapted to centralized cpu conf
2015-05-29 16:42:05 +02:00
Hauke Petersen
a97cdaaf8d
cpu/nrf51822: adapted to centralized cpu conf
2015-05-29 16:42:05 +02:00
Hauke Petersen
aa728e0506
cpu/lpc1768: adapted to centralized cpu conf
2015-05-29 16:42:05 +02:00
Hauke Petersen
6102896f7a
cpu/kw2x: adapted to centralized cpu conf
2015-05-29 16:42:05 +02:00
Hauke Petersen
de31e1f9e8
cpu/kinetis_common: fixes to fault_handlers
2015-05-29 16:42:05 +02:00
Hauke Petersen
d4d34a782e
cpu/k60: adapted to centralized cpu conf
2015-05-29 16:42:05 +02:00
Hauke Petersen
52e51bfea1
cpu/cc2538: adapted to centralized cpu conf
2015-05-29 16:42:05 +02:00
Hauke Petersen
78d65a4dec
cpu/cortexm_common: centralized init and defines
...
- added a centralized core implementation for all cortex CPUs
- moved default stack size defines to cpu.h in cortexm_common
- moved uart0 bufsize define to cpu.h in cortexm_common
- moved typed of panic_t to cpu.h in cortexm_common
2015-05-29 16:42:05 +02:00
Joakim Gebart
ea597a3bf3
stm32f4: random fix sign-compare
2015-05-29 14:23:02 +02:00
Joakim Gebart
18ea5561f8
stm32f4: spi_transfer_bytes fix sign-compare, reduce scope
2015-05-29 14:23:02 +02:00
Joakim Gebart
13bdc21c9e
stm32f4: i2c_init_slave fix unused-parameter
2015-05-29 14:23:01 +02:00
Joakim Gebart
12cfb8deef
k60: fix unused-parameter warnings
2015-05-29 14:23:01 +02:00
Joakim Gebart
697b85c182
kinetis: fix SPI double initialization warnings
2015-05-29 14:23:01 +02:00
Joakim Gebart
ec3679fd13
kinetis: spi_init_slave add missing callback assignment
2015-05-29 14:23:01 +02:00
Joakim Gebart
d4c1436de9
kinetis: fix warnings
...
- find_closest_x: sign-compare
- hwtimer_arch: unused-parameter
- i2c_init_slave: unused-parameter
- rnga: sign-compare
- rngb: sign-compare
- spi_transfer_bytes: sign-compare
- spi_transfer_regs: sign-compare
- timer: unused-parameter
2015-05-29 14:21:52 +02:00
Joakim Gebart
8a34b15964
cortexm_common: Conditionally define __set_FPSCR
...
It is an error to call __set_FPSCR if no FPU is present in the CPU.
2015-05-29 14:16:35 +02:00
Hauke Petersen
f3a7515d34
cpu/cortexm: disabled hard floats for M4F CPUs
2015-05-29 13:56:41 +02:00
Hauke Petersen
bca23c410b
cpu/saml21: use core_panic in startup.c
2015-05-29 12:55:13 +02:00
Hauke Petersen
93fe62f975
cpu/saml21: removed non-existent exception handlers
2015-05-29 12:55:13 +02:00
Hauke Petersen
c91a0983c0
cpu/saml21: fixed some formatting in startup.c
2015-05-29 12:52:30 +02:00
Hauke Petersen
32410bbfe5
cpu/samd21: set optimization level to -Os
2015-05-29 12:15:40 +02:00
haukepetersen
38f4fc7027
cpu/samd21: moved -O0 from board to cpu
2015-05-28 19:30:07 +02:00
haukepetersen
0d5c8546f3
cpu: adapted Makefiles to unified cortexm module
2015-05-28 19:30:07 +02:00
Hauke Petersen
b8dd144e03
cpu: unified cortexm_common folder
...
- removed coretx-m[0|3|4]
- moved their content to cortexm_common
- adjusted cortex Makefiles to this new name
- adjusted cortex Makefiles new structure
2015-05-28 19:30:07 +02:00
Hauke Petersen
a5e4b02ed8
cpu: fixed doxygen for multiple headers
2015-05-28 15:45:05 +02:00
Hauke Petersen
9943f51080
global: renamed cpu-conf.h into cpu_conf.h
2015-05-28 15:45:05 +02:00
Peter Kietzmann
6e8096c4ea
Merge pull request #3079 from haukepetersen/opt_stm_hwtimercompat
...
cpu: use hwtimer_compat module for STM CPUs
2015-05-28 14:55:22 +02:00
Peter Kietzmann
8e5541757d
Merge pull request #2911 from neumodisch/driver_i2c_stm32f3
...
boards: Implemented i2c functionality for the stm32f3discovery board
2015-05-27 15:12:11 +02:00
Johann Fischer
d1566254d9
Merge pull request #2982 from gebart/pr/openocd-verify-watchdog
...
kinetis_common: Disable watchdog between flashing and verifying image
2015-05-27 14:45:09 +02:00
Oleg Hahm
e857ca7f51
Merge pull request #2933 from gebart/pr/atomic-set-return-deprecated
...
core: remove atomic_set_return
2015-05-27 12:33:39 +02:00
Jan Pohlmann
50b8a96322
cpu/stm32f3: Initial import of the i2c driver.
2015-05-27 11:37:15 +02:00
Johann Fischer
c56afd9575
kinetis: Add check-fcfield-elf.sh
...
Checks an ELF file for a correctly set flash configuration field.
2015-05-27 10:30:33 +02:00
Joakim Gebart
5afd93f29e
kinetis: Add check-fcfield-hex.sh
...
Checks a .hex file for a correctly set flash configuration field.
2015-05-27 10:30:33 +02:00
Joakim Gebart
a745de3ef5
kinetis: Add watchdog disable code snippet
2015-05-27 10:30:21 +02:00
Hauke Petersen
b56ed06a5e
cpu/stm32l1: make use of hwtimer_compat module
2015-05-27 10:02:37 +02:00
Hauke Petersen
669544daaa
cpu/stm32f4: make use of hwtimer_compat module
2015-05-27 10:02:37 +02:00
Hauke Petersen
5112eb874c
cpu/stm32f3: make use of hwtimer_compat module
2015-05-27 10:02:36 +02:00
Hauke Petersen
c51ba47c87
cpu/stm32f1: make use of hwtimer_compat module
2015-05-27 10:02:36 +02:00
Hauke Petersen
f6d4efae13
cpu/stm32f0: make use of hwtimer_compat module
2015-05-27 10:02:30 +02:00
e2aa1051bc
Merge pull request #3076 from haukepetersen/opt_saml21_makefiles
...
board/cpu saml21: cleaned Makefiles and unused files
2015-05-26 22:21:06 +02:00
haukepetersen
286a8f2aad
cpu/saml21: removed not needed files
...
- removed hwtimer_arch.c
- removed syscalls.c
2015-05-26 21:39:03 +02:00
4872e7c1ab
saml21: add RTT support
2015-05-26 21:31:45 +02:00
haukepetersen
c9b371bb7f
cpu/saml21: simplified Makefiles
...
- made use common Makefiles
- changed name of linkerscript
2015-05-26 21:31:42 +02:00
Joakim Gebart
8b6308d89b
x86: Remove atomic_set_return
2015-05-26 21:28:31 +02:00
Joakim Gebart
dc6ab7a3a0
arm7: Remove atomic.s
2015-05-26 21:28:31 +02:00
acd9c14ddb
Merge pull request #2776 from kaspar030/add_dev_eth_netdev2
...
sys: net: add netdev device driver using dev_eth low-level ethernet driver API
2015-05-26 21:24:56 +02:00
Hauke Petersen
42f38122c5
Merge pull request #2849 from kaspar030/saml21
...
cpu: saml21 initial commit
2015-05-26 21:13:55 +02:00
1c91baed8b
sys: net: add ng_netdev_eth netdev driver for dev_eth based ethernet devices
2015-05-26 21:05:19 +02:00
bd479a5564
cpu: saml21: adapt to new THREAD_ stacksize defines
2015-05-26 20:58:51 +02:00
cfd9a5905a
Merge pull request #2766 from kaspar030/add_dev_eth
...
sys: net: introduce low-level ethernet driver API
2015-05-26 19:28:14 +02:00
Hauke Petersen
138ac603de
Merge pull request #3033 from haukepetersen/fix_samd21_spi
...
cpu/samd21: fixed broken spi_transfer_byte function
2015-05-26 15:39:55 +02:00
Hauke Petersen
569f28f6d9
Merge pull request #2711 from haukepetersen/ng_nrf51prop
...
cpu/nrf51822: added minimal radio driver implementation
2015-05-26 15:39:34 +02:00
fbfb0954eb
cpu: native: add tap implementation of dev_eth (ng_nativenet)
2015-05-26 15:37:55 +02:00
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