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

1004 Commits

Author SHA1 Message Date
Fabian Nack
36025280de cpu/stm32f4: Add low power mode implementation 2015-02-11 10:04:26 +01:00
Hauke Petersen
02831e325f cpu/nrf51822: use of core_panic in startup code 2015-02-10 09:40:35 +01:00
Joakim Gebart
bf730c1c60 Merge pull request #2415 from haukepetersen/add_m0_crash
cpu/cortex_m0_common: added crash.c
2015-02-10 09:18:01 +01:00
Joakim Gebart
4d47e652dc Merge pull request #2416 from haukepetersen/add_m4_crash
cpu/cortex-m4_common: added crash.c
2015-02-10 08:07:19 +01:00
Hauke Petersen
68b167ca77 cpu/cortex-m4_common: added crash.c 2015-02-09 18:28:32 +01:00
Hauke Petersen
7a11301451 cpu/cortex_m0_common: added crash.c 2015-02-09 18:27:42 +01:00
Joakim Gebart
29d3959b10 kinetis: Add shared Kinetis linker script. 2015-02-09 17:52:04 +01:00
Ludwig Ortmann
dd2da2fb71 Merge pull request #2405 from cgundogan/restrict_with_leading_underscores
Use `__restrict` instead of `restrict`
2015-02-08 22:07:23 +01:00
Cenk Gündoğan
432f0014c0 cpu: restrict => __restrict 2015-02-08 19:15:14 +01:00
Martine Lenders
0eb2d78dda doc: use my real name 2015-02-08 18:52:16 +01:00
Hauke Petersen
21dd39249f cpu/nrf51822: raised default stack size 2015-02-07 13:22:18 +01:00
Joakim Gebart
890262e6ff Merge pull request #2265 from jfischer-phytec-iot/pr@kinetis_common
Support for Freescale Kinetis MCUs, kinetis_common
2015-02-05 10:00:02 +01:00
Thomas Eichinger
304d3b13eb Merge pull request #2371 from gebart/pr/cmsis-hal-4.0
Update CMSIS HAL to version 4.0
2015-02-04 15:50:17 +01:00
Johann F
c0628a3058 cpu/kinetis_common: initial import for kinetis_common
add peripheral drivers for Freescale Kinetis MCUs:
    adc driver
    cpuid driver
    gpio driver
    hwtimer_arch driver (hwtimer used Low Power Timer)
    i2c driver (master mode only)
    mcg driver
    pwm driver
    random_rnga driver
    random_rngb driver
    rtc driver
    spi driver
    timer driver (timer used Periodic Interrupt Timer)
    uart driver
  add doc.txt (configuration examples)

  random_rnga: Update RNGA driver in preparation for RNGB driver.
  random_rngb: Add RNGB driver.
  spi: refactor SPI to work for multiple CTARS, add spi_acquire, spi_release
  gpio: Add gpio_irq_enable, gpio_irq_disable. Refactor GPIO.
  gpio: Add gpio_irq_enable, gpio_irq_disable.
  gpio: Refactor ISR functions to work with all GPIOs (0-31) and all ports (PORTA-PORTH)
  adc: Refactor ADC, add calibration and scaling.
    Added integer scaling of results in adc_map.
    Handle precision setting in adc_init.
    Set ADC clock divider depending on module clock.
    Add ADC_1 as a possible device.
    Add ADC calibration procedure according to K60 ref manual.
    Handle ADC pins which are not part of the pin function mux.
  Signed-off-by: Joakim Gebart <joakim.gebart@eistec.se>
