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

2153 Commits

Author SHA1 Message Date
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
Cenk Gündoğan
8b7512f0bf Merge pull request #5187 from Yonezawa-T2/i2c_debug
i2c: add missing #ifdef block
2016-03-30 09:34:40 +02:00
Peter Kietzmann
1756e9e270 Merge pull request #4156 from DipSwitch/add_clock_selection_stm32f0
cpu: Add clock source selection based on CLOCK_HSE or CLOCK_HSI for STM32F0 family
2016-03-30 09:33:54 +02:00
Peter Kietzmann
3c2e90e952 Merge pull request #4165 from DipSwitch/add_clock_selection_stm32f4
cpu: Add clock source selection based on CLOCK_HSE or CLOCK_HSI for STM32F4 family
2016-03-30 09:33:30 +02:00
Peter Kietzmann
126f12b138 Merge pull request #4164 from DipSwitch/add_clock_selection_stm32f3
cpu: Add clock source selection based on CLOCK_HSE or CLOCK_HSI for STM32F3 family
2016-03-30 09:32:33 +02:00
Yonezawa-T2
7271c928cc i2c: add missing #ifdef block 2016-03-30 16:24:38 +09:00
Oleg Hahm
d411387bec Merge pull request #4225 from DipSwitch/stm32f1_dac_implementation
cpu/stm32f1/periph/dac: DAC implementation for STM32F1
2016-03-30 01:31:43 +02:00
DipSwitch
9acc33396b cpu/stm32f1: Disable HSI when using the HSE as system clock 2016-03-29 23:55:40 +02:00
DipSwitch
20d39f1c97 cpu: Add clock source selection based on CLOCK_HSE or CLOCK_HSI for STM32F0 2016-03-29 23:27:52 +02:00
DipSwitch
5b526df730 cpu: Add clock source selection based on CLOCK_HSE or CLOCK_HSI for STM32F4 family 2016-03-29 23:09:22 +02:00
Peter Kietzmann
e93d616025 Merge pull request #4930 from shady33/stm32l1-rtc
STM32L1 RTC driver
2016-03-29 23:07:02 +02:00
DipSwitch
cc5a06d954 cpu: Add clock source selection based on CLOCK_HSE or CLOCK_HSI for STM32F3 family 2016-03-29 22:45:11 +02:00
Oleg Hahm
021e94ee6a netdev2: introduce linklayer netstats 2016-03-29 22:34:09 +02:00
DipSwitch
bd9b3a269c cpu/stm32/perip/dac: Move DAC implementation to stm32_common/periph since all STM32 DAC's have the same basics 2016-03-29 22:25:50 +02:00
DipSwitch
6e9f36c0c5 cpu/stm32_common/gpio: Use default gpio_t type and defines 2016-03-29 22:25:50 +02:00
Yonezawa-T2
dc9f769835 NEEDS SQUASHING i2c: revert partially 2016-03-29 17:37:50 +09:00
Yonezawa-T2
1ce140d910 debug: fix compilation error for %p formatter 2016-03-29 11:46:29 +09:00
Ian Martin
a553fe0f84 cpu/cc2538: fix build errors when UART1 or the 32 kHz crystal is enabled 2016-03-28 17:31:58 -04:00
Ian Martin
a2ac92b2bd cpu/cc2538: add periph/spi driver 2016-03-28 17:24:07 -04:00
Oleg Hahm
59674a679b netdev2: use params parameter for setup 2016-03-28 20:22:20 +02:00
Oleg Hahm
8f47dcbbf8 Merge pull request #4719 from immesys/feature-samr21e
Add linker file for Atmel SAMR21E18A
2016-03-25 22:12:28 +01:00
Oleg Hahm
26b3263f8a netdev2: moved ethernet header into subdir 2016-03-25 15:10:07 +01:00
Cenk Gündoğan
30217f8a7b Merge pull request #5040 from kYc0o/rid_of_vtimer
sys/compat/vtimer: get rid of
2016-03-25 14:35:35 +01:00
Oleg Hahm
9370e49375 Merge pull request #5142 from Yonezawa-T2/native_rename_enable_irq
native: fix build on OS X
2016-03-25 14:17:27 +01:00
Martine Lenders
9dcb5cc476 Merge pull request #5134 from OlegHahm/netif_default
make: introduce netdev_default pseudomodule
2016-03-24 18:23:49 +01:00
Oleg Hahm
79a8ec488e Merge pull request #5157 from locicontrols/gpio_init
cpu/cc2538/periph/gpio: fix gpio_init() bugs in cfed0e3
2016-03-24 18:00:29 +01:00
kYc0o
f92b025b85 vtimer: get rid of 2016-03-24 17:10:54 +01:00
Oleg Hahm
10f5f1aa33 make: introduce netif_default pseudomodule
Additionally the dependencies for GNRC specific modules are centralized in Makefile.dep.
2016-03-24 16:47:30 +01:00
Hauke Petersen
9854ca684b Merge pull request #5127 from malosek/msp430_spi_speed_fix
msp430 spi speed fix + USIC/USCI cleanup
2016-03-24 11:04:06 +01:00
malo
f093d10409 msp430: spi/uart cleaned up USIC - USCI confusion
Signed-off-by: malo <malo@25cmsquare.io>
2016-03-24 09:42:59 +01:00
malo
1e00c2b4b7 msp430: spi: fixed setting of spi speed
Signed-off-by: malo <malo@25cmsquare.io>
2016-03-24 09:40:28 +01:00
Michael Andersen
83f9cecc12 cpu/samd21: Change linker file to support E variant 2016-03-23 16:49:24 -07:00
Ian Martin
7b8c86ec16 cpu/cc2538/periph/gpio: fix gpio_init() bugs in cfed0e3 2016-03-23 13:59:02 -04:00
Cenk Gündoğan
551cb3365c Merge pull request #4814 from gebart/pr/kinetis-dac
cpu/kinetis_common: Add periph/dac implementation
2016-03-23 17:48:50 +01:00
Yonezawa-T2
56be13d5da native: fix build on OS X 2016-03-23 12:23:32 +09:00
DipSwitch
5b5810ab7b Merge pull request #5109 from DipSwitch/pr/fix_core_inc_irq
core: Fix/refactor function naming in core/incude/irq.h
2016-03-22 08:12:24 +01:00
Joakim Nohlgård
8c154d47ad cpu/kinetis_common: Implement DAC periph driver 2016-03-22 06:06:56 +01:00
Oleg Hahm
0e6ade76c8 Merge pull request #5121 from gebart/pr/toolchain-boards
Use TARGET_ARCH for more platforms
2016-03-21 16:12:46 +01:00
Joakim Nohlgård
fbde276bb1 msp430: Set TARGET_ARCH for msp430 targets 2016-03-21 12:19:30 +01:00
Joakim Nohlgård
1efe384d6f arm7: Use TARGET_ARCH instead of custom toolchain specification 2016-03-21 12:19:30 +01:00
Joakim Nohlgård
d0033a5d20 avr: Use TARGET_ARCH instead of custom toolchain specification 2016-03-21 12:19:30 +01:00
Joakim Nohlgård
cad5f08b56 Makefile.include: Set PREFIX if not set 2016-03-21 12:19:30 +01:00
e1fcee67c0 arm/newlib: Add pseudomodule to enable floating point printf support 2016-03-21 11:47:38 +01:00
Oleg Hahm
b46b9d9086 Merge pull request #5120 from gebart/pr/lm4f-gpio-unused-port-addr
cpu/lm4f120: remove unused _port_addr function in gpio.c
2016-03-21 11:00:41 +01:00
Joakim Nohlgård
169fa2ec94 cpu/lm4f120: remove unused _port_addr function in gpio.c 2016-03-21 08:47:56 +01:00
Joakim Nohlgård
2b51e4b116 newlib: Introduce newlib_nano pseudomodule 2016-03-21 07:41:23 +01:00
DipSwitch
0bb4748a94 core: Fix/refactor function naming in core/incude/irq.h 2016-03-20 16:47:34 +01:00
DipSwitch
30f0a2a26a Merge pull request #5104 from haukepetersen/fix_f1_gpiomode
cpu/stm32f1: fixed pull selection in GPIO driver
2016-03-20 12:21:33 +01:00
Joakim Nohlgård
84eb6e9f8f Merge pull request #5100 from gebart/pr/target-triple-rename
make: Rename TARGET_TRIPLE -> TARGET_ARCH
2016-03-20 09:44:29 +01:00
Joakim Nohlgård
dd73060afb Merge pull request #5054 from DipSwitch/pr/fix_arm_newlib_nano_specs
make\arm: Fix compiling against newlib nano.specs
2016-03-19 17:58:11 +01:00
Hauke Petersen
e7c8e0b1f2 cpu/stm32f1: fixed pull selection in GPIO driver 2016-03-18 11:01:08 +01:00
DipSwitch
f5a194cbe0 make\arm: Fix compiling against newlib-nano by also informing the compiler we compile with nano.specs 2016-03-17 22:16:13 +01:00
Joakim Nohlgård
7e3c67b654 make: Rename TARGET_TRIPLE -> TARGET_ARCH 2016-03-17 21:55:17 +01:00
Hauke Petersen
4938142b42 cpu/kinetis: adapted GPIO driver 2016-03-17 14:55:30 +01:00
Hauke Petersen
a7790625a1 cpu/lm4f120: adapted GPIO driver 2016-03-17 14:55:30 +01:00
Hauke Petersen
7d53847e61 cpu/stm32l1: adapted GPIO driver 2016-03-17 14:55:30 +01:00
Hauke Petersen
3f478b6e12 cpu/stm32f4: adapted to GPIO changes 2016-03-17 14:55:30 +01:00
Hauke Petersen
46bf22a01d cpu/stm32f3: adapted GPIO driver 2016-03-17 14:55:30 +01:00
Hauke Petersen
141f8c9ff6 cpu/stm32f1: adapted GPIO driver 2016-03-17 14:55:30 +01:00
Hauke Petersen
84880c1f3c cpu/stm32f0: adapted GPIO driver 2016-03-17 14:40:48 +01:00
Hauke Petersen
9bd848f113 cpu/saml21: adapted GPIO driver 2016-03-17 14:39:11 +01:00
Hauke Petersen
d3b21ddf96 cpu/samd21: adapted GPIO driver 2016-03-17 14:39:11 +01:00
Hauke Petersen
f389754de3 cpu/sam3: adapted GPIO driver 2016-03-17 14:39:11 +01:00
Hauke Petersen
af84a5e7aa cpu/nrf5x_common: adapted GPIO driver 2016-03-17 14:39:11 +01:00
Hauke Petersen
28900760de cpu/msp430fxyz: adapted GPIO driver 2016-03-17 14:39:11 +01:00
Hauke Petersen
877d06bda8 cpu/lpc2387: adapted GPIO driver 2016-03-17 14:39:11 +01:00
Hauke Petersen
82e0c51770 cpu/lpc11u34: adapted GPIO driver 2016-03-17 14:39:11 +01:00
Hauke Petersen
ba13a74a7e cpu/ezr32: adapted GPIO driver 2016-03-17 14:39:11 +01:00
Hauke Petersen
cfed0e33cc cpu/cc2538: adapted to GPIO inerface changes 2016-03-17 14:39:11 +01:00
Hauke Petersen
c36efa0f96 cpu/atmega2560: adapted GPIO driver 2016-03-17 14:39:11 +01:00
Johann Fischer
0b2ffc212d Merge pull request #5075 from jfischer-phytec-iot/pr@kinetis-i2c
cpu/kinetis_common/periph/i2c.c: fix generating the STOP signal
2016-03-17 12:53:24 +01:00
DipSwitch
93bce6291c Merge pull request #5090 from haukepetersen/opt_stm_clken
cpu/stm32_common: added shared periph_clk_en/dis functions
2016-03-16 23:02:20 +01:00
Hauke Petersen
7dc6610d48 Merge pull request #4952 from haukepetersen/opt_f1_uart
cpu/stm32f1: reworked UART driver
2016-03-16 15:14:54 +01:00
Martine Lenders
c6bad1ce07 Merge pull request #5056 from Yonezawa-T2/os_x_thread_t
native: workaround for thread_t name collision
2016-03-16 12:51:05 +01:00