Peter Kietzmann
19425f56b0
Merge pull request #2872 from gebart/pr/kinetis-spi-slave-warnings
...
kinetis: Add SPI_[2-7] to spi_transmission_begin
2015-04-29 13:24:56 +02:00
Joakim Gebart
fd46cb2364
kinetis: Add SPI_[2-7] to spi_transmission_begin
...
Fix compiler warning about unhandled switch cases.
2015-04-28 22:21:57 +02:00
Hauke Petersen
6bf31c6e01
cpu/nrf51822: fixed spi_transfer_bytes
2015-04-28 16:01:48 +02:00
Oleg Hahm
3dd3bbb461
transceiver: use transceiver specific broadcast
2015-04-19 20:35:11 +02:00
Hauke Petersen
4a734d51ca
Merge pull request #2798 from FrancescoErmini/extend_sam3x_gpio
...
cpu/sam3x: extend gpio implementation
2015-04-17 11:52:50 +02:00
Peter Kietzmann
3922f6e04c
Merge pull request #2817 from jfischer-phytec-iot/pr@kinetis-enable-hwcs
...
kinetis_common: add a option to enable hardware CS for kinetis spi
2015-04-17 10:54:52 +02:00
Johann Fischer
36e89175b8
cpu/kinetis_common/spi.c: add a option to use hardware cs (PCS0 only)
...
minor fixes:
- get rid of compiler warning "value 'SPI_1' not handled in switch"
- add a giant macro to avoid redundant code in spi_init_master
2015-04-17 09:05:37 +02:00
Francesco Ermini
ca743ae97b
cpu/sam3x: extend gpio implementation
...
fix functions arguments
extended sam3x GPIO from 16 to 31
fix GPIO_NUMOF to 32
add GPIOs
extend GPIO 16-31 for ArduinoDue/UDOO
fix white space at the end gpio_clear
2015-04-15 17:56:00 +02:00
Hauke Petersen
5893ca8851
cpu/stm32f1: fixed GPIO interrupt cb arg handling
2015-04-15 15:39:57 +02:00
Peter Kietzmann
7c870f8730
Merge pull request #2767 from bapclenet/samr21/RTC
...
samr21/RTC
2015-04-10 11:11:00 +02:00
Oleg Hahm
c1ecccfbd8
Merge pull request #2282 from gebart/pr/k60-initial
...
Add support for Kinetis K60 CPUs and Eistec Mulle IoT board
2015-04-10 00:22:21 +02:00
Peter Kietzmann
33133c677e
Merge pull request #2701 from gebart/pr/kinetis-gpio-lut
...
kinetis: Refactor GPIO to use a look-up-table
2015-04-09 16:10:12 +02:00
Joakim Gebart
7f64920cd7
kinetis: Refactor GPIO to use a look-up-table
...
Saves a bunch of ROM space
mulle, gcc-4.9.2:
text data bss dec hex filename
20800 216 65320 86336 15140 /data/riotbuild/riotproject/tests/periph_gpio/bin/mulle/periph_gpio.elf
18992 216 65320 84528 14a30 /data/riotbuild/riotproject/tests/periph_gpio/bin/mulle/periph_gpio.elf
diff = 1808
36080 272 65264 101616 18cf0 /data/riotbuild/riotproject/examples/default/bin/mulle/default.elf
34296 272 65264 99832 185f8 /data/riotbuild/riotproject/examples/default/bin/mulle/default.elf
diff = 1784
2015-04-09 13:53:21 +02:00
bapclenet
edfb255a5d
samr21/RTC
...
Solve issue #2261 by using the external 32,768KHz Oscillator
2015-04-09 10:05:09 +02:00
d0dfbf0079
cpu: stm32f3: periph: gpio: fix possibly uninitialized variable access
2015-04-08 19:52:14 +02:00
8653e685bc
stm32f3: gpio: fix isr2
2015-04-08 19:52:14 +02:00
bcb206be61
cpu: stm32f3: add myself as author
2015-04-08 19:52:03 +02:00
bb6b04bfaf
cpu: stm32f3: SPI: remove empty line
2015-04-08 19:52:03 +02:00
cfcd06964a
cpu: stm32f3: SPI: force 8bit transfers
2015-04-08 19:52:03 +02:00
333dae4c57
stm32f3: spi: ifdef stm32f303vc specific de/initialization
2015-04-08 19:52:03 +02:00
Cenk Gündoğan
4fae22bf3d
cpu/native: do not exit when real_read returns 0
2015-04-06 10:18:46 +02:00
José Roberto de Souza
684b081a16
x86: fix FPU lazy swap
...
The ucontext->x86_fxsave is initialize as 512 bytes of zeros, but it
is not a valid value to be set onto FPU registers, causing a General
Protection Fault:
Interrupt 0x0d (General Protection Fault) while handling 0x07 (Device not available)
EAX=0012f4c0 ECX=001336e4 EDX=001334ac EBX=001336e0
ESP=00123784 EBP=001237c8 ESI=00000200 EDI=00000000
Error code=00000000
CR0=80010031 CR2=00000000 CR3=0012d000 CR4=000001e0
EIP=0000:80010031 EFLAGS=0012d000
<stack trace>
00000000
???
</stack trace>
Halting.
So lets copy the initial state of FPU registers before FPU is used
and set it as the initial state of FPU to new threads(coroutine).
2015-04-02 19:27:17 -03:00
Joakim Gebart
de486ff79f
k60: Initial commit of K60 CPU.
...
Tested on the following Freescale Kinetis K60 CPUs:
- MK60DN512VLL10
The port should with a high probability also support the following variations of the above CPUs (untested):
- MK60DN256VLL10
And possibly also:
- MK60DX256VLL10
- MK60DX512VLL10
- MK60DN512VLQ10
- MK60DN256VLQ10
- MK60DX256VLQ10
- MK60DN512VMC10
- MK60DN256VMC10
- MK60DX256VMC10
- MK60DN512VMD10
- MK60DX256VMD10
- MK60DN256VMD10
Currently not working on the following CPUs (Missing PIT channel
chaining necessary for kinetis_common/periph/timer implementation):
- MK60DN256ZVLL10
- MK60DN512ZVLL10
- MK60DX256ZVLL10
- MK60DX512ZVLL10
- MK60DN512ZVLQ10
- MK60DN256ZVLQ10
- MK60DX256ZVLQ10
- MK60DN512ZVMC10
- MK60DN256ZVMC10
- MK60DX256ZVMC10
- MK60DN512ZVMD10
- MK60DX256ZVMD10
- MK60DN256ZVMD10
Regarding header files from Freescale:
dist/tools/licenses: Add Freescale CMSIS PAL license pattern
Redistribution is OK according to:
https://community.freescale.com/message/477976?et=watches.email.thread#477976
Archive copy in case the above link disappears:
https://web.archive.org/web/20150328073057/https://community.freescale.com/message/477976?et=watches.email.thread
Applies to:
- MK60DZ10.h (K60 variant)
2015-03-28 08:30:13 +01:00
Ludwig Ortmann
1572c94e41
cpu/samd21: implement gpio_toggle properly
...
Before, gpio_toggle relied on gpio_read which is inefficient and does not
work with GPIOs configured as outputs.
2015-03-25 22:05:05 +01:00
Hauke Petersen
ad69413d22
Merge pull request #2669 from gebart/pr/cortex-thread-arch-asm
...
cortex-m4_common: Refactor context save/restore
2015-03-25 18:21:11 +01:00
Joakim Gebart
791c57720a
cortex-m4_common: Refactor context save/restore
...
Clang 3.6 is stricter than GCC and previous releases of Clang regarding
naked functions and now only allows inline asm inside naked functions.
This is a refactoring of the functions isr_pendsv, isr_svc,
context_save, context_restore to still be naked functions but allow
building with Clang 3.6
2015-03-21 18:43:01 +01:00
Ludwig Ortmann
cf637942cc
*: add missing blank lines
...
Some functions had no blank lines to separate them from their
neighborhood.
2015-03-21 16:34:59 +01:00
James Hollister
93cff5613f
cpu/native: Fix for missing malloc.h in OSX
2015-03-21 01:41:54 -07:00
Hauke Petersen
66e7646091
cpu/nrf51822: added SPI driver implementation
2015-03-17 10:37:47 +01:00
Hauke Petersen
4ad36a799e
cpu/stm32f0: added support for stm32f091rc
2015-03-16 16:23:44 +01:00
Thomas Eichinger
c633c083db
Merge pull request #2597 from haukepetersen/add_stm32f0_corepanic
...
cpu/stm32f0: included core_panic module
2015-03-16 15:15:33 +01:00
Hauke Petersen
3436a10039
cpu/stm32f0: included core_panic module
2015-03-13 17:40:37 +01:00
Hauke Petersen
ec17730c38
cpu/stm32f0: fixed gpio interrupt routines
...
- guarded calls in case no interrupt is defined
- eneabled detection of multiple, simoultaneous events
2015-03-13 15:32:48 +01:00
Thomas Eichinger
1eac81b562
Merge pull request #2593 from haukepetersen/fix_stm32f0_timerdef
...
cpu/stm32f0: cleanup for timer IRQ macro
2015-03-13 14:23:41 +01:00
Thomas Eichinger
64410350bd
Merge pull request #2552 from jhollister/add_cpuid
...
Added cpuid_get for STM boards
2015-03-13 10:59:09 +01:00
Hauke Petersen
49491cf66d
cpu/stm32f0discovery: fixed timer irq prio macro
2015-03-13 10:21:18 +01:00
Joakim Gebart
f8eb76caec
kinetis: Enable UART hardware FIFO buffers.
2015-03-10 17:52:07 +01:00
kushalsingh007
390e030f84
Removing the warnings after running static code analyser.
...
-Changes to fix all the clarifyCalulation warnings.
-Fixes a part of issue number 480
2015-03-10 04:08:43 +05:30
James Hollister
722835989d
cpu/stm32f4: added cpuid_get to stm32f4
2015-03-08 12:18:37 -07:00
James Hollister
10f4aacf6c
cpu/stm32f3: added cpui_get for stm32f3
2015-03-08 12:14:19 -07:00
James Hollister
3d6ab85bb3
cpu/stm32f0: added cpuid_get for stm32f0
2015-03-08 12:13:10 -07:00
Hauke Petersen
d19515d590
cpu/stm32f3: set cpu specific hwtimer spin barrier
2015-03-04 10:44:26 +01:00
Joakim Gebart
f317cf42a8
kinetis: Add configuration macros for I2C bus speed parameters.
2015-03-04 08:55:06 +01:00
Thomas Eichinger
bc378dbb23
Merge pull request #2378 from locicontrols/vtor
...
cpu/cc2538: set the VTOR register to the actual address of the vector table
2015-03-03 18:25:47 +01:00
Ludwig Ortmann
4f29a7757e
Merge pull request #2285 from authmillenon/pktbuf/api/use-pkt
...
pktbuf: port to use pkt_t instead of void*
2015-02-19 14:46:15 +01:00
Martine Lenders
41f60aca4c
pktbuf: port to use ng_ version
2015-02-19 13:51:27 +01:00
Lotte Steenbrink
f08a371f1f
Merge pull request #2466 from LudwigOrtmann/pr/trailing_whitespace
...
cpu, drivers, boards, tests: remove trailing whitespace
2015-02-18 19:10:22 +01:00
Ludwig Ortmann
51a4f8a43c
cpu/kinetis_common/i2c: fix indent, trailing space
2015-02-18 13:52:48 +01:00
Ludwig Ortmann
e9e3f3d148
cpu/samd21/periph/i2c: fix spacing, comment length
2015-02-18 13:52:48 +01:00
Ludwig Ortmann
cec87139a5
core, cpu, drivers, tests: remove trailing space
2015-02-18 13:52:48 +01:00
Ludwig Ortmann
88f1dc5cbc
cpu/native: improve daemonization
...
- detach from working directory
- detach from process group
- set umask
2015-02-17 22:01:02 +01:00
Ludwig Ortmann
9a130e2e84
cpu/native: add some syscall wrappers
...
Add wrappers for chdir, setsid, and umask.
2015-02-17 22:00:14 +01:00
Joakim Gebart
b6eeb65f70
Merge pull request #2420 from gebart/pr/cortex-m4-crash-bkpt
...
cortex-m4_common: Add debugger break in crash.c + minor string handling fix
2015-02-17 16:06:33 +01:00
Joakim Gebart
5a09e54e1b
cortex-m0_common: Update crash.c with changes from Cortex-M4.
2015-02-17 13:16:40 +01:00
Joakim Gebart
2605b57a35
cortex-m3_common: Update crash.c with changes from Cortex-M4.
2015-02-17 13:16:26 +01:00
Joakim Gebart
972e61529c
cortex-m4_common: Update crash.c author and copyright after recent changes.
2015-02-17 13:15:40 +01:00
Joakim Gebart
f6ce0561ed
Merge pull request #2412 from jfischer-phytec-iot/pr@kinetis-startup
...
Add common startup.c for Kinetis MCUs.
2015-02-15 18:48:19 +01:00
haukepetersen
28655049a5
cpu/sam3x8e: use core_panic for fault ISRs
2015-02-15 11:20:59 +01:00
Johann Fischer
8afc8dfdc3
cpu/kinetis_common: add common startup.c
...
cpu/kinetis_common/wdog.c: move wdog disable code to initial wdog driver
cpu/kinetis_common/wdog.c: add COP WDOG
cpu/kinetis_common/include/wdog.h: add configuration example
cpu/kinetis_common: add fault handlers
cpu/kinetis_common: add .ramcode and ISR vector relocation to startup.c
2015-02-15 10:28:13 +01:00
Joakim Gebart
a745c018da
kinetis: Refactor RTC into RTT, add RTC wrapper.
2015-02-14 14:20:26 +01:00
Martine Lenders
9077299d06
msp430: add assert header
2015-02-12 14:24:06 +01:00
Ian Martin
c3417d151a
cpu/cc2538: vector table address and alignment
...
Enforce the 512-byte vector table alignment and set the
VTOR register to the actual address of the vector table.
2015-02-11 11:09:19 -05:00
Fabian Nack
36025280de
cpu/stm32f4: Add low power mode implementation
2015-02-11 10:04:26 +01:00
Joakim Gebart
7829a55a8c
cortex-m4_common: Minor fixes for string handling in core_panic()
2015-02-10 13:33:30 +01:00
Joakim Gebart
0b7a929ec6
cortex-m4_common: Add debugger break in crash.c
2015-02-10 13:09:43 +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
Ludwig Ortmann
88fa49ab38
cpu/native: add high-quality random implementation
...
Per default random data is read from `/dev/random` now.
If specified (e.g. `-s 4711`), data is generated by calls to POSIX
random function like before. The POSIX random API is initialize with
the given seed (`srandom(4711);` in this example).
2015-01-14 11:51:23 +01:00
Hauke Petersen
b435a488fa
Merge pull request #2026 from thomaseichinger/stm32l1
...
stm32l1: initial port for the nucleo-l1 board and stm32l1 cpu
2015-01-12 21:33:21 +01:00
Thomas Eichinger
07d76d7127
stm32l1: initial port for the nucleo-l1 board and stm32l1 cpu
2015-01-12 15:13:19 +01:00
Troels Hoffmeyer
29b0e73350
samr21: cpuid implemented by reading 128 bits from flash
2015-01-12 13:50:16 +01:00
Ludwig Ortmann
3ab73bc633
cpu/native: init _native_in_calloc explicitly
2015-01-11 10:59:49 +01:00
Ludwig Ortmann
f5cfda977a
cpu/native: fix real_calloc initialization
2015-01-11 10:59:49 +01:00
Thomas Eichinger
2ea028dd51
Merge pull request #2011 from haukepetersen/add_stm32f3_spi
...
cpu/stm32f3: added SPI driver
2015-01-09 11:46:06 +01:00
9fffd99493
stm32f1: mark interrupt vector table as __attribute__((used))
...
Enables gcc LTO for stm32f1 based boards
2015-01-08 15:59:54 +01:00
Oleg Hahm
9bddd61115
Merge pull request #2207 from gebart/pr/lpc2387-gc-sections
...
msba2: Use --gc-sections when linking.
2015-01-08 14:05:27 +01:00
Hauke Petersen
a365619854
cpu/stm32f3: added SPI driver
2015-01-07 20:18:25 +01:00
Hauke Petersen
905a7f2f56
Merge pull request #1867 from haukepetersen/fix_stm32f0_uartremodel
...
cpu/stm32f0: optimizations to UART driver
2015-01-07 20:11:59 +01:00
Hauke Petersen
3987f528f4
cpu/stm32f0: optimizations to UART driver
2015-01-07 20:11:15 +01:00
Joakim Gebart
99319f4e28
[SQUASH ME] lpc2387: Add missing *(data.*) to linker script.
2015-01-07 19:10:58 +01:00
Ludwig Ortmann
7d948e4d65
Merge pull request #2260 from bapclenet/samr21/RTC
...
SAMR21/RTC: Error negative second fixed
2015-01-07 18:33:24 +01:00
bapclenet
f49661f617
cpu/samd21: fix rtc negative second error
2015-01-07 17:07:41 +01:00
Oleg Hahm
6dac96ad1b
Merge pull request #1904 from LudwigOrtmann/native_bufferbloat
...
native: increase buffer size, set defaults conditionally
2015-01-07 03:00:01 +01:00
benpicco
9c50f206c5
Merge pull request #2252 from benpicco/samd21-malloc
...
cpu/samd21: check if the requested memory is really available in _sbrk_r
2015-01-06 20:31:09 +01:00
Benjamin Valentin
070420db7d
samd21: check if the requested memory is really available in _sbrk_r
...
copy the check from sam3x8e
2015-01-06 19:22:46 +01:00
Thomas Eichinger
d6c4d5581f
Merge pull request #2215 from bapclenet/samr21/RTC
...
cpu/samd21: add rtc periph implementation
2015-01-06 18:21:22 +01:00
Thomas Eichinger
e6c4181c94
Merge pull request #2229 from LudwigOrtmann/issue-2228
...
cpu/samd21: increase default stack size
2014-12-28 02:26:46 +01:00
Ludwig Ortmann
5e0973ca89
Merge pull request #2150 from OlegHahm/more_doc_cleanup
...
doc: More documentation cleanup
2014-12-22 11:58:59 +01:00
Ludwig Ortmann
d74f7425a5
cpu/samd21: increase default stack size
...
Provide enough space to run `examples/default`.
2014-12-20 17:00:11 +01:00
Oleg Hahm
db58a8b226
Merge pull request #2214 from rousselk/msp430-fix-intr
...
Msp430 misc interrupt-related fixes
2014-12-19 16:35:39 +01:00
Hauke Petersen
6a35845203
Merge pull request #2223 from kaspar030/stm32f1_fix_function_definition
...
stm32f1: make function definition match declaration
2014-12-19 15:58:43 +01:00
547ddddad2
stm32f1: make function definition match declaration
2014-12-19 15:15:00 +01:00
Hauke Petersen
1bd63978a8
Merge pull request #2222 from haukepetersen/fix_lpc1768_uartclk
...
cpu/lpc1768: fixed UART PCLK selection
2014-12-19 14:21:08 +01:00
Hauke Petersen
31a6e81bd9
cpu/lpc1768: fixed UART PCLK selection
2014-12-19 13:47:58 +01:00
Kévin Roussel
892268d74b
Ensure only GIE bit is touched in splx_()
2014-12-19 11:11:15 +01:00
Kévin Roussel
07b170595c
Ensure interrupts are enabled before going in low-power mode
2014-12-19 11:11:14 +01:00
Kévin Roussel
91fd567c8f
Use custom assembly code instead of MSP GCC primitives for dINT()/eINT()
...
and all other functions that enable or disable interrupts
2014-12-19 11:11:14 +01:00
Kévin Roussel
f9b0df7e4b
Use TimerB for 'hwtimer' module implementation
2014-12-19 10:53:12 +01:00
Kévin Roussel
25ac0db606
Robust use of TimerA for 'hwtimer' module
2014-12-19 10:53:12 +01:00
Oleg Hahm
a17d89fbed
Merge pull request #1619 from rousselk/msp430-hwtimer-16bit
...
Only use 16 significative bits for MSP430 hwtimers
2014-12-18 18:49:02 +01:00
bapclenet
55aabf9dfb
cpu/samd21: add rtc periph implementation
2014-12-18 15:25:49 +01:00
Thomas Eichinger
ca53077e3c
Merge pull request #1998 from Troels51/samr21-hwtimer-fix
...
samr21: 32 hwtimer
2014-12-17 17:29:36 +01:00
Troels Hoffmeyer
7124ec6258
samr21: implemented 32 bit hwtimer
2014-12-17 14:44:54 +01:00
Kévin Roussel
1fb12b770e
Reduce variable scope in init function
2014-12-17 12:21:16 +01:00
Kévin Roussel
d101b30dd8
Make hwtimer_spin() work even with interrupts disabled
...
by using only 16 significative bits on MSP430 hardware timers
2014-12-17 12:21:07 +01:00
Thomas Eichinger
5689a7d218
Merge pull request #1997 from Troels51/samr21-transceiver-port
...
samr21: implemention of transceiver via spi
2014-12-17 11:56:37 +01:00
Joakim Gebart
390b8394d6
msba2: Use --gc-sections when linking.
...
- Add `-Wl,--gc-sections` to LDFLAGS
- Add `-fdata-sections` and `-ffunction-sections` to CFLAGS
- Update lpc2387 linker script to keep the isr vector and init
sections when garbage collecting.
- Keep .ctors and .dtors sections (similar to what binutils default
linker script does when building for Linux targets)
Signed-off-by: Joakim Gebart <joakim.gebart@eistec.se>
2014-12-17 11:37:58 +01:00
Hauke Petersen
765c4f38e5
Merge pull request #2201 from BytesGalore/mbed_lpc1768_uartUSB
...
board/mbed_lpc1768 changed the serial device to UART0
2014-12-17 10:35:03 +01:00
BytesGalore
c40e5267a6
board/mbed_lpc1768 changed the serial device to UART0
...
-> enables USB/serial communication
2014-12-17 07:27:28 +01:00
Ludwig Ortmann
e7f6f640f6
Merge pull request #2060 from OlegHahm/periph_rtc
...
drivers: Adapt old platforms to periph rtc
2014-12-16 18:56:59 +01:00
Troels Hoffmeyer
33ef43c8e2
samr21: implemented transceiver via spi, gpio changes
2014-12-16 17:43:30 +01:00
Oleg Hahm
60cd0d357d
periph_rtc: streamline lpc2387 and cc430 naming
2014-12-16 17:02:44 +01:00
Oleg Hahm
849580a9c9
cpu: lpc2387: further rtc cleanup
2014-12-16 17:02:44 +01:00
Oleg Hahm
587920cc49
cpu: remove superfluous gettimeofday functions
2014-12-16 17:02:44 +01:00
Oleg Hahm
93cf446b55
rtc: cleanup of lpc2387-rtc implementation
2014-12-16 17:02:44 +01:00
Oleg Hahm
498edb1854
cc430: lpc2387: switch to new periph/rtc interface
...
Removes the old interface.
2014-12-16 17:02:44 +01:00
Hauke Petersen
78eed22dd2
cpu/lpc1768: added basic timer implementation
2014-12-16 16:57:31 +01:00
Ludwig Ortmann
2ec0a1ca02
native/rtc: apply naming conventions
2014-12-16 15:46:56 +01:00
Ludwig Ortmann
474c8afd93
native/rtc: define ENABLE_DEBUG, move include
2014-12-16 15:41:51 +01:00
Thomas Eichinger
29c5822e02
Merge pull request #2016 from bapclenet/master
...
cpu/samd21: I2C driver implementation (Master mode)
2014-12-15 16:58:19 +01:00
Ludwig Ortmann
f35981a6d7
native/rtc: improve implementation
...
* add error checking / warnings
* implement parts of alarm functionality
* clean up
2014-12-13 15:21:52 +01:00
Ludwig Ortmann
37a1a105bc
native/rtc: clean up documentation
2014-12-13 15:21:52 +01:00
Ludwig Ortmann
c0ef84bb9f
native: move rtc to periph
...
* adapt implementation to new interface
* remove now superfluous drivers directory
2014-12-13 15:21:52 +01:00
Oleg Hahm
e79e00ef7f
doc: add documentation for packet format in mc1322x
2014-12-11 17:26:26 +01:00
bapclenet
54fb0f0610
cpu/samd21: add i2c periph implementation
2014-12-11 08:32:27 +01:00
Hauke Petersen
67b4dfd89d
cpu/lpc1768: added basic UART driver
2014-12-08 19:48:20 +01:00
Ludwig Ortmann
0027f90be4
Merge pull request #2118 from OlegHahm/simplify_cpu_folder_structure
...
cpu: simplify folder structure
2014-12-08 13:10:13 +01:00
Oleg Hahm
a5dc951ef2
doc: fix doxygen group for cc2538 memory map
2014-12-06 14:32:22 +01:00
Oleg Hahm
04b67f1ff0
doc: avr cleanup
2014-12-06 01:12:31 +01:00
Oleg Hahm
cd81c040d8
uart0: remove superfluous prototype from header
...
Declare and document prototype in CPU part instead.
2014-12-05 20:33:10 +01:00
Oleg Hahm
000450c894
Merge pull request #2117 from OlegHahm/doxygen_eliminate_warnings
...
Doxygen eliminate warnings pt. 2
2014-12-04 17:18:42 +01:00
Oleg Hahm
43c86b5a3e
doc: fix remaining doxygen warnings
2014-12-04 17:16:57 +01:00
Oleg Hahm
0ccf1043de
doc: fixed broken doxygen references
2014-12-04 17:16:57 +01:00
Ludwig Ortmann
015f5598e4
native: cleanup irq_cpu, native_cpu debug output
2014-12-04 10:48:15 +01:00
Ludwig Ortmann
eb2cc522cd
native: forced debug message for SIGUSR1
2014-12-04 10:38:12 +01:00
Ian Martin
58e413afce
cpu/cc2538: add eh_frame section to the linkerscript
...
Fixes linker errors on some toolchains, for example:
ld: foo.elf section `.eh_frame' will not fit in region `cca'
ld: region `cca' overflowed by 40 bytes
2014-12-03 11:41:59 -05:00
Oleg Hahm
42436c9c37
Merge pull request #2120 from OlegHahm/fix_1235
...
native: removing externs from native tramp
2014-12-03 16:40:45 +01:00
Oleg Hahm
54bdc35ac8
native: removing externs from native tramp
2014-12-03 15:50:53 +01:00
Peter Kietzmann
8c189ce56e
Merge pull request #2127 from thomaseichinger/stm32f1-fix-TIMER_1
...
cpu/stm32f1: use correct timer device in timer interrupt
2014-12-03 14:35:25 +01:00
Thomas Eichinger
18647bb5ac
cpu/stm32f1: use correct timer device in timer interrupt
2014-12-03 13:28:55 +01:00
Martin
bfaacbbd38
cpu/arm_common: c++: initial support for c++ added _kill (weak) and weak attribute for _kill_r
...
boards/msba2: provided c++ feature (cpp)
2014-12-03 07:30:29 +01:00
Oleg Hahm
17929a5ce4
cpu: lpc2387: integrated lpc_common into lpc2387
...
Rationale 1: The common part made only sense for (some) NXP ARM7 MCUs,
but was misleading for MCUs like the LPC1768.
Rationale 2: The common part was only used by one specific MCU
implementation - no need to outsource it.
2014-12-02 17:47:10 +01:00
Oleg Hahm
0c967c4d3f
cpu: msp430: renamed msp430x16x to msp430fxyz
2014-12-02 17:46:57 +01:00
Fabian Nack
dc658f8be0
boards - msbiot: prepare msbiot for new cc110x driver
2014-12-01 17:14:09 +01:00
Oleg Hahm
d92e9af91c
doc: fixed broken param descriptions
2014-11-30 22:34:50 +01:00
Oleg Hahm
953a21b7a5
doc: remove doxygen duplication
2014-11-30 21:46:31 +01:00
Oleg Hahm
f8ecbf2a0a
doc: add to group instead of redefining
2014-11-30 21:45:24 +01:00
Oleg Hahm
fc7606a94b
doc: use doxygen li tags
2014-11-30 21:39:53 +01:00
Oleg Hahm
c5395342dc
doc: use @false instead of 0
2014-11-30 21:36:04 +01:00
Oleg Hahm
df9c09d946
doc: fixed typos and other misspellings
2014-11-30 21:32:12 +01:00
Oleg Hahm
cc73296d43
doc: added missing titles
2014-11-30 21:22:52 +01:00
Oleg Hahm
d3d68c876f
doc: use @brief for single defines
2014-11-30 21:18:24 +01:00
Oleg Hahm
ae8dd90884
doc: added missing closing doxygen brackets
2014-11-30 21:16:41 +01:00
Ludwig Ortmann
d11238a5ab
native: fix some debug messages
...
`name` isn't part of `tcb_t` anymore, also some function identified itself
wrongly.
2014-11-28 15:37:28 +01:00
DangNhat Pham-Huu
3e86b86472
Merge pull request #2083 from dangnhat/added_externc_for_missed_header
...
cpu/cc2538: added extern C for rfcore.h
2014-11-27 20:38:31 +07:00
Peter Kietzmann
ea77608297
Merge pull request #2097 from haukepetersen/fix_stm32f0_spinbarrier
...
cpu/stm32f0: set hwtimer spin barrier value
2014-11-27 08:32:41 +01:00
Hauke Petersen
3026e55c14
Merge pull request #1868 from haukepetersen/fix_stm32f4_gpiootp
...
cpu/stm32f4: optimized GPIO driver implementation
2014-11-26 23:40:50 +01:00
Hauke Petersen
36b3b9b457
cpu/stm32f0: set hwtimer spin barrier value
2014-11-26 18:40:17 +01:00
Hauke Petersen
f1fda21ab7
Merge pull request #2018 from brummer-simon/devel-dac_driver
...
Basic DAC Driver, implementation on stm32f4discovery
2014-11-26 17:52:39 +01:00
Hauke Petersen
426060875c
cpu/stm32f3: added low-level PWM driver
2014-11-26 16:56:59 +01:00
Ludwig Ortmann
50ec8d10c9
Merge pull request #2029 from LudwigOrtmann/native-more-syscalls
...
native: more syscalls
2014-11-26 10:47:27 +01:00
Christian Mehlis
3cd370ff6b
Merge pull request #2005 from haukepetersen/fix_nrf_enablehfclk
...
cpu/nrf51822: added HFCLK initialization
2014-11-25 23:41:34 +01:00
Ludwig Ortmann
00092e8308
native: add time syscalls
2014-11-25 22:47:27 +01:00
Ludwig Ortmann
4de10a2ecb
native: coding conventions
2014-11-25 22:47:27 +01:00
Ludwig Ortmann
7901d24053
native: add missing syscall declarations
2014-11-25 22:47:26 +01:00
Simon Brummer
5a4b966d9c
Basic DAC Driver, implementation on stm32f4discovery
2014-11-25 22:37:32 +01:00
Thomas Eichinger
b5071385db
Merge pull request #2036 from haukepetersen/fix_openmote_cpp
...
boards: enable C++ for CC2538 based boards
2014-11-25 18:57:40 +01:00
Pham Huu Dang Nhat
964d96e362
cpu/cc2538: added extern C for rfcore.h
2014-11-25 22:10:36 +07:00
DangNhat Pham-Huu
785fc1f5a8
Merge pull request #1803 from BytesGalore/extern_C_in_headers_cpus
...
cpu: added `extern "C"` to headers
2014-11-25 08:49:57 +07:00
BytesGalore
a4d2ee307c
cpu: added extern "C"
to headers
2014-11-24 19:10:15 +01:00
René Kijewski
f258c3e7ac
nrf51822: Suppress unused argument warnings
2014-11-24 18:43:14 +01:00
René Kijewski
7d7002305d
nrf51822: error was not checked b/c of wrong signedness
2014-11-24 16:23:58 +01:00
René Kijewski
96fe9f012c
nrf51822: Fix indentation in lpm_arch.c
2014-11-24 16:23:58 +01:00
René Kijewski
6f8377cf26
nrf51822: test arguments for read/write even in stubs
2014-11-24 16:23:58 +01:00
Thomas Eichinger
57470eb77e
Merge pull request #2065 from LudwigOrtmann/issue-392
...
license header + pattern cleanup
2014-11-24 10:36:16 +01:00
Oleg Hahm
5e2b43452c
cpu: arm7_common: added extern C guards
2014-11-21 21:00:52 +01:00
Oleg Hahm
20ce2aee8b
cpu: rename arm_common to arm7_common
...
To be more accurate with the naming and avoid confusions.
2014-11-21 20:27:19 +01:00
Ludwig Ortmann
01800f15f5
cpu/board: update stale redbee license headers
2014-11-21 15:18:11 +01:00
Oleg Hahm
10a4540f2d
license: added missing license for msp430 time.h
2014-11-21 15:10:19 +01:00
Hauke Petersen
2220a9fab0
core/cpu/boards: removed fw_puts from RIOT
2014-11-21 13:09:02 +01:00
Hauke Petersen
7ca2f9ccc8
Merge pull request #2047 from haukepetersen/fix_cortex_reboot
...
cpu: fixed and moved reboot_arch for cortex cpus
2014-11-21 12:56:41 +01:00
Hauke Petersen
f5480234c3
cpu/cc2538: made _kill(_r) syscalls weak
2014-11-21 11:43:21 +01:00
Hauke Petersen
9214990aee
cpu/lpc1768: heavy clean-up of existing code
...
- moved to new port structure
- rewrote startup code
- added implementation dummies for UART and timer
- switched to atmel linkerscript
- cleaned up Makefiles
2014-11-20 17:40:57 +01:00
Hauke Petersen
1e863a322d
cpu/cortex-mX_common: added delay to reboot_arch
2014-11-20 17:22:39 +01:00
Hauke Petersen
5600d86253
cpu/cortex-mX_common: fixed reboot_arch return val
2014-11-20 17:22:39 +01:00
Hauke Petersen
62b6522e01
cpu: moved reboot_arch for cortex cpus
2014-11-20 17:22:39 +01:00
PeterKietzmann
6d091245a4
Initial import of i2c lowlevel driver for stm32f4
2014-11-20 14:46:13 +01:00
Hauke Petersen
58fffcb50f
Merge pull request #2030 from haukepetersen/fix_nrf_cpp
...
boards: added C++ support for NRF51822 based boards
2014-11-19 15:59:42 +01:00
Hauke Petersen
ebf572d2d3
cpu/nrf51822: added made _kill(_r) syscall weak
2014-11-19 15:40:28 +01:00
Ludwig Ortmann
6eaaac6372
Merge pull request #2041 from LudwigOrtmann/native-random
...
native: peripheral random interface
2014-11-19 06:25:39 -08:00
Ludwig Ortmann
adb24b06b8
native: add random peripheral implementation
2014-11-19 14:26:58 +01:00
Ludwig Ortmann
d8641ff525
native: add random syscalls
2014-11-19 14:26:58 +01:00
9ce0b676b4
core: sys: move ringbuffer to core
2014-11-19 14:18:39 +01:00
Oleg Hahm
73dddfb601
Merge pull request #1635 from thomaseichinger/import_agilefox
...
boards: initial import for HiKoB Agilefox
2014-11-18 19:44:24 +01:00
Hauke Petersen
cff1dfc32d
Merge pull request #2034 from haukepetersen/fix_mbed_cpp
...
board/mbed_lpc1768: enabled C++ support
2014-11-18 19:43:42 +01:00
Hauke Petersen
92f5b150b6
cpu/lpc1768: made _kill(_r) syscalls weak
2014-11-18 18:34:30 +01:00
Hauke Petersen
e7f2e04a6a
cpu/sam3x8e: made _kill(_r) syscalls weak
2014-11-18 18:10:15 +01:00
Thomas Eichinger
256ce73d2c
boards: initial import for HiKoB fox
2014-11-18 17:24:47 +01:00
Hauke Petersen
594d9251c9
Merge pull request #1987 from BytesGalore/EasyCPPMixing_stm32f0discovery_support_fix
...
cpu/stm32f0 C++ stmf0discovery support fix
2014-11-17 18:21:19 +01:00
Hauke Petersen
d1e57faf34
Merge pull request #1994 from BytesGalore/EasyCPPMixing_samr21_xpro_support_fix
...
cpu/samd21 C++ samr21-xpro support fix
2014-11-17 18:20:50 +01:00
Martine Lenders
d4e651ad8b
Merge pull request #2015 from LudwigOrtmann/native_real-accept
...
native: add missing syscall declarations
2014-11-17 17:40:32 +01:00
Ludwig Ortmann
8d2a5b22b4
native: add daemonize argv filter
...
When daemonizing, only the first instance should do so.
2014-11-17 12:51:42 +01:00
Hauke Petersen
bb347e0a30
Merge pull request #1989 from BytesGalore/EasyCPPMixing_stm32f3discovery_support_fix
...
cpu/stm32f3 C++ stm32f3discovery support fix
2014-11-17 11:21:04 +01:00
Ludwig Ortmann
42e43d5e12
FIXUP: remove erroneous comment
2014-11-17 09:56:03 +01:00
Christian Mehlis
d56ebcbff2
Merge pull request #1932 from haukepetersen/fix_nrf_isrstacksize
...
cpu/nrf51822: changed ISR stack size to 512 byte
2014-11-16 17:44:20 +01:00
Ludwig Ortmann
acaa6481cb
native: add more syscall declarations
2014-11-14 20:52:17 +01:00
Ludwig Ortmann
a1b530a98d
native: shutdown -> native_shutdown
2014-11-14 20:51:34 +01:00
Ludwig Ortmann
641cb4c488
native: add accept syscall declaration
2014-11-14 17:49:56 +01:00
BytesGalore
8060825c81
cpu/stm32f3: c++: initial support for c++, added _kill (weak) and weak attribute for _kill_r
...
boards/stm32f3discovery: provided c++ feature (cpp)
2014-11-14 13:26:15 +01:00
BytesGalore
3154bc8bc5
cpu/stm32f0: c++: initial support for c++, added _kill (weak) and weak attribute for _kill_r
...
boards/stm32f0discovery: provided c++ feature (cpp)
2014-11-14 13:25:02 +01:00
BytesGalore
ae3492b017
cpu/samd12: c++: initial support for c++, added _kill (weak) and weak attribute for _kill_r
...
boards/samr21-xpro: provided c++ feature (cpp)
2014-11-14 13:20:54 +01:00
Hauke Petersen
6b33ff1a31
Merge pull request #2004 from dangnhat/cpp_for_iot_lab_m3
...
iot-lab_m3: C++ support
2014-11-14 13:00:49 +01:00
BytesGalore
0de260f5a2
Merge pull request #1985 from BytesGalore/EasyCPPMixing_stm32f4discovery_support_fix
...
squashed, changed comment and go.
2014-11-14 12:53:22 +01:00
BytesGalore
8c5418e9e5
initial support for c++ for this cpu/board
2014-11-14 11:19:34 +01:00
Pham Huu Dang Nhat
df192b0f25
cpu/stm32f1: c++: added _kill (weak) and weak attribute for _kill_r
2014-11-14 16:55:30 +07:00
Thomas Eichinger
2b0d49c8b1
Merge pull request #1954 from haukepetersen/fix_cortex_irqstacksize
...
cpu: adjusted IRQ stack sizes for Cortex CPUs
2014-11-14 10:50:51 +01:00
Thomas Eichinger
2382a4d320
native: fix Makefiles for OSX
2014-11-13 16:00:52 +01:00
Hauke Petersen
a3061bccc2
Merge pull request #1827 from haukepetersen/fix_nrf_timer
...
cpu/nrf51822: fixed timers
2014-11-12 13:21:44 +01:00
Hauke Petersen
2278e72952
cpu/nrf51822: added HFCLK initialization
2014-11-12 13:17:13 +01:00
Hauke Petersen
dc79675888
cpu/sam3x8e: made UART0 work by editing syscalls
2014-11-11 13:05:43 +01:00
Hauke Petersen
3c9c95f7b1
cpu/sam3x8e: added interrupt mode to uart driver
2014-11-11 13:05:02 +01:00
René Kijewski
fdb1190cfa
avr: define ssize_t
2014-11-11 10:45:56 +01:00
Ian Martin
7bbdbcc7cb
Allow the application's makefile to specify a custom linker script, for example:
...
LINKERSCRIPT = custom-linkerscript.ld
2014-11-10 14:28:35 -05:00
Oleg Hahm
037571445c
Merge pull request #1974 from OlegHahm/cleanup_licenses
...
licenses: fix miss-spelled & missing boiler plates
2014-11-10 19:53:40 +01:00
Oleg Hahm
39abba1bc2
licenses: fix miss-spelled & missing boiler plates
2014-11-10 18:59:55 +01:00
Hauke Petersen
6cc4a7a6eb
Merge pull request #1956 from haukepetersen/fix_stm32f0_timer
...
cpu/stm32f0: fixed low-level timer driver
2014-11-10 13:58:41 +01:00
Martine Lenders
bbeb4941fa
nativenet: add missing include
2014-11-10 05:19:28 +01:00
Hauke Petersen
65520865b1
cpu/stm32f1: adjusted to RTT interface changes
2014-11-07 12:29:31 +01:00
Hauke Petersen
636287a1aa
cpu/nrf51822: adjusted to RTT interface changes
2014-11-07 12:29:31 +01:00
Hauke Petersen
19a95bbfbe
cpu/stm32f0: fixed low-level timer driver
2014-11-06 17:23:26 +01:00
Hauke Petersen
72b68bc9f0
cpu: adjusted IRQ stack sizes for Cortex CPUs
2014-11-06 15:16:33 +01:00
Thomas Eichinger
d43367e0a2
cpu/stm32f1: fix wrong bit operation in SPI init
2014-11-06 15:09:35 +01:00
benpicco
cedc588d77
Merge pull request #1782 from benpicco/fix_malloc
...
check if the requested memory is really available in _sbrk_r
2014-11-05 13:21:40 +01:00
Benjamin Valentin
879768397e
malloc: check if the requested memory is really available
2014-11-05 12:11:24 +01:00
Hauke Petersen
ac2ff23020
cpu/stm32f1: fixes to i2c driver
...
- fixes BUSY on initialization
2014-11-04 21:09:40 +01:00
Hauke Petersen
1b1f44c899
cpu/nrf51822: fixed timers
...
- changed TIMER_0 to be a 24-bit timer -> see Nordic PAN #32
- cleaned up timer initialization code
- added check if an interrupt channel was active
2014-11-04 18:18:23 +01:00
Hauke Petersen
505e184ee5
cpu/nrf51822: changed ISR stack size to 512 byte
2014-11-04 14:50:44 +01:00
Thomas Eichinger
76d0d6c4a2
cpu/stm32f1: fixes for the cpuid driver
2014-11-04 13:11:30 +01:00
Ian Martin
b37698a064
cpu/cc2538: Enable the CC2538's more compact alternate interrupt mapping.
2014-11-03 14:17:00 -05:00
Benjamin Valentin
73f6ac6bce
Revert "cpu/cc2538: sbrk() checks if the requested memory is really available."
...
This reverts commit 81dea364a5
.
2014-11-03 18:46:49 +01:00
Christian Mehlis
f3b1753ac7
added spark core board
2014-11-02 14:36:42 +01:00
Hauke Petersen
13a417d02a
cpu/stm32f0: optimized GPIO driver implementation
2014-10-31 14:00:46 +01:00
Hinnerk van Bruinehsen
0e065cff2c
lint: fix va_end_missing in cpu/native/syscalls.c
2014-10-31 01:24:32 +01:00
Hinnerk van Bruinehsen
9ba980dfd9
cpu: stm32f1 spi: fix typos
2014-10-31 01:24:32 +01:00
Hinnerk van Bruinehsen
145d345edf
lint: fix syntaxError warning
2014-10-31 01:24:32 +01:00
Hinnerk van Bruinehsen
e3aa222d6c
lint: fix nullPointer errors
2014-10-31 01:24:30 +01:00
Hinnerk van Bruinehsen
aca4724447
lint: fix warnings of possible nullPointer dereferences
2014-10-31 01:24:30 +01:00
Hinnerk van Bruinehsen
a5aeaab87b
lint: fix unreadVariable warnings
2014-10-31 01:24:30 +01:00
Hinnerk van Bruinehsen
4b68b9e547
lint: fix redundantAssignment warnings
...
SQUASH ME: redundantAssignment (remove FAT stuff)
SQUASH ME: into redundantAssignment unnecessary supp
2014-10-31 01:24:29 +01:00
Hinnerk van Bruinehsen
ec98c85a05
lint: fix unusedVariable warnings
...
SQUASH ME: into unusedVariable (annotated)
SQUASH ME: into unusedVariable (II)
SQUASH ME: into unreadVariable (II)
2014-10-31 01:24:29 +01:00
Hinnerk van Bruinehsen
2103249815
lint: fix unassignedVariable warnings in stm32f1
2014-10-31 01:24:28 +01:00
Hauke Petersen
56062b0f23
Merge pull request #1872 from thomaseichinger/stm32f1-i2c-multibyte-fix
...
cpu/stm32f1: fix i2c master read for N=2 and N>2 bytes
2014-10-30 23:24:00 +01:00
Hauke Petersen
64c5ee3322
cpu/nrf51822: made syscalls aware of uart0
2014-10-30 21:51:31 +01:00