2015-02-04 14:50:54 +01:00
Joakim Gebart
45dbbd18ae stm32f0: Remove Doxygen from already documented functions. 2015-02-01 08:09:46 +01:00
Joakim Gebart
f977448d18 cortex-m0: Add extern "C" to core_cmInstr.h
Signed-off-by: Joakim Gebart <joakim.gebart@eistec.se>
2015-01-29 10:18:29 +01:00
Joakim Gebart
ae8c7607ea cortex-m0: Add extern "C" to core_cmFunc.h
Signed-off-by: Joakim Gebart <joakim.gebart@eistec.se>
2015-01-29 10:18:29 +01:00
Joakim Gebart
8c00ee0d7b cortex-m0: Update to CMSIS HAL 4.0
Signed-off-by: Joakim Gebart <joakim.gebart@eistec.se>
2015-01-29 10:18:29 +01:00
Joakim Gebart
068dfdff4b cortex-m3: Add extern "C" to core_cmInstr.h
Signed-off-by: Joakim Gebart <joakim.gebart@eistec.se>
2015-01-29 10:18:29 +01:00
Joakim Gebart
489caf0be0 cortex-m3: Add extern "C" to core_cmFunc.h
Signed-off-by: Joakim Gebart <joakim.gebart@eistec.se>
2015-01-29 10:18:28 +01:00
Joakim Gebart
463d4a1cf4 cortex-m3: Update to CMSIS HAL 4.0
Signed-off-by: Joakim Gebart <joakim.gebart@eistec.se>
2015-01-29 10:18:28 +01:00
Joakim Gebart
53b29f40e7 cortex-m4: Add extern "C" to core_cmInstr.h
Signed-off-by: Joakim Gebart <joakim.gebart@eistec.se>
2015-01-29 10:18:28 +01:00
Joakim Gebart
0d8aaf86a8 cortex-m4: Add extern "C" to core_cmFunc.h
Signed-off-by: Joakim Gebart <joakim.gebart@eistec.se>
2015-01-29 10:18:28 +01:00
Joakim Gebart
fe43bb2b7a cortex-m4: Update to CMSIS HAL 4.0
Signed-off-by: Joakim Gebart <joakim.gebart@eistec.se>
2015-01-29 09:38:31 +01:00
haukepetersen
bb1288b775 cpu/stm32f3: added support for stm32f334r8 2015-01-27 23:14:10 +01:00
BytesGalore
714ee38355 boards: core: cpu: drivers: sys: added missing header guards 2015-01-27 19:10:57 +01:00
Fabian Nack
870a695a38 cpu/stm32f4: Adapt PWM implementation to allow timers with < 4 channels 2015-01-22 02:24:00 +01:00
Peter Kietzmann
eaf9cc32e6 Merge pull request #2308 from haukepetersen/fix_stm32f0_gpioclks
cpu/stm32f0: fixed port clk en for GPIO driver
2015-01-21 10:20:10 +01:00
haukepetersen
0f746047d7 cpu/stm32l1: repaired doxygen group 2015-01-21 09:34:31 +01:00
Hauke Petersen
3976554f12 cpu/stm32f0: fixed port clk en for GPIO driver 2015-01-21 08:14:31 +01:00
Ludwig Ortmann
e03596f9d6 Merge pull request #2324 from LudwigOrtmann/native-random-warnings
cpu/native: warn about uninitialized random module
2015-01-20 09:28:51 +01:00
Peter Kietzmann
ebadbd6da3 Merge pull request #2323 from thomaseichinger/i2c_mutex
periph/i2c: added means to make I2C thread-safe
2015-01-20 07:57:20 +01:00
Peter Kietzmann
0c3083200d Merge pull request #2317 from gebart/pr/spi-locking
drivers/periph/spi: Implement thread safety for all SPI devices
2015-01-20 07:27:49 +01:00
Joakim Gebart
d68b4ef6c2 stm32l1: Basic implementation of spi_acquire(), spi_release()
Signed-off-by: Joakim Gebart <joakim.gebart@eistec.se>
2015-01-19 19:05:37 +01:00
Joakim Gebart
3292987516 stm32f3: Basic implementation of spi_acquire(), spi_release()
Signed-off-by: Joakim Gebart <joakim.gebart@eistec.se>
2015-01-19 19:05:34 +01:00
Joakim Gebart
f64c54bf66 stm32f1: Basic implementation of spi_acquire(), spi_release()
Signed-off-by: Joakim Gebart <joakim.gebart@eistec.se>
2015-01-19 19:05:31 +01:00
Joakim Gebart
98c88b0549 stm32f0: Basic implementation of spi_acquire(), spi_release()
Signed-off-by: Joakim Gebart <joakim.gebart@eistec.se>
2015-01-19 19:05:23 +01:00
Joakim Gebart
bec43f11d8 samd21: Basic implementation of spi_acquire(), spi_release()
Signed-off-by: Joakim Gebart <joakim.gebart@eistec.se>
2015-01-19 19:05:20 +01:00
Joakim Gebart
b20f21f2c5 sam3x8e: Basic implementation of spi_acquire(), spi_release()
Signed-off-by: Joakim Gebart <joakim.gebart@eistec.se>
2015-01-19 19:05:15 +01:00
Thomas Eichinger
830b2b2312 cpu/stm32l1: make i2c thread-safe 2015-01-19 12:20:09 +01:00
Thomas Eichinger
8821e0edcf cpu/stm32f4: make i2c thread-safe 2015-01-19 12:20:09 +01:00
Thomas Eichinger
30040fa311 cpu/samd21: make i2c thread-safe 2015-01-19 12:20:09 +01:00
Thomas Eichinger
fe643f7077 periph/i2c: added means to make I2C thread-safe
As discussed in #2289 this changes provide means to
use the i2c interface safely within multible threads.
2015-01-19 12:18:03 +01:00
Thomas Eichinger
5ae38d6dc7 Merge pull request #1927 from kaspar030/add_lto_flags
make: optionally build with gcc's link time optimization
2015-01-19 11:33:32 +01:00
Ludwig Ortmann
3465213118 cpu/native: warn about uninitialized random module 2015-01-19 11:21:01 +01:00
Hauke Petersen
70a5df67a5 cpu/stm32f4: made SPI driver thread safe 2015-01-17 15:13:51 +01:00
Hauke Petersen
c3cdfe7ef7 Merge pull request #2315 from fnack/spi_clock
cpu/stm32f4: Fix SPI baud rate control settings
2015-01-16 11:19:18 +01:00
Fabian Nack
672a362f2e cpu/stm32f4: Corrected wrong spi baud rate control settings 2015-01-16 09:24:48 +01:00
Hauke Petersen
23ecb09f12 cpu/stm32f4: added lost port clock eanble 2015-01-15 14:23:06 +01:00
Ludwig Ortmann
c4d4458651 Merge pull request #2243 from LudwigOrtmann/native-calloc
native: fix real_calloc, _native_in_calloc  initialization
2015-01-14 14:05:06 +01:00