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

765 Commits

Author SHA1 Message Date
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
Hauke Petersen
2bab8aed2e cpu/nrf51822: added interrupt mode to UART driver 2014-10-30 21:51:31 +01:00
Hauke Petersen
e7fbaf3815 cpu: removed NAKED attribute from ISRs
- removed the __attribute__((naked)) from ISRs
- removed ISR_ENTER() and ISR_EXIT() macros

Rationale: Cortex-Mx MCUs save registers R0-R4 automatically
on calling ISRs. The naked attribute tells the compiler not
to save any other registers. This is fine, as long as the
code in the ISR is not nested. If nested, it will use also
R4 and R5, which will then lead to currupted registers on
exit of the ISR. Removing the naked will fix this.
2014-10-30 19:33:32 +01:00
Thomas Eichinger
a11e4fe534 Merge pull request #1712 from haukepetersen/fix_stm32f0_hardfault
cpu/stm32f0: fixed hardfault indication
2014-10-30 19:05:04 +01:00
Oleg Hahm
eb40993d8b native: remove obsolete line 2014-10-30 16:37:10 +01:00
Oleg Hahm
9a61d8cf1c core: move optional tcb members to DEVELHELP 2014-10-30 16:37:10 +01:00
Hauke Petersen
4d97f1752b cpu/sam3x8e: fixed style in startup.c 2014-10-30 13:53:44 +01:00
Hauke Petersen
e71d37ba05 cpu/sam3x8e: added output to isr_hard_fault 2014-10-30 13:52:56 +01:00
Hauke Petersen
8b992d03c2 cpu/sam3x8e: put PendSV IRQ to lowest prio 2014-10-30 13:50:12 +01:00
Hauke Petersen
a4d7ee8d4d cpu/sam3x8e: fixes to timer driver
- renamed config variable
- placed thread_yield() correctly
2014-10-30 13:50:12 +01:00
Ludwig Ortmann
7bcf896ec6 native: add and use callback type 2014-10-30 12:11:22 +01:00
Ludwig Ortmann
245df3f028 cpu/lpc2387, drivers/cc110x: purge FEUERWARE_CPU_LPC2387
* includes were superfluous
* unused otherwise
2014-10-28 18:04:26 +01:00
Ludwig Ortmann
ebc122bff1 cpu/arm_common: purge FEUERWARE_CONF_ENABLE_HAL 2014-10-28 18:04:26 +01:00
Ludwig Ortmann
f30ce433fc board/avsextrem, cpu/lpc2387: purge FEUERWARE_CONF_CPU_NAME 2014-10-28 18:04:26 +01:00
Ludwig Ortmann
c006c69218 cpu/lpc2387: purge FEUERWARE_CONF_CORE_SUPPORTS_TIME 2014-10-28 18:04:26 +01:00
Thomas Eichinger
b756534a58 Merge pull request #1874 from locicontrols/cc2538-oe
cpu/cc2538 bug fix: OE (output enable) bit was set by gpio_init_in().
2014-10-28 16:43:50 +01:00
Ian Martin
81dea364a5 cpu/cc2538: sbrk() checks if the requested memory is really available. 2014-10-27 20:00:52 -04:00
Ludwig Ortmann
c540c8a3a9 cpu/mc1322x: fix mc1322x-adc.h cpp compatability 2014-10-27 16:36:43 +01:00
Ludwig Ortmann
5dbab29df0 cpu/mc1322x: fix mc1322x-adc.h license 2014-10-27 16:34:24 +01:00
Ludwig Ortmann
324a57a914 cpu/mc1322x: rename adc header to mc1322x-adc 2014-10-25 17:11:18 +02:00
Ludwig Ortmann
d42d226d66 cpu: use adc_legacy.h where appropriate 2014-10-25 17:09:22 +02:00
Ian Martin
34086fc6c6 cpu/cc2538 bug fix: OE (output enable) bit was set by gpio_init_in(). 2014-10-24 14:36:06 -04:00
Hauke Petersen
e6e37e0371 Merge pull request #1864 from haukepetersen/add_board_openmote
boards: added support for OpenMote
2014-10-24 16:50:29 +02:00
Oleg Hahm
c33e1b5dad Merge pull request #1844 from OlegHahm/doxygen_cleanup
Doxygen cleanup
2014-10-24 16:04:01 +02:00
Hauke Petersen
616ff64929 Merge pull request #1771 from PeterKietzmann/correct_stm32f4_spi_return_values
cpu/stm32f4: Changed SPI return values to API definitions
2014-10-24 15:37:22 +02:00
Hauke Petersen
ffea9fc4e8 cpu/cc2538: added linkerscript for cc2538sf53 2014-10-24 15:25:44 +02:00
Thomas Eichinger
ede33a6364 cpu/stm32f1: fix i2c read for N=2 bytes 2014-10-24 14:48:31 +02:00
Hauke Petersen
6889fd1f89 cpu/cc2538: adjusted GPIO register definitions 2014-10-24 14:43:52 +02:00
Hauke Petersen
9051c7be4b Merge pull request #1861 from haukepetersen/fix_cc2538_irqvector
cpu/cc2538: cleaned up IRQ vector definition
2014-10-24 14:40:10 +02:00
Thomas Eichinger
2e9d4cbba4 Merge pull request #1862 from haukepetersen/fix_cc2538_includecleanup
cpu/cc2538: centralized all cpu specific includes
2014-10-24 14:23:43 +02:00
Thomas Eichinger
414be5257d cpu/stm32f1: fix i2c master read for N>2 bytes
This fixes reading more than 2 bytes from the slave device.
In the current implementation the last byte was not read from
data register and the termination sequence buggy.
2014-10-24 14:08:27 +02:00
Hauke Petersen
ca20603d54 cpu/cc2538: made ISR names configurable by a board 2014-10-24 14:00:53 +02:00
Hauke Petersen
24ac5a7e94 cpu/cc2538: cleaned up IRQ vector definition 2014-10-24 14:00:47 +02:00
Ludwig Ortmann
6a5026803c Merge pull request #1842 from fnack/cc110x_ng_rename
drivers/cc110x_ng: rename driver to cc110x_legacy
2014-10-24 03:07:37 -07:00
Oleg Hahm
9b819c4dd6 Merge pull request #1836 from Kijewski/yield-less
core: introduce sched_yield(), yield less
2014-10-24 10:05:37 +02:00
Fabian Nack
07fff37efe drivers - cc110x_ng: rename ng driver to legacy 2014-10-24 09:55:31 +02:00
René Kijewski
677d690e2b core: introduce thread_yield_higher(), yield less
Fixes #1708.

