Daniel Amkær Sørensen
6040531ae1
cpu/atmega2560: fixes the configuration of pullup resistors in gpio.c
2015-10-22 07:05:33 +02:00
Joakim Nohlgård
30584a49e5
cortexm-common: Workaround for error: r7 cannot be used in asm here
...
Fixes https://github.com/RIOT-OS/RIOT/issues/4125
2015-10-21 14:35:02 +02:00
Hauke Petersen
05ef9fee99
cpu/kinetis_common: removed i2c_init_slave()
2015-10-20 16:58:06 +02:00
Hauke Petersen
82c843a000
cpu: removed init_slave from I2C drivers
2015-10-20 16:57:39 +02:00
Joakim Nohlgård
cbaeccdb90
periph/timer: Drop timer_reset
2015-10-17 20:11:03 +02:00
Thomas Eichinger
79a3b05b42
Merge pull request #4092 from ks156/spi
...
cpu/lpc11u34 : Added SPI for NXP LPC11U34 (SPI_0 and SPI_1)
2015-10-16 17:48:23 +02:00
Paul Rathgeb
df68ac9f79
cpu/lpc11u34 : Added SPI for NXP LPC11U34 (SPI_0 and SPI_1)
...
make: Blacklisted 'weio' in driver_at86rf2xx and driver_kw2xrf due to insufficient memory
2015-10-16 17:28:09 +02:00
daniel-k
1f98e06956
samd21/gpio: check if interrupt is enabled in isr, fixes #4087
...
The interrupt flag for a previously configured external gpio interrupt
will be set regardless of the actual configuration. So when another source
causes an interrupt, the callback of a disabled gpio interrupt will be serviced
although it was disabled if the interrupt occured in the meantime.
2015-10-15 17:05:40 +02:00
Thomas Eichinger
02e2d8c353
Merge pull request #4084 from ks156/adc
...
cpu/lpc11u34 : Added ADC support for LPC11U34
2015-10-14 10:22:09 +02:00
Paul Rathgeb
c2d8d27322
cpu/lpc11u34 : Added ADC support for LPC11U34
2015-10-13 21:45:17 +02:00
Thomas Eichinger
2b29abed8e
Merge pull request #4071 from thomaseichinger/hauke-fix-gpio-gpiodev
...
drivers/gpio: renamed GPIO(x,y) macro to GPIO_PIN
2015-10-13 16:05:19 +02:00
Hauke Petersen
d43dc9182f
cpu: s/GPIO(x,y)/GPIO_PIN(x,y)/
2015-10-13 14:59:54 +02:00
8c08c9f731
Merge pull request #4049 from thomaseichinger/pr/mega_gpio_oob
...
cpu/atmega2560: fix out of bounds array access
2015-10-13 13:00:07 +02:00
Thomas Eichinger
c0782d68e8
Merge pull request #4070 from thomaseichinger/hauke_fix_l1_uartpins
...
cpu/stm32l1: cleaned up UART pin configuration slightly
2015-10-13 11:37:12 +02:00
daniel-k
70c8f355c5
samd21: don't change priority of interrupts, this is really evil
2015-10-12 19:53:43 +02:00
Hauke Petersen
cdcdd185af
boards/nucleo-l1: adapted UART configuration
2015-10-10 13:24:28 +02:00
Paul Rathgeb
8b97ef12d5
cpu/lpc11u34 : Add CPUID support and added this capability to board/weio
2015-10-10 09:23:45 +02:00
Hauke Petersen
2e84fbf85e
cpu/stm32l1: optimized pin init in UART driver
2015-10-09 11:15:34 +02:00
Thomas Eichinger
89c0f42b00
Merge pull request #4029 from ks156/pwm
...
cpu/lpc11u34 : Peripheral addition : PWM
2015-10-08 17:00:52 +02:00
Cenk Gündoğan
05fe4a33d8
Merge pull request #3870 from cgundogan/pr/cpu/cortexm0plus
...
cpu/Makefile.include.cortexm_common: don't use cortex-m0plus for clang if unsupported
2015-10-08 16:50:39 +02:00
Paul Rathgeb
01e5c056d9
cpu/lpc11u34 : Added PWM support for the NXP LPC11U34
...
and added PWM capabilities to the board WeIO
2015-10-08 15:37:38 +02:00
Thomas Eichinger
11895d4f07
cpu/atmega2560: fix out of bounds array access
2015-10-05 13:55:16 +02:00
Daniel Amkær Sørensen
e500301f1c
cpu/atmega2560: gpio - fixes a bug where gpio_* behaves incorrect if PORTn address > 0xFF
2015-10-05 12:43:35 +02:00
Ludwig Knüpfer
dd3229aa62
native: dynamically load malloc
...
g++ 5.2.0 apparently requires malloc before startup is run.
2015-10-04 18:13:12 +02:00
Paul Rathgeb
53b6df3751
cpu/lpc11u34: Fixed typo
2015-10-02 14:56:52 +02:00
Paul Rathgeb
100bd51a64
cpu/lpc11u34 : Added a new CPU definition for NXP LPC11U34
...
This CPU is used in the WeIO (www.we-io.net)
board.
Peripheral included :
- timer
- uart
- gpio
2015-10-01 20:11:00 +02:00
5b0dc7641f
Merge pull request #4004 from sgso/used_attribute_for_lto
...
cpu/cortexm_common: add used attributes for LTO
2015-10-01 11:18:46 +02:00
Peter Kietzmann
4e05254eb7
Merge pull request #3893 from haukepetersen/opt_f1_baudcalc
...
cpu/stm32f1: optimized baudrate calculation
2015-09-30 17:20:08 +02:00
Sebastian Sontberg
bc1e6c815e
cpu/cortexm_common: add used attributes for LTO
2015-09-30 15:56:38 +02:00
Peter Kietzmann
be8f63769c
Merge pull request #3879 from sgso/fix_spi_slave_return_codes
...
cpu: let spi_init_slave() stubs return error codes
2015-09-30 14:07:54 +02:00
Daniel Krebs
85f5a86f7e
Merge pull request #3887 from daniel-k/pr/samd21_clocks
...
samd21: tidy up peripheral clocks and fix potential bugs
2015-09-30 10:42:10 +02:00
Thomas Eichinger
053d2498fc
Merge pull request #3193 from locicontrols/cc2538-uart-fixes
...
cpu/cc2538: misc UART driver fixes
2015-09-30 00:30:31 +02:00
Peter Kietzmann
076cbb6c15
Merge pull request #3897 from haukepetersen/opt_l1_baudcalc
...
cpu/stm32l1: optimized baudrate calculation
2015-09-29 23:41:27 +02:00
Peter Kietzmann
c797117be1
Merge pull request #3896 from haukepetersen/opt_f4_baudcalc
...
cpu/stm32f4: optimized baudrate calculation
2015-09-29 23:30:35 +02:00
Peter Kietzmann
6dd73a0e70
Merge pull request #3895 from haukepetersen/opt_f3_baudcalc
...
cpu/stm32f3: optimized baudrate calculation
2015-09-29 22:24:23 +02:00
Peter Kietzmann
15b5e09d9f
Merge pull request #3894 from haukepetersen/opt_f0_baudcalc
...
cpu/stm32f0: optimized baudrate calculation
2015-09-29 21:01:37 +02:00
Peter Kietzmann
d081adeda9
Merge pull request #3751 from daniel-k/pr/samd21_i2c
...
samd21/i2c: add feedback in case transfer failed
2015-09-29 20:14:43 +02:00
daniel-k
0b6da4609e
samd21: tidy up peripheral clocks and fix potential bugs in pwm and i2c clocks
2015-09-29 18:49:46 +02:00
Ian Martin
40b93ea6ad
cpu/cc2538: uart init overhaul
2015-09-29 12:26:13 -04:00
Ian Martin
aca53006b0
cpu/cc2538: preserve UART_CTL flags when clearing an error condition
2015-09-29 12:26:13 -04:00
Ian Martin
b2c51bed6a
cpu/cc2538: eliminate unused macros UART_1_CTS_PORT and UART_1_RTS_PORT
2015-09-29 12:26:13 -04:00
Ian Martin
d70705f840
cpu/cc2538: round when computing the UART baudrate divisor
2015-09-29 12:26:13 -04:00
effb15a2cc
Merge pull request #3313 from gebart/pr/eINT-fixes
...
eINT/dINT fixes
2015-09-29 12:39:16 +02:00
Daniel Krebs
1c585688bc
Merge pull request #3700 from gebart/pr/cortexm-state-rebased
...
cortexm: Attempt to reconstruct state for debugging hard faults
2015-09-29 11:26:28 +02:00
Oleg Hahm
4cfb8140e4
Merge pull request #3978 from LudwigOrtmann/pr/namechange
...
documentation: update my name (Ortmann -> Knüpfer)
2015-09-28 10:38:41 +02:00
Ludwig Knüpfer
eda6328e21
documentation: update my name (Ortmann -> Knüpfer)
2015-09-27 18:58:30 +02:00
Oleg Hahm
f035bced0c
doc: put network devices and sensors in subgroups
2015-09-27 18:25:43 +02:00
d9414fdab4
cpu: msp430fxyz: switch back to uart_stdio
2015-09-25 11:09:19 +02:00
Hauke Petersen
f7057da00d
Merge pull request #3909 from gebart/pr/k60-delete-old-devio
...
cpu/k60: remove leftover files from old syscall implementation
2015-09-24 16:29:07 +02:00
Joakim Nohlgård
015098d2c2
kinetis: timer: return error if timer channel is not zero.
2015-09-24 06:46:34 +02:00
Hauke Petersen
ff84390627
Merge pull request #3939 from haukepetersen/fix_native_periph_timer
...
native/timer: fix return value for invalid channel
2015-09-23 22:54:05 +02:00
d0ff4946ea
cpu: lpc2387: add spi_conf_pins()
2015-09-23 19:00:55 +02:00
Hauke Petersen
1664bcbf59
native/timer: fix return value for invalid channel
2015-09-23 14:48:23 +02:00
Joakim Gebart
56c6d629f7
cpu/cortexm_common: Improve hardfault debug information
...
Print more relevant information and attempt to reconstruct the state for GDB before halting.
2015-09-23 13:50:06 +02:00
Cenk Gündoğan
32ff8e30e1
cpu/Makefile.include.cortexm_common: don't use cortex-m0plus for clang if unsupported
2015-09-22 21:19:59 +02:00
Hauke Petersen
1f02e7c86a
Merge pull request #3856 from haukepetersen/opt_l1_timer
...
cpu/stm32l1: optimized and fixed timer driver
2015-09-22 14:45:00 +02:00
Hauke Petersen
d7cf9b3912
cpu/stm32l1: optimized and fixed timer driver
2015-09-22 12:30:41 +02:00
483b59554a
cpu: msp430fxyz: fix usart ISR
2015-09-22 10:43:27 +02:00
c122571801
cpu: msp430-common: fix context save/restore
...
Previously, __restore_context was meddling with the to-be-restored
context SR on the stack, not correctly restoring GIE.
Now, we let the CPU restore the correct status register as saved in
__save_context.
Contains some simplification of the context save/restore logic.
2015-09-22 10:43:27 +02:00
Joakim Gebart
96528ea266
cpu/k60: remove leftover files from old syscall implementation
2015-09-21 08:45:07 +02:00
Joakim Nohlgård
808b1abdd0
Merge pull request #3623 from gebart/pr/kinetis-timer-stop-fix
...
cpu/kinetis_common: periph/timer, read PIT value before stopping
2015-09-21 08:21:34 +02:00
Oleg Hahm
d89ac480eb
atmega: added panic function
2015-09-20 21:44:26 +02:00
Joakim Nohlgård
98c465008b
all: Update @gebart family name, email
2015-09-20 13:47:39 +02:00
Oleg Hahm
d664f96e61
lm4f120: removed superfluous stellaris debug.h
2015-09-20 01:51:47 +02:00
Oleg Hahm
e15bdd257a
debug: replace __FILE__ by RIOT_RELATIVE_FILE
2015-09-20 01:51:47 +02:00
Joakim Gebart
27565a655e
cpu/native: remove dINT/eINT definitions
2015-09-19 10:38:18 +02:00
Joakim Gebart
6473fa77d4
cpu/arm7_common: remove dINT/eINT definitions
2015-09-19 10:37:20 +02:00
Joakim Gebart
b6a88cba5f
cpu/cortexm_common: remove dINT/eINT definitions
2015-09-19 10:37:17 +02:00
Joakim Gebart
199528d3fb
cpu/atmega: remove dINT/eINT definitions
2015-09-19 10:35:58 +02:00
Joakim Gebart
0d2efd5fe7
native/syscalls: Use restoreIRQ
2015-09-19 10:35:58 +02:00
Hauke Petersen
b3b7fe790f
cpu/stm32l1: optimized baudrate calculation
2015-09-18 12:25:21 +02:00
Hauke Petersen
d17973a060
cpu/stm32f4: optimized baudrate calculation
2015-09-18 12:21:46 +02:00
Hauke Petersen
b4e3c2849c
cpu/stm32f3: optimized baudrate calculation
2015-09-18 12:17:01 +02:00
Hauke Petersen
c0c277c49b
cpu/stm32f0: optimized baudrate calculation
2015-09-18 12:10:17 +02:00
Hauke Petersen
6b9ca4d5c0
cpu/stm32f1: optimized baudrate calculation
2015-09-18 12:04:25 +02:00
Hauke Petersen
b49eb93249
cpu/cc430: timer: s/TIMER_DEV/TIMER_BASE/
2015-09-17 13:57:58 +02:00
Hauke Petersen
35aaa62c38
cpu/kinetis_common: s/TIMER_DEV/TIMER_BASE/
2015-09-17 13:57:58 +02:00
Hauke Petersen
7957ce4d75
cpu/msp430fxyz: s/TIMER_DEV/TIMER_BASE/
2015-09-17 13:57:58 +02:00
Hauke Petersen
399e7c1c2e
cpu/msp430: added SPI periph driver
2015-09-17 11:32:38 +02:00
Thomas Eichinger
92cd6dfcba
Merge pull request #3866 from haukepetersen/opt_msp430_board_makefiles
...
boards: Makefile cleanup for MSP430 based boards
2015-09-17 11:30:40 +02:00
Sebastian Sontberg
8b4fcc2a14
cpu: let spi_init_slave() stubs return error codes
2015-09-17 11:19:31 +02:00
Martine Lenders
aaff370bc9
Merge pull request #3710 from authmillenon/cpu/feat/atmega-errno
...
atmega_common: give distinct numbers to errnos
2015-09-17 10:14:57 +02:00
Martine Lenders
2184c97002
Merge pull request #3838 from haukepetersen/opt_samuart
...
cpu/samd21: optimized and extended UART impl.
2015-09-17 03:39:36 +02:00
Hauke Petersen
515d325c89
cpu/msp430xx: some Makefile cleanup
...
- removed redundancies
- optical cleanup
2015-09-16 17:07:26 +02:00
ca540c9d07
cpu: atmega2560: use double-read scheme for timer read
2015-09-16 11:13:42 +02:00
cbb7750202
boards: msba2: add xtimer tuning values, remove HW_TIMER define
2015-09-16 10:58:55 +02:00
a22f0a3c78
cpu: msp430*: remove obsolete hwtimer_compat dependency
2015-09-16 10:58:54 +02:00
832539fc88
cpu: cc430: remove hwtimer support, switch gpioint to xtimer
2015-09-16 10:58:53 +02:00
87d2596819
cpu: cc430: make adc use xtimer
2015-09-16 10:58:53 +02:00
9d088bb3d7
cpu: lpc2387: mci: use xwtimer
2015-09-16 10:58:53 +02:00
4e8bf2cb69
cpu: native: remove hwtimer traces
2015-09-16 10:58:53 +02:00
48b21f00c3
cpu: x86: remove obsolete hwtimer support
2015-09-16 10:58:53 +02:00
b0893a99ba
cpu: lpc2387: adc: use xtimer
2015-09-16 10:58:53 +02:00
2cd4a80054
cpu: native: minor timer-related doxygen updates
2015-09-16 10:58:53 +02:00
012d82ecaf
cpu: arm7_common: remove obsolete hwtimer support
2015-09-16 10:58:53 +02:00
8c147f1e3c
cpu: cc2538: remove obsolete hwtimer support
2015-09-16 10:58:52 +02:00
d239f3c4fd
cpu: k60: remove obsolete hwtimer support
2015-09-16 10:58:52 +02:00
c0d3524132
cpu: kinetis_common: remove obsolete hwtimer support
2015-09-16 10:58:52 +02:00
16e19f3975
cpu: lm4f120: remove obsolete hwtimer support
2015-09-16 10:58:52 +02:00
8b46d1dfc4
cpu: lpc1768: remove obsolete hwtimer support
2015-09-16 10:58:52 +02:00
c3fa148256
cpu: msp430-common: remove obsolete hwtimer support
2015-09-16 10:58:52 +02:00
ea2013ff16
cpu: nrf51: remove obsolete hwtimer support
2015-09-16 10:58:52 +02:00
90c1e7ce74
cpu: sam3: remove obsolete hwtimer support
2015-09-16 10:58:52 +02:00
889991503e
cpu: saml21: remove obsolete hwtimer support
2015-09-16 10:58:52 +02:00
9d75b2f2d9
cpu: stm32f0: remove obsolete hwtimer support
2015-09-16 10:58:52 +02:00
d7a4f90e69
cpu: stm32f1: remove obsolete hwtimer support
2015-09-16 10:58:52 +02:00
3e0bcd45c5
cpu: stm32f3: remove obsolete hwtimer support
2015-09-16 10:58:52 +02:00
01f87b9df0
cpu: stm32f4: remove obsolete hwtimer support
2015-09-16 10:58:52 +02:00
8e475fa57d
cpu: stm32l1: remove obsolete hwtimer support
2015-09-16 10:58:52 +02:00
41dff1052e
cpu: x86: remove obsolete hwtimer support
2015-09-16 10:58:52 +02:00
d82ca16b5a
cpu: atmega2560: drop obsolete hwtimer support
2015-09-16 10:58:52 +02:00
a23169b831
cpu: stmf32f1: remove obsolete hwtimer_compat dependency
2015-09-16 10:58:51 +02:00
391bc02c06
cpu: cortexm_common: busywait before resetting
2015-09-16 10:58:51 +02:00
dd9de14e49
cpu: samd21: remove hwtimer support
2015-09-16 10:58:51 +02:00
fb773bf90a
cpu: native: remove hwtimer_compat dependency
2015-09-16 10:58:51 +02:00
Peter Kietzmann
0f740f611c
Merge pull request #3829 from DipSwitch/spi_set_pin_speed
...
cpu/stm32l1-f0/spi: Configure the SPI pins as highspeed
2015-09-16 10:23:43 +02:00
dd87073a60
Merge pull request #3826 from OlegHahm/netdev2_tap_buffer_size
...
netdev2_tap: set maximum buffer size correctly
2015-09-15 13:23:28 +02:00
Hauke Petersen
1a29163b63
cpu/samd21: optimized UART implementation
2015-09-14 17:20:01 +02:00
bd27feefec
cpu: atmega2560: simplify periph/timer implementation
2015-09-14 10:47:35 +02:00
7fcb2b718e
cpu: atmega: implement irq_arch_in
2015-09-14 10:47:28 +02:00
Martine Lenders
93f555ef69
Merge pull request #3782 from OlegHahm/RIOT_assert
...
core: RIOT's own assert macro
2015-09-12 13:12:34 +02:00
DipSwitch
1fe296d707
cpu/stm32l1-f0/spi: Configure the SPI pins as highspeed
2015-09-12 12:47:32 +02:00
Oleg Hahm
49917a5797
core: cpu: fix check for DEVELHELP
2015-09-12 12:43:15 +02:00
Oleg Hahm
fd121a94e6
netdev2_tap: set maximum buffer size correctly
2015-09-12 12:02:48 +02:00
Oleg Hahm
f3245cecac
core: panic: last instruction's address for assert
2015-09-11 23:23:31 +02:00
Oleg Hahm
d7161b6d4b
cpu: inline function to print instruction register
2015-09-11 23:23:31 +02:00
Oleg Hahm
143d613307
x86: added missing panic function
2015-09-11 16:09:28 +02:00
Martine Lenders
1c0cf3bf9c
native: netdev2_tap: fix NETOPT_IS_WIRED flag
2015-09-11 13:11:33 +02:00
Thomas Eichinger
5a6bc8c284
Merge pull request #3569 from authmillenon/msp430/enh/use-log
...
msp430: use assert instead of printf
2015-09-11 12:47:15 +02:00
Hauke Petersen
a4d393eea3
cpu/stm32f4: fixed typo in prescaler for timer1
2015-09-08 16:22:24 +02:00
Peter Kietzmann
b4bd18e220
Merge pull request #3792 from haukepetersen/fix_stm32f3_gpio_debug
...
cpu/stm32f3: disable debug in GPIO driver
2015-09-07 21:49:34 +02:00
Peter Kietzmann
4e47e909ba
Merge pull request #2799 from ReneHerthel/arduino_2560_gpio
...
Arduino-mega2560 GPIO implementation
2015-09-07 21:43:30 +02:00
Hauke Petersen
32cf5423a2
cpu/stm32f3: disable debug in GPIO driver
2015-09-07 18:13:00 +02:00
Hauke Petersen
92c8f279d9
Merge pull request #3725 from avmelnikoff/cpu/stm32f1
...
cpu/stm32f1: added stm32f103c8 linkerscript
2015-09-07 17:05:33 +02:00
René Herthel
d05151fdef
cpu/mega2560: initial import of a gpio driver
2015-09-07 14:48:15 +02:00
344b56bca8
Merge pull request #3167 from haukepetersen/fix_native_stacksizes
...
cpu/native: adjusted stacksizes
2015-09-05 23:17:45 +02:00
efbd5518f6
cpu: stm32f1: timer: fix race when combining two 16bit timer values
2015-09-05 12:43:37 +02:00
Hauke Petersen
7701aed546
Merge pull request #3164 from kaspar030/remove_uart0
...
sys: remove uart0
2015-09-04 18:54:30 +02:00
48baf5ddcf
Merge pull request #3683 from kaspar030/add_gnrc_netdev2_support
...
sys: net: add gnrc netdev2 support
2015-09-04 18:00:18 +02:00
fe594126e6
cpu: x86: remove obsolete uart0 code
2015-09-04 17:47:01 +02:00
f433c9a5c7
cpu: msp430-common: remove obsolete UART0_BUFSIZE define
2015-09-04 17:46:23 +02:00
087f11db09
cpu: lpc2387: remove obsolete UART0_BUFSIZE define
2015-09-04 17:46:23 +02:00
d3006b171a
cpu: cortexm_common: remove obsolete UART0_BUFSIZE define
2015-09-04 17:46:23 +02:00
f2825d2b55
cpu: atmega2560: remove obsolete UART0_BUFSIZE define
2015-09-04 17:46:23 +02:00
ab863cf831
cpu: x86: remove obsolete uart0 header include
2015-09-04 17:46:23 +02:00
0e4386a46f
native: remove uart0
2015-09-04 17:46:23 +02:00
a13bc46f3e
sys: remove uart0
2015-09-04 17:46:23 +02:00
Oleg Hahm
e2639d7f83
core: use enums for panic
2015-09-04 16:14:35 +02:00
ef972735dc
sys: net: replace dev_eth with netdev2, adapt native tap driver
2015-09-04 15:39:04 +02:00
Hauke Petersen
56ffc5672c
cpu/lpc2387: use hwtimer_compat module
2015-09-04 15:32:50 +02:00