Peter Kietzmann
e6dd02f1ad
Merge pull request #5567 from keestux/samd21-small-fix-1
...
cpu/samd21: remove include instance_sercom3.h
2016-06-29 13:45:20 +02:00
Joseph Noir
ed2c94764b
Merge pull request #4643 from gebart/pr/clang-warning-fixes
...
Clang: Add support for C++
2016-06-23 13:06:55 +02:00
Joakim Nohlgård
edaa5bb7a8
Merge pull request #5558 from gebart/pr/cortexm-isr-stack-usage
...
cortexm_common: Fix isr_stack usage count
2016-06-23 08:48:44 +02:00
Kees Bakker
417023c256
cpu/samd21: remove include instance_sercom3.h
...
That include will be already picked up by cpu.h -> cpu_conf.h -> samd21.h
2016-06-22 22:14:36 +02:00
42d34e69c3
Merge pull request #5529 from kYc0o/atmega_common_unify
...
cpu/atmega*: unify common code for atmega CPUs
2016-06-22 15:43:57 +02:00
kYc0o
be70924800
cpu/atmega2560: update atmega2560 CPU code to use atmega_common code
2016-06-22 14:25:10 +02:00
kYc0o
17c78e70e2
cpu/atmega_common: add common atmega CPU code to atmega_common
2016-06-22 14:25:10 +02:00
Joakim Nohlgård
9a0f3a9e40
Merge pull request #5540 from zhuoshuguo/fix_cpu_header_include_guards
...
CPU:Fix header include guards
2016-06-22 11:58:02 +02:00
Joakim Nohlgård
cb19a4c709
cortexm_common: Fix isr_stack_usage
...
Refactor and add multiply by word size to get the usage in number of
bytes instead of in number of words.
Verified implementation by manual memory inspection in GDB.
2016-06-20 14:33:17 +02:00
Joakim Nohlgård
4c91121372
Merge pull request #5455 from locicontrols/move-stack
...
cortexm_common: move the stack to the bottom of RAM
2016-06-20 14:28:10 +02:00
zhuoshuguo
efbbca1322
cpu: Fix header include guards
2016-06-20 10:18:59 +02:00
kYc0o
2adf76c977
Merge pull request #5537 from kYc0o/reworked_uart_wfix
...
cpu/atmega2560: reworked UART (from #5026 )
2016-06-20 00:19:57 +02:00
kYc0o
7f0a1a7b5a
cpu/atmega2560: ISR UART typo
2016-06-09 14:50:06 +02:00
Hauke Petersen
5fc67747e6
cpu/atmega2560: fixed typo in reg definition
2016-06-09 14:49:44 +02:00
Andreas "Paul" Pauli
29f0eea2ef
cpu/cc2538: add GPIO_PIN() macro to periph_conf.h. ( #5507 )
2016-06-08 14:36:54 -04:00
Hauke Petersen
ccf7cde82d
cpu/atmega2560: reworked UART implementation
2016-06-08 18:32:17 +02:00
Hauke Petersen
e57d511499
cpu/atmega2560: added CMSIS style reg defs for UART
2016-06-08 18:32:17 +02:00
zhuoshuguo
1cbe79a373
CPU: fix include header guards
...
Fix cpu/lpc2387/include/lpc2387.h
2016-06-08 16:38:20 +02:00
Iván Briano
6846b4ebdd
cpu: native: Add [v]fprintf to syscalls
...
External packages that may use fprintf(stderr, ...) for logging will
link directly to the libc version of it, and for some reason that
results in the application crashing.
2016-06-03 16:05:14 -03:00
Martine Lenders
35077bb224
Merge pull request #4871 from kaspar030/remove_netdev2_isr_arg
...
drivers: netdev2: remove netdev2 event_callback isr_arg
2016-06-02 13:30:30 +02:00
Martine Lenders
9b1ad7820c
Merge pull request #5491 from MohmadAyman/isr_stack_usage
...
cpu: add capability to show stack usage of ISR
2016-06-02 12:31:06 +02:00
d7b17684e4
drivers: net: adapt to removed event_callback argument
2016-06-02 11:11:40 +02:00
MohmadAyman
8da1eb9f7a
ps: provide ISR stackusage information
2016-06-02 09:48:37 +02:00
MohmadAyman
53df3e8b57
core: cpu: provide function to acquire ISR stack usage
2016-06-01 23:01:35 +02:00
MohmadAyman
720136491a
cpu: unify naming of ISR stacksize macro
2016-06-01 22:47:34 +02:00
Martine Lenders
fbeb6dc17d
Merge pull request #5490 from gebart/pr/enum-compare-again
...
cpu: Cast to unsigned int for argument bounds checks
2016-06-01 19:01:43 +02:00
Martine Lenders
c832d9c83f
Merge pull request #5488 from gebart/pr/cmsis-no-register
...
cpu/cortexm_common: Remove register keyword from variables
2016-06-01 18:41:10 +02:00
Peter Kietzmann
a28db27f25
Merge pull request #5464 from PeterKietzmann/tmp006_fix_opt
...
samd21/i2c: wait for bus idle after stop condition
2016-06-01 17:04:58 +02:00
Joakim Nohlgård
a1f4d1617f
cpu/cc26x0: Cast gpio_t to unsigned int for comparison
2016-06-01 16:42:16 +02:00
Joakim Nohlgård
c2b20f1f27
cpu/cc2538: Cast enum to unsigned int for comparison
2016-06-01 16:42:15 +02:00
Joakim Nohlgård
eff01f21f8
cpu/cc26x0: Cast gpio_t to unsigned int for comparison
2016-06-01 16:40:28 +02:00
Joakim Nohlgård
abca77beb0
cpu/cc2538: Cast enum to unsigned int for comparison
2016-06-01 16:39:55 +02:00
Joakim Nohlgård
73739cb7c8
cpu/cortexm_common: Remove register keyword from variables
...
register is deprecated when building C++11 code and removed in C++17,
using it will cause build failures with C++ and -Werror. The register
hint keyword is likely ignored in GCC anyway.
2016-06-01 16:18:57 +02:00
Joakim Nohlgård
9ad9f400e6
cpu/cortexm_common: Remove register keyword from variables
...
register is deprecated when building C++11 code and removed in C++17,
using it will cause build failures with C++ and -Werror. The register
hint keyword is likely ignored in GCC anyway.
2016-06-01 16:12:38 +02:00
Yonezawa-T2
3c16e8426f
native: add timeout for select. Fixes #5442
2016-06-01 12:31:19 +09:00
Joakim Nohlgård
e2c9fee917
cpu/Makefile.include.llvm: Try harder to find C++ and C headers from cross-GCC
2016-05-31 22:03:04 +02:00
Joakim Nohlgård
e4ad8d6beb
cpu/Makefile.include.llvm: Use libstdc++ headers for C++ support
2016-05-31 22:03:04 +02:00
PeterKietzmann
5ab2297b25
samd21/i2c: wait for bus idle after stop condition
2016-05-27 11:23:05 +02:00
Ian Martin
87e06756a5
cortexm_common: move the stack to the bottom of RAM
2016-05-19 15:55:36 -04:00
Andreas "Paul" Pauli
9693c3cdf5
Merge pull request #5425 from locicontrols/cc2538-ldscript
...
cpu/cc2538: eliminate cc2538.ld and use cortexm_base.ld instead
2016-05-19 16:30:11 +02:00
Peter Kietzmann
5817d91b91
Merge pull request #5192 from DipSwitch/pr/fix_stm32f1_also_disable_hsi_on_hse
...
cpu/stm32f1: Disable HSI when using the HSE as system clock
2016-05-17 10:51:46 +02:00
Ian Martin
10b001c3eb
cpu/cc2538: eliminate cc2538.ld and use cortexm_base.ld instead
2016-05-10 12:21:29 -04:00
Marc Poulhiès
ff49ca9946
cpu/lm4f120: fix SSI1 isr name
...
Signed-off-by: Marc Poulhiès <dkm@kataplop.net>
2016-05-04 13:00:25 +02:00
DipSwitch
c449ab9fdb
Merge pull request #5336 from OTAkeys/print_ipsr
...
cortexm_common: print trapped interrupt from ipsr
2016-04-30 23:04:14 +02:00
Peter Kietzmann
b0627ade85
Merge pull request #5280 from sdalu/nrf51ac
...
Added nrf51 ac variant
2016-04-26 21:11:32 +02:00
kYc0o
591b0ab3ac
Merge pull request #5356 from DipSwitch/pr/fix_cc2538_spi_compile_warning
...
cpu/cc2538/spi: Fix compiler warning of possible uninitialized variable
2016-04-20 14:47:54 +02:00
Martine Lenders
c24e91d4df
Merge pull request #5229 from OlegHahm/pktbuf_minimal_check
...
netdev ethernet: deal with too small packet buffer
2016-04-20 14:44:30 +02:00
Toon Stegen
63c0e9bec6
cortexm_common: print trapped interrupt from ipsr
...
The IPSR (=Interrupt Program Status Register) contains the exception
type number of the current Interrupt Service Routine. Printing this
out can be useful to detect if a certain interrupt is not implemented.
2016-04-20 11:41:13 +02:00
Oleg Hahm
3f1c2e1f1b
native: assert that the pktbuf is big enough
...
Rationale: the netdev2_tap Ethernet driver for native requires to temporarily store at least a maximum sized Ethernet frame.
2016-04-20 09:10:55 +02:00
DipSwitch
eb6eed6c2c
cpu/cc2538/spi: Fix compiler warning of possible uninitialized variable
2016-04-19 22:43:51 +02:00