Currently involuntary preemption causes the current thread not only to
yield for a higher prioritized thread, but all other threads of its own
priority class, too.

This PR adds the function `thread_yield_higher()`, which will yield the
current thread in favor of higher prioritized functions, but not for
threads of its own priority class.

Boards now need to implement `thread_yield_higher()` instead of
`thread_yield()`, but `COREIF_NG` boards are not affected in any way.

`thread_yield()` retains its old meaning: yield for every thread that
has the same or a higher priority.

This PR does not touch the occurrences of `thread_yield()` in the periph
drivers, because the author of this PR did not look into the logic of
the various driver implementations.
2014-10-24 00:09:56 +02:00
Oleg Hahm
cb48f7cd47 doc: fix warning from avr libc 2014-10-23 20:53:01 +02:00
Oleg Hahm
c53bd9ca5d doc: remove more CPU specific documentation 2014-10-23 20:53:01 +02:00
Oleg Hahm
bbf82ab254 doc: put atmega cpu file into the right group 2014-10-23 20:53:00 +02:00
Oleg Hahm
ca866b248e doc: fix naming for Cortex M3 common group 2014-10-23 20:53:00 +02:00
Oleg Hahm
481d4f2ee3 doc: fix ambiguous file name warnings
doxygen does a good job itself, identifying the unique part of the path
to identify a file.
2014-10-23 20:53:00 +02:00
Oleg Hahm
49208ffb59 doc: exclude more CPU specific stuff from doxygen 2014-10-23 20:53:00 +02:00
René Kijewski
aa086158ee Add copyright information to lpc1768/include/cpu.h 2014-10-23 20:50:31 +02:00
Oleg Hahm
db8f3d2650 cpu: use typed function pointer for thread_arch_init 2014-10-23 18:26:21 +02:00
Oleg Hahm
6d8c0d74c3 doc: some doxygen cleanups
* removed RIOT unrelated cpu documentation
* introduced cpu_specific prefix to mark such documentation
* put oneway_malloc and crypto into sys group
2014-10-23 17:29:25 +02:00
Hauke Petersen
ccd601b429 cpu/cc2538: centralized all cpu specific includes
- added all CPU specific includes to cpu-conf.h
- removed now not needed includes from cpu .c files
2014-10-23 14:04:57 +02:00
Oleg Hahm
fd2ec50035 Merge pull request #1848 from locicontrols/cc2538-nvic-prio-bits
cc2538: Set __NVIC_PRIO_BITS to the correct value of 3.
2014-10-21 16:10:16 +02:00
Ludwig Ortmann
a2bb383a86 Merge pull request #1838 from LudwigOrtmann/native_subsstructure
native: add substructure
2014-10-21 00:56:24 -07:00