1
0
mirror of https://github.com/RIOT-OS/RIOT.git synced 2025-01-18 12:52:44 +01:00
Commit Graph

2126 Commits

Author SHA1 Message Date
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
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
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
PeterKietzmann
5ab2297b25 samd21/i2c: wait for bus idle after stop condition 2016-05-27 11:23:05 +02: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
Hauke Petersen
39043b5e6e cpu/samd21: fix ISR mapping for PB27 2016-04-19 20:46:41 +02:00
Hauke Petersen
fbb144f7b8 Merge pull request #5315 from bapclenet/samd21/gpio_PA27
SAMD21/GPIO driver: Add missing interrupts
2016-04-19 20:46:09 +02:00
Florent-Valéry
15066e0418 cpu/cc26x0: cpu_clock_init() implementation 2016-04-18 19:00:49 +02:00
Leon M. George
475fb6f84d cpu: add CC26x0-family 2016-04-18 19:00:49 +02:00
Baptiste
0215b08998 SAMD21/GPIO driver: Add missing interrupts 2016-04-14 20:06:36 +02:00
kYc0o
699410efc8 Merge pull request #5124 from locicontrols/fixes
cpu/cc2538: fix build errors when UART1 or the 32 kHz crystal is enabled
2016-04-14 12:00:53 +02:00
334481559d cpu: native: make netdev2_tap internal functions static 2016-04-11 17:03:28 +02:00
Marc Poulhiès
788f9f9e50 cpu/lm4f120: fix ADC pin mapping
fix GPIO pin mapping for ADC_0

Signed-off-by: Marc Poulhiès <dkm@kataplop.net>
2016-04-11 12:39:52 +02:00
Stephane D'Alu
1ac5e5fbdd Added nrf51 ac variant 2016-04-09 20:18:34 +02:00
Hauke Petersen
acf9bf7037 Merge pull request #5256 from DipSwitch/pr/fix_cortex_initialization
cpu/cortex-m: Enable STKALIGN to make the Cortex-M keep the stack 8 byte aligned
2016-04-08 13:36:11 +02:00
Hauke Petersen
23b75c421f cpu/atmega2560: reworked timer driver 2016-04-07 19:04:01 +02:00
Hauke Petersen
9e4c08d89c cpu/atmega2560: added CMSIS style defs for timers 2016-04-07 19:04:01 +02:00
DipSwitch
b6140f15f3 cpu/cortex-m: Enable STKALIGN to make the Cortex-M keep the stack 8 byte aligned on 4 byte aligned stack pointers 2016-04-07 00:27:26 +02:00
DipSwitch
945f01f7e0 [SQUASH] Remove unrelevant changes 2016-04-05 23:54:01 +02:00
DipSwitch
a259cc42b0 [SQUASH] Make PLL_DIV and PLL_MUL behave the same as for the F3 and F4 2016-04-05 23:51:55 +02:00
DipSwitch
edae42281b [SQUASH] Tested HSI 2016-04-05 23:38:32 +02:00
DipSwitch
50fda7e07f [SQUASH] Fix timer clock calculations 2016-04-05 23:22:50 +02:00
Oleg Hahm
900528b2f2 netdev2_tap: check for existence before calling cb 2016-04-03 18:04:03 +02:00
c3f7186d4e unify usage of inline assembly 2016-03-31 22:23:35 +02:00
Hauke Petersen
02df871428 Merge pull request #4949 from jia200x/nucleo-f072
board: added support for nucleo f072
2016-03-31 19:18:28 +02:00
José Ignacio Alamos Aste
4ea6d26f90 stm32f072rb: Adapter vendor header file due to inconsistency in some variables. 2016-03-31 18:20:24 +02:00
José Ignacio Alamos Aste
20d6ead969 stm32f072rb: Added support for CPU 2016-03-31 18:20:24 +02:00
Yonezawa-T2
c4bc42419b netdev2_tap: continue reading even if no spaces left in pktbuf
On OS X, `netdev2_tap` suspends monitoring file descriptor until `_recv` is
called. If no spaces in left in pktbuf, `gnrc_netdev2_eth` does not call `_recv`
that results in deadlock.

With this commit, `gnrc_netdev2_eth` calls `_recv` with NULL buffer and non-zero
length parameter, that indicates the driver to drop frame and resume working.
2016-03-31 16:59:12 +09:00
Yonezawa-T2
79d33897cb native: add UART driver based on /dev/tty
uart0 functionality is removed by #3164. This patch implements periph/uart,
rather than deprecated uart0, using /dev/tty.
To use with netdev2_tap simultaneously, this patch adds asynchronus read system
and modifies netdev2_tap to use it.

A TTY device is specified on command line with -c (COM) option, since -t was
used by the old implementation.

This patch also implements empty GPIO driver needed by the xbee driver.
2016-03-31 16:59:12 +09:00
Peter Kietzmann
3fa8a267b3 Merge pull request #5155 from OlegHahm/diskio_cleanup
doc diskio: RIOTized style and added doxygen
2016-03-30 15:14:25 +02:00
Oleg Hahm
1f4d73dde1 Merge pull request #4801 from OlegHahm/netstats
netstats: introduce L2 netstats
2016-03-30 14:42:49 +02:00
Oleg Hahm
0925737e28 doc diskio: RIOTized style and added doxygen 2016-03-30 12:54:51 +02:00