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

1690 Commits

Author SHA1 Message Date
René Kijewski
ab3345ac5a Merge pull request #4321 from kaspar030/cleanup_posix
sys: cleanup posix compat code
2015-11-26 20:39:30 +01:00
c4e55a2e6d cpu: msp430-common: add unistd.h 2015-11-25 14:36:45 +01:00
4769c3075d cpu: avr_common: add unistd.h 2015-11-25 14:36:45 +01:00
Hauke Petersen
c389f5be02 cpu/cortexm_common: fixes to vectors_cortexm.c
- (optimization) only fill ISR stack with canary values if
  DEVELHELP macro is set (as we don't use these values otherwise)
- (cosmetic) moved define before variable definitions
2015-11-23 12:13:17 +01:00
Hauke Petersen
3fc71ef694 Merge pull request #4307 from haukepetersen/opt_cortex_isrstack
cpu/cortexm_common: moved ISR stack definition
2015-11-20 12:11:19 +01:00
Hauke Petersen
476167a86c cpu: fixed any doxygen warning realated to 'periph' 2015-11-19 16:08:38 +01:00
Hauke Petersen
cf11b073d6 cpu/cortexm_common: define ISR stacksize in cpu.h 2015-11-19 11:55:35 +01:00
Hauke Petersen
3d35c33cb2 cpu/stm32f1: fixed i2c driver
the _stop() function now blocks until the transfer
is complete. Not waiting can lead to concurrent bus
access and subsequent to bus errors.
2015-11-18 14:57:15 +01:00
Hauke Petersen
047f7544a4 Merge pull request #4198 from thomaseichinger/pr/fix_4197
stm32f1/i2c: Disable I2C module before initialization
2015-11-17 17:41:33 +01:00
Ludwig Knüpfer
a86866ea9f cpu/native: malloc.h for osx: fix doxygen, move 2015-11-15 12:14:59 +01:00
Andreas "Paul" Pauli
e5b6566c9a Merge pull request #4170 from haukepetersen/opt_sam3_uart
cpu/sam3: cleaned up UART driver
2015-11-11 16:21:10 +01:00
Cenk Gündoğan
0792450dd7 cpu: kinetis_common: remove vtimer include from spi.c 2015-11-11 09:03:12 +01:00
Joakim Nohlgård
511539bb7a Merge pull request #4247 from cgundogan/pr/stm32/remove_vtimer_include
cpu: stm32f[34]: remove unused vtimer include
2015-11-11 08:57:55 +01:00
Hauke Petersen
86da628971 Merge pull request #4081 from daniel-k/pr/samd21_rtt_fix_irq_priority
samd21: don't change priority of interrupts, this is really evil
2015-11-10 13:05:10 +01:00
Cenk Gündoğan
18427a8074 cpu: stm32f4: spi: remove unused vtimer include 2015-11-10 12:27:17 +01:00
Cenk Gündoğan
6e7f83a390 cpu: stm32f3: spi: remove unused vtimer include 2015-11-10 12:26:58 +01:00
Peter Kietzmann
745320dc41 Merge pull request #4232 from DipSwitch/fix_gpio_read
gpio: Pin direction readout of gpio_read was invalid
2015-11-09 13:18:13 +01:00
Oleg Hahm
4ef889f9ce Merge pull request #4226 from DipSwitch/stm32f1_add_spi_12
cpu/stm32f1/spi: add SPI peripheral 1 and 2
2015-11-07 18:06:09 +09:00
DipSwitch
4186e38976 stm32f1/gpio: pin direction readout of gpio_read was invalid 2015-11-06 16:57:10 +01:00
Andreas "Paul" Pauli
bf63e09a65 Merge pull request #4137 from haukepetersen/opt_samr21_pwm
cpu/samd21: optimized pin config for PWM driver
2015-11-05 16:14:05 +01:00
DipSwitch
2e2ec37846 cpu/stm32f1/spi: add SPI peripheral 1 and 2 2015-11-04 13:40:20 +01:00
René Herthel
13ae0ab979 atmega2560/cpu: Fixed wrong using of UART macros 2015-11-03 18:29:53 +01:00
Hauke Petersen
3ab389b1fd Merge pull request #4134 from gebart/pr/cortexm-hardfault-naked-fix
cpu/cortexm_common: only set naked attribute on DEVELHELP hardfault handler
2015-11-02 18:04:57 +01:00
Thomas Eichinger
96b6d4b1dd stm32f1/i2c: Disable I2C module before initialization
When initializing multiple drivers connected to the same
I2C bus, the bus should be disabled before pin toggeling
and reinitialization.
2015-11-01 11:51:51 +09:00
Ludwig Knüpfer
3b2d26b0dc cpu/saml21: fix typo in gpio.c 2015-10-31 17:35:41 +01:00
Ludwig Knüpfer
406aea453c cpu/samd21: fix typo in gpio.c 2015-10-31 17:28:16 +01:00
Joakim Nohlgård
76bddaf213 Merge pull request #3283 from gebart/pr/kinetis-errata-e4218
k60: Add workaround for errata e4218
2015-10-30 07:33:31 +01:00
Peter Kietzmann
6fcea29bdc Merge pull request #4042 from gebart/pr/kinetis-gpio-periph-refactor
kinetis_common: Refactor GPIO implementation
2015-10-29 08:29:09 +01:00
Hauke Petersen
7d1c952734 Merge pull request #3571 from haukepetersen/add_board_wstk6220a
boards/cpu: added SLWSTK6220A and EZR32WG support
2015-10-28 20:58:43 +01:00
Hauke Petersen
b9707cd8f3 cpu/ezr32wg: added extern C to vendor headers 2015-10-28 17:33:44 +01:00
Joakim Nohlgård
142c28094e kinetis_common: Refactor GPIO implementation
This is a rewrite of the Kinetis GPIO driver which follows the
refactored API in [1]. Pins are specified using the GPIO_PIN(PORT_x, y)
macro, e.g. GPIO_PIN(PORT_E, 25) for the PTE25 pin.

The interrupt pin handling is now implemented as a linked list, this
is more memory efficient, but with a minor variation in interrupt
latency depending on in what order the pins were initialized at
runtime.

Because the linked list entries are taken from a shared pool, there is
also the possibility of running out of available configuration slots,
define the preprocessor macro GPIO_INT_POOL_SIZE in periph_conf.h if
you need more than 16 pins configured for interrupts in the same
application.

[1]: https://github.com/RIOT-OS/RIOT/pull/3095
2015-10-28 14:12:19 +01:00
Martine Lenders
a370a12f75 msp430: fix doc to time.h 2015-10-28 13:59:52 +01:00
Martine Lenders
77b0ffffec msp430: include missing types to time.h 2015-10-28 13:59:35 +01:00
Hauke Petersen
36646865f0 cpu: added support for SiLabs EZR32WG 2015-10-28 13:50:34 +01:00
Hauke Petersen
e1f028a859 cpu/sam3: reworked the UART driver 2015-10-28 12:05:35 +01:00
Hauke Petersen
85e05d411e Merge pull request #4114 from haukepetersen/opt_periph_uart
drivers/periph/uart: remodeled UART interface
2015-10-28 10:50:03 +01:00
Joakim Nohlgård
3033738e30 Merge pull request #4126 from gebart/pr/cortexm-r7-O0-fix
cortexm-common: Workaround for error: r7 cannot be used in asm here
2015-10-28 07:01:32 +01:00
Joakim Nohlgård
c3340b7ccf cpu/cortexm_common: Use PRIx32 for printing uint32_t in hard fault handler
fixes errors like:
    error: format specifies type 'unsigned long' but the argument has
    type 'uint32_t' (aka 'unsigned int') [-Werror,-Wformat]
2015-10-28 06:59:28 +01:00
Joakim Nohlgård
a5449bcbd4 cpu/cortexm_common: only set naked attribute on DEVELHELP hardfault handler
Fixes error on LLVM/Clang:

   cpu/cortexm_common/vectors_cortexm.c:287:5: error: non-ASM statement in naked function is not supported
       core_panic(PANIC_HARD_FAULT, "HARD FAULT HANDLER");
       ^
   cpu/cortexm_common/include/vectors_cortexm.h:65:46: note: attribute is here
   void hard_fault_default(void) __attribute__((naked));
                                                ^
   1 error generated.
2015-10-28 06:51:51 +01:00
Peter Kietzmann
f5b2c80bd6 Merge pull request #4015 from daniel-k/pr/cortexm_hardfault_overflow
cortexm_common: check for possible stack overflow in hardfault handler
2015-10-27 19:19:32 +01:00
daniel-k
c5e220c140 cortexm_common: check for possible stack overflow in hardfault handler 2015-10-27 15:58:36 +01:00
Hauke Petersen
19cd4b32c4 cpu/stm32l1: adapted UART driver 2015-10-27 14:59:38 +01:00
Hauke Petersen
1eb63f20a7 cpu/stm32f4: adapted UART driver 2015-10-27 14:59:38 +01:00
Hauke Petersen
9741267d9d cpu/stm32f3: adapted UART driver 2015-10-27 14:59:38 +01:00
Hauke Petersen
59b935bd1e cpu/stm32f1: adapted UART driver 2015-10-27 14:59:38 +01:00
Hauke Petersen
b71d8ea750 cpu/stm32f0: adapted UART driver 2015-10-27 14:59:38 +01:00
Hauke Petersen
65673663b5 cpu/saml21: adapted UART driver 2015-10-27 14:59:38 +01:00
Hauke Petersen
a93f15b5cb cpu/samd21: adapted UART driver 2015-10-27 14:59:38 +01:00
Hauke Petersen
07a7d93690 cpu/msp430fxyz: adapted UART driver 2015-10-27 14:59:38 +01:00
Hauke Petersen
fe249b9006 cpu/lpc2387: adapted UART driver 2015-10-27 14:59:38 +01:00