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
Ian Martin
647391f71c
cc2538: Set __NVIC_PRIO_BITS to the correct value of 3.
2014-10-20 14:21:17 -04:00
Ludwig Ortmann
45cf2e4967
native: relocate drivers/rtc implementation
2014-10-18 11:00:09 +02:00
Ludwig Ortmann
0136f208c6
native: add drivers substructure
2014-10-18 10:58:51 +02:00
Ludwig Ortmann
833c36f09d
native: relocate periph/cpuid implementation
2014-10-18 10:48:03 +02:00
Ludwig Ortmann
96d2907666
native: add periph substructure
2014-10-18 10:47:26 +02:00
Ludwig Ortmann
a29a9ced27
boards + cpu: atmega2560: fix non-existent GPIO
2014-10-18 07:40:27 +02:00
Hauke Petersen
8c3a207a3f
Merge pull request #1770 from fnack/spi_extension
...
driver - periph: Extend SPI low-level driver interface
2014-10-17 13:54:38 +02:00
Hauke Petersen
010091f265
cpu/stm32f0: fixed typo uart driver defines
2014-10-16 22:17:30 +02:00
Fabian Nack
45b3da9be7
cpu - multiple: adapt spi drivers to interface extension
2014-10-16 17:47:10 +02:00
Martine Lenders
a569f2b92c
net: Initial import of a global packet buffer
2014-10-16 11:52:30 +02:00
Hauke Petersen
0fed9a438c
cpu/stm32f1: added low-level I2C driver
2014-10-15 14:50:14 +02:00
Thomas Eichinger
ecae75a1ab
Merge pull request #1697 from locicontrols/cc2538
...
Add support for the Texas Instruments CC2538 ARM Cortex-M3 MCU and developer kit.
2014-10-13 16:58:41 +02:00
Ian Martin
0605a7eb95
Add support for the Texas Instruments CC2538 ARM Cortex-M3 MCU and developer kit.
2014-10-13 09:29:49 -04:00
Hauke Petersen
d75a85a2aa
cpu/nrf51822: fixed issue with disabled RAM
...
- on certain devices the second RAM bank might be disabled after
reset, this fix makes sure its enabled
2014-10-13 13:04:39 +02:00
Thomas Eichinger
86c85d86e8
Merge pull request #1756 from thomaseichinger/welq-fix
...
cpu/stm32f: boards/iot-lab_M3: cleanup and fixes
2014-10-13 11:58:46 +02:00
Christian Mehlis
fff0a2f846
Merge pull request #1720 from haukepetersen/fix_nrf_gpio
...
cpu/nrf51822: fixed gpio driver
2014-10-11 16:12:22 +02:00
Thomas Eichinger
420f20f4bc
cpu/stm32f1: overwrite HWTIMER_WAIT_OVERHEAD
2014-10-10 11:43:02 +02:00
Thomas Eichinger
19db6ded85
cpu/stm32f1:board/iot-lab_M3: fix and cleanup for GPIO low level driver
2014-10-10 11:42:08 +02:00
Thomas Eichinger
a16d326bf0
stm32f1: implement RTT driver
2014-10-09 11:13:06 +02:00
Thomas Eichinger
3b56b6bf07
Merge pull request #1780 from LudwigOrtmann/native-freebsd-fixup
...
sys/posix: FreeBSD fixup
2014-10-09 10:48:59 +02:00
Martine Lenders
264785852e
nativenet: Supply net_dev_t support for nativenet
2014-10-09 09:40:58 +02:00
Martine Lenders
333c49a344
nativenet: Apply coding conventions
2014-10-09 09:40:57 +02:00
Ludwig Ortmann
6fba6a7f5a
native/freebsd: fix tapsetup permission
2014-10-08 16:11:04 +02:00
PeterKietzmann
502ceaf508
cpu: Implement SPI driver for sam3x8e
2014-10-08 12:20:23 +02:00
PeterKietzmann
4da6329684
cpu/stm32f4 changed SPI-return values to API defs
2014-10-07 12:16:37 +02:00
Hauke Petersen
ae48fccdf7
Copy some files from cpu/sam3x8e to cpu/cc2538.
2014-10-06 15:30:24 -04:00
Hauke Petersen
15b9df8975
cpu/stm32f0: fixed hardfault indication
2014-10-06 15:45:14 +02:00
Hauke Petersen
a29b9a08e4
cpu/stm32f0: removed leftovers from slave mode
2014-10-02 17:44:26 +02:00
Martine Lenders
0d33a00d36
Merge pull request #1492 from authmillenon/net-dev-base
...
drivers: Introduce a general interface for network device drivers
2014-10-02 12:29:59 +02:00
Thomas Eichinger
464ed0ee24
Merge pull request #1752 from haukepetersen/fix_stm32f1_gpio
...
cpu/stm32f1: fixed gpio driver
2014-10-02 00:49:06 +02:00
Martine Lenders
ec24fbd6dc
Merge pull request #1751 from LudwigOrtmann/native_syscalls_p2
...
native: add two more syscall declarations
2014-10-01 22:14:15 +02:00
Hauke Petersen
f3d8f05d6e
cpu/stm32f1: fixed gpio driver
...
- changed #ifdef to #if for device filter
- guarded file in case no GPIO device is defined
- added guards around interrupts
2014-10-01 22:01:46 +02:00
Ludwig Ortmann
b849b848a0
native: add two more syscall declarations
2014-10-01 21:56:43 +02:00
Thomas Eichinger
fccfce2d59
stm32f1: implement 32bit hwtimer by cascading two timers
2014-10-01 20:54:14 +02:00
Martine Lenders
97bf8b09ad
atmega_common: add ENOTSUP and ECANCELED to errno.h
2014-10-01 19:24:12 +02:00
Hauke Petersen
26dfa7c89c
Merge pull request #1464 from PeterKietzmann/stm32f4_spi_driver
...
Initial Stm32f4 spi driver
2014-09-30 13:40:01 +02:00
PeterKietzmann
d481af752f
initial import of stm32f4discovery spi low-level driver
2014-09-30 13:18:27 +02:00
Hauke Petersen
25c891ecdd
Merge pull request #1736 from haukepetersen/fix_stm32f1_somecleanup
...
board/iot-lab_M3: cleanup of SPI and radio driver
2014-09-30 12:02:42 +02:00
Hauke Petersen
c7807517da
cpu/stm32f1: added clock config to cpu.c
2014-09-30 11:25:56 +02:00
Hauke Petersen
6ee15ea6df
cpu/stm32f1: cleanup in SPI driver
...
- made config more versatile
- added pin configuration to spi_init()
2014-09-30 11:19:16 +02:00
Ludwig Ortmann
f539f30691
Merge pull request #1698 from Kijewski/ssize_t-for-all
...
core: Provide ssize_t in a common place
2014-09-27 00:26:34 -07:00
Hauke Petersen
964c145eef
cpu/nrf51822: fixed gpio driver
2014-09-26 17:25:21 +02:00
Thomas Eichinger
d0b0af6d81
stm32f*: rename STDIO buffer and enable getchar with UART0
2014-09-26 14:16:59 +02:00
Thomas Eichinger
c83e4cb361
stm32f1: unify UART0 use
2014-09-26 14:16:59 +02:00
Thomas Eichinger
fc3864756f
stm32f3: be UART0 aware
2014-09-26 14:16:31 +02:00
Thomas Eichinger
aefa818338
stm32f4: be UART0 aware
2014-09-26 14:16:31 +02:00
Thomas Eichinger
8fc2e61e20
stm32f0: be UART0 aware
2014-09-26 14:16:31 +02:00
René Kijewski
4e50d74272
core: Provide ssize_t in a common place
...
Now you can include `kernel_types.h` if you need the `ssize_t`, without
facing problems due to the terrible MSP toolchain.
2014-09-26 14:04:30 +02:00
Thomas Eichinger
bf256f63a3
samr21-xpro: initial import for the samr21-xpro board
2014-09-25 14:37:47 +02:00
Hauke Petersen
d7741efa03
cpu/stm32f1: added missing spi function
2014-09-25 14:25:04 +02:00
Hauke Petersen
934eb44c13
Merge pull request #1488 from haukepetersen/add_stm32f0_spi
...
board/cpu: added SPI driver for the stm32f0discovery
2014-09-25 11:59:11 +02:00
Ludwig Ortmann
bd0ff3712e
Merge pull request #1706 from locicontrols/sam3x8e-break
...
cpu/sam3x8e bug: missing break statements in gpio_set() and gpio_clear()
2014-09-25 01:42:46 -07:00
René Kijewski
d4f144eb47
Add license statement to {msp430_types,net_help}.h
2014-09-25 10:14:58 +02:00
Ian Martin
ab3b731ca8
cpu/sam3x8e bug: missing break statements in gpio_set() and gpio_clear()
2014-09-24 14:26:36 -04:00
Hauke Petersen
3d797d8f4b
cpu/stm32f4: fixed doxygen
2014-09-24 17:51:37 +02:00
Hauke Petersen
127095ada0
[SQUASH ME] cpu: removed slave mode
2014-09-24 15:41:48 +02:00
Hauke Petersen
cdb335e21d
[SQUASH ME] stm32f0: substantial fixes to SPI driver
2014-09-24 15:41:48 +02:00
Hauke Petersen
7904076668
cpu: mini cleanup to spi driver
2014-09-24 15:41:48 +02:00
Hauke Petersen
7d5b3263d5
SPI: more fixes including DEBUG info
2014-09-24 15:41:48 +02:00
Hauke Petersen
ff4854341a
[SQUASH ME] finished 0.1 of spi driver
2014-09-24 15:41:47 +02:00
Hauke Petersen
c494e3ab09
board/cpu: added SPI driver for stm32f0discovery
2014-09-24 15:41:47 +02:00
Hauke Petersen
34aaa61eb0
Merge pull request #1486 from haukepetersen/fix_sam3x_finish_gpio
...
cpu/boards: completed GPIO driver for sam3x8e
2014-09-19 13:21:09 +02:00
Hauke Petersen
4411b6b53f
cpu/nrf51822: adjusted default stack sizes
2014-09-19 13:02:23 +02:00
Ludwig Ortmann
d7cdc85758
Merge pull request #1677 from LudwigOrtmann/headers
...
doc: add license headers to some .h files
2014-09-18 10:47:30 -07:00
Hauke Petersen
50ba74b7dc
cpu/boards: completed GPIO driver for sam3x8e
...
- adjusted peripheral conf for udoo and arduino-due
- added gpio_init_int()
- added interrupt service routines
- fixed gpio_read()
- added clock enable for gpio_init_in()
2014-09-18 18:29:02 +02:00
Ludwig Ortmann
289c4c0ee4
doc: add license headers to some .h files
2014-09-18 17:45:11 +02:00
Hauke Petersen
c9c7bfad38
cpu/nrf51822: some fixes and clean up
...
- enabled power for uart and timer
- outsourced timer config values to periph_conf.h
- made linkerscript better readable
- adjusted default stack-sizes
- let RED_LED blink on hard_fault
2014-09-17 14:44:13 +02:00
Hinnerk van Bruinehsen
d5fe9de5e5
cpu: change __ASM to asm (cppcheck uninitvar error)
2014-09-17 00:20:20 +02:00
Ludwig Ortmann
651cb6ca9f
doc: tailor CMSIS doxygen for license checker
...
Remove '@par' within the license header to allow the existing regular
expression to match it.
2014-09-15 08:27:59 +02:00
René Kijewski
ba07d6a5a2
Merge pull request #1664 from N8Fear/unsignedLessThanZero
...
lint: _sbrk_r: change parameter type from size_t to ptrdiff_t
2014-09-14 23:33:17 +02:00
Hinnerk van Bruinehsen
129e9b0bfa
cpu: multiple: change size_t to ptrdiff_t for_sbrk_r
2014-09-14 22:07:05 +02:00
Hinnerk van Bruinehsen
9933dd0b78
cpu: arm/cortex-mX/atmega: use uintptr_t for sp cast
2014-09-14 02:34:04 +02:00
Hinnerk van Bruinehsen
4d2ca13fcf
lint: lpc1768/msp430: remove arith ops on void ptrs
2014-09-14 02:33:44 +02:00
Hinnerk van Bruinehsen
68e3e68ce1
Merge pull request #1657 from N8Fear/scope
...
lint: reduce scope (2)
2014-09-13 20:06:45 +02:00
Hinnerk van Bruinehsen
57b998e4a1
cpu/examples/sys/drivers: reduce scope of variables
2014-09-13 19:03:40 +02:00
Oleg Hahm
fa8c70bbb8
Merge pull request #1618 from rousselk/msp430-fix-thread-yield
...
Fix thread_yield() on MSP430 platforms
2014-09-12 20:14:18 +02:00
Hinnerk van Bruinehsen
5aa9b8449b
cpu: lpc_common: reduce indentation level in iap.c
2014-09-12 11:50:12 +02:00
René Kijewski
0cc699c0ce
lint: reduce scope
...
Fix some lint warnings of kind
```
style (variableScope): The scope of the variable '…' can be reduced
```
2014-09-12 11:50:12 +02:00
Kévin Roussel
a691d0798a
Fixed comments
2014-09-09 13:18:39 +02:00
Hinnerk van Bruinehsen
3d686c7cf1
cpu: atmega: doxygen: blacklist upstream headers
2014-09-06 12:38:04 +02:00
Ludwig Ortmann
3d29a9e3d3
native: add support for Linux on ARM
2014-09-04 16:39:33 +02:00
Joakim Gebart
21fc1bd7a6
cpu/stm32f1: Reduce scope of ret variable in spi_transfer_bytes.
...
Reduced scope to inside the while loop as per comments in RIOT-OS/RIOT#1630
Signed-off-by: Joakim Gebart <joakim@gebart.se>
2014-09-03 10:28:33 +02:00
Joakim Gebart
a12b879027
cpu/stm32f1: spi_transfer_bytes proper counting.
...
The transferred bytes were being counted more than once because of a +=
when calling spi_transfer_byte().
This patch should also handle errors from spi_transfer_byte() better
since it is now possible to detect errors _after_ the first byte has
been successfully sent.
Signed-off-by: Joakim Gebart <joakim@gebart.se>
2014-09-02 17:17:21 +02:00
Fabian Nack
edb6a4ddf4
cpu - stm32f4: added support for more channels/devices in periph impls
2014-09-01 21:29:56 +02:00
Fabian Nack
47657ac7d9
cpu - stm32f4: add support for stm32f415rg
2014-09-01 21:29:56 +02:00
Kévin Roussel
4421de003b
Fix the race condition when an interruption occured at the beginning
...
of thread_yield(), i.e.: just after SR(R2) was pushed but before
the rest of the suspended thread's context was pushed!
2014-08-29 15:09:23 +02:00
Kévin Roussel
3df5a2745f
Prevent the compiler to add an unwanted prologue in thread_yield()
2014-08-29 15:09:22 +02:00
Kévin Roussel
cf683d9866
Fix thread_yield by avoiding the (too) early re-enablement of IRQ,
...
that is: before the newly selected thread's context is totally restored
2014-08-29 15:09:22 +02:00
Martine Lenders
752fe547ca
Merge pull request #1624 from LudwigOrtmann/headacheheaders
...
doc: fix more license headers
2014-08-28 12:34:55 +02:00
Ludwig Ortmann
2439bd839c
doc: fix more license headers
...
Remove some cruft, set correct lgpl versions, update to lgpl where
this had been overlooked in the past, fix odd comment style...
2014-08-27 19:20:49 +02:00
Hauke Petersen
ae23d813b1
Merge pull request #1621 from haukepetersen/add_nrf_cpuid
...
cpu/nrf51822: added cpuid driver
2014-08-27 19:11:04 +02:00
Hinnerk van Bruinehsen
223e22ac1e
board: arduino-mega2560: Initial import
2014-08-27 16:39:40 +02:00
Hinnerk van Bruinehsen
7b70f64d84
cpu: atmega2560: Initial import
2014-08-27 16:39:23 +02:00
Hinnerk van Bruinehsen
a6b77b4745
cpu: atmega_common: Initial import
2014-08-27 16:22:48 +02:00
Hauke Petersen
1de3deff81
cpu/nrf51822: added driver to get CPUID
2014-08-27 15:12:59 +02:00
Ludwig Ortmann
fc0b0bcc29
Merge pull request #1608 from LudwigOrtmann/fixmorelicenseheaders
...
Fix more license headers
2014-08-26 13:48:59 +02:00
Thomas Eichinger
6f83609107
Merge pull request #1607 from haukepetersen/add_nrf_random
...
cpu/nrf51822: added random number generator driver
2014-08-25 14:51:18 +02:00
Hauke Petersen
373e69e5c9
cpu/stm32f4: added random number generator driver
2014-08-25 13:54:15 +02:00
Ludwig Ortmann
b7992922ce
fix license headers in non-.c files
2014-08-23 16:16:26 +02:00
Hauke Petersen
82eebeb2cc
cpu/nrf51822: added RNG driver
2014-08-23 13:29:14 +02:00
Hauke Petersen
addfaefe8a
Merge pull request #1598 from haukepetersen/add_nrf_rtt
...
cpu/board: added RTT driver for NRF51822
2014-08-22 02:13:43 +02:00
003dd1969c
Merge pull request #1566 from Kijewski/undef_is_null
...
core: let PIDs begin with 1
2014-08-22 00:43:04 +02:00
Hauke Petersen
744ce78e12
cpu/nrf51822: added RTT driver implementation
2014-08-22 00:40:50 +02:00
Hauke Petersen
bd86eb28c9
cpu/sam3x8e: added random number generator driver
2014-08-21 20:18:02 +02:00
René Kijewski
639dae4a1d
Merge pull request #1575 from Kijewski/use-sched_active_pid
...
all over the place: use sched_active_pid
2014-08-21 19:09:40 +02:00
Thomas Eichinger
0e79a01cd2
stm32f1: SPI: implement speed setting properly
2014-08-21 17:53:38 +02:00
Thomas Eichinger
6b43b3f587
stm32f1: implement new cpuid_get
2014-08-21 17:53:38 +02:00
Thomas Eichinger
c28aebf105
at86rf231: handle rx tx state changes correctly
2014-08-21 17:53:38 +02:00
Thomas Eichinger
b6abdc9519
stm32f1: implement SPI register access functions
2014-08-21 17:53:38 +02:00
Thomas Eichinger
e59bc2eb9d
iot-lab_M3: refactor at86rf231 driver
2014-08-21 17:53:37 +02:00
Thomas Eichinger
b86b78bcb2
stm32f1: implement missing UART0 parts
2014-08-21 17:53:37 +02:00
Thomas Eichinger
aaa2c2e8ba
boards: initial import of iot-lab_M3
2014-08-21 17:53:37 +02:00
Thomas Eichinger
37611db41c
cpu: initial import of stm32f1
2014-08-21 17:53:37 +02:00
René Kijewski
2cb4166c3e
all over the place: use sched_active_pid
...
In many places we needlessly use `sched_active_thread->pid` whilst we
already have `sched_active_pid` with the same value, and one less
indirection.
`thread_getpid()` is made `static inline` so that there is no penalty in
using this function over accessing `sched_active_pid` directly.
2014-08-17 21:04:25 +02:00
René Kijewski
427a5fbaef
core: let valid PIDs start with 1
2014-08-17 19:51:03 +02:00
Hauke Petersen
13894fa70c
cpus: adjusted uart implementations for changed IF
...
- adjusted stm32f0
- adjusted stm32f3
- adjusted stm32f4
- adjusted sam3x8e
- adjusted nrf51822
2014-08-15 12:23:39 +02:00
Hauke Petersen
ea96af4d53
cpu/stm32f3: let LD3 blink on hardFault
2014-08-15 10:38:34 +02:00
René Kijewski
a79d9c8562
native: remove redeclarations of sched_active_thread
2014-08-14 13:21:17 +02:00
Hauke Petersen
037820d6a6
board/cpu: adjusted uart driver implementations
...
for
- sam3x8e
- stm32f0
- stm32f4
- sam3x8e
- nrf51822
2014-08-11 15:08:20 +02:00
Oleg Hahm
1de5c2b4a0
fixed remaining variables to kernel_pid_t
2014-08-07 17:29:53 +02:00
Oleg Hahm
aa2ecf6216
initialize kernel_pid_t correctly
2014-08-07 16:31:27 +02:00
Oleg Hahm
c2b0423918
core: renamed KERNEL_PID_NULL to KERNEL_PID_UNDEF
...
As @authmillenon pointed out the "null" in the old name is somewhat
misleading, since the actual value is -1.
2014-08-07 16:31:27 +02:00
Hauke Petersen
cc6ee1dc05
board/cpu: added pwm driver for stm32f4discovery
2014-08-07 16:15:39 +02:00
Hauke Petersen
9a90eae1ba
cpu: adjusted pwm driver impl for lpc2387
2014-08-07 16:14:09 +02:00
Ludwig Ortmann
14e8abed05
Merge pull request #1525 from LudwigOrtmann/morning-cleanup
...
doc, boards/cpu: cleanup
2014-08-05 19:28:24 +02:00
Hauke Petersen
d9b0927b57
Merge pull request #1547 from haukepetersen/fix_cortex_threadarch
...
cpu/cortex-mX_common: bugfix to arch_stack_init
2014-08-05 18:59:17 +02:00
Ludwig Ortmann
1df6505db9
boards/cpu: fix some warnings
2014-08-05 18:52:26 +02:00
Ludwig Ortmann
c883c33d83
doc: fix flashrom doxygen
2014-08-05 18:52:26 +02:00
Hauke Petersen
be46f2047a
cpu/cortex-mX_common: bugfix to arch_stack_init
...
- fixed cortex-[m0|m3|m4]
2014-08-05 18:38:06 +02:00
Ludwig Ortmann
1c3f481702
tests, native: fixup for cpuid
...
- adopt test name to new scheme
- make cppcheck happy / dont overwrite the target memory location twice
- fix license header
- don't redefine define if it already exists
- don't write more cpuid than is defined as size
2014-08-05 16:55:42 +02:00
epiktet
1154bd5a50
cpu/nrf51822: squash added support for nrf51822 cpu
2014-08-04 13:42:06 +02:00
Cenk Gündoğan
5429035b1c
cpu: removing tabs from asm files ( #1439 )
...
```find . -name "*.[sS]" -exec grep -l $'\t' {} \;``` and ```ack --asm -l "\t"```
revealed three more files with tabs.
2014-08-02 12:47:02 +02:00
Oleg Hahm
983d056c75
core: harmonizes the data type for the process ID
...
Instead of using differing integer types use kernel_pid_t for process
identifier. This type is introduced in a new header file to avoid
circular dependencies.
2014-08-01 12:02:54 +02:00
Hauke Petersen
938c61a5a2
Merge pull request #1456 from haukepetersen/board_stm32f3discovery
...
board/cpu: Added support for the stm32f3discovery board and stm32f3 cpu
2014-07-31 23:55:05 +02:00
Martine Lenders
b1bc11c7fc
native: cpu: Add documentatiton for CPUID_ID_LEN
2014-07-31 23:27:38 +02:00
Martine Lenders
7516c94dd8
Merge pull request #854 from authmillenon/cpu-id
...
drivers/cpu: add function to get CPU id/serial number
2014-07-31 23:23:21 +02:00
Ludwig Ortmann
d55da67fb6
Merge pull request #1329 from LudwigOrtmann/riot_license
...
RIOT default license header change
2014-07-31 23:12:47 +02:00
Martin Lenders
239f2e0f24
Implement CPU id getter for native
2014-07-31 23:05:15 +02:00
Hauke Petersen
19ab93cadc
Merge pull request #1509 from haukepetersen/fix_cortexmcommon_cppcheck
...
cpu/cortex-mX_common: fixed type issues in thread_arch
2014-07-31 23:04:42 +02:00
Hauke Petersen
c54594632f
Merge pull request #1505 from haukepetersen/add_stm32f0_adc
...
cpu/board: added ADC driver for stm32f0discovery
2014-07-31 23:01:21 +02:00
Oleg Hahm
8890470783
Merge pull request #1514 from cgundogan/remove_tabs_cpu
...
converting tabs to spaces in cpu (#1439 )
2014-07-31 22:58:17 +02:00
Ludwig Ortmann
5fdce06b3b
doc: use lgplv2.1-short license header instead of lgplv2-short-v1
2014-07-31 22:57:20 +02:00
Ludwig Ortmann
73aa3739d2
doc: use lgplv2.1-short license header instead of lgplv2-short-v2
2014-07-31 22:57:20 +02:00
Ludwig Ortmann
c40b281873
doc: use lgplv2.1-short license header instead of lgplv2-short-v3
2014-07-31 22:57:20 +02:00
Ludwig Ortmann
3ca4f18479
doc: use lgplv2.1-short license header instead of lgpl-short-riot
2014-07-31 22:57:20 +02:00
Ludwig Ortmann
1200c3bc46
doc: fix comment indentation
2014-07-31 22:57:19 +02:00
Martine Lenders
107ef28705
Merge pull request #1470 from haukepetersen/add_stm32f4_adc
...
cpu/board: added ADC driver for stm32f4discovery
2014-07-31 22:56:41 +02:00
Cenk Gündoğan
3989945679
converting tabs to spaces in cpu ( #1439 )
...
This PR converts tabs to white spaces.
The statement I used for the conversion:
```find . -name "*.[ch]" -exec zsh -c 'expand -t 4 "$0" > /tmp/e && mv /tmp/e "$0"' {} \;```
Afterwards, I had a quick overview of the converted files to prevent odd indentation.
2014-07-31 20:46:28 +02:00
Hauke Petersen
275e8f0278
cpu - cortex-m4_common: fixes to thread_arch.c
2014-07-31 19:42:05 +02:00
Hauke Petersen
c5c860f435
cpu: Initial import of stm32f3
2014-07-31 19:38:26 +02:00
Hauke Petersen
14e65fc48d
cpu/cortex-mX_common: fixed type issues
...
- added explicit cast for stack pointer
- fixed printf type inconsistency
2014-07-31 19:17:23 +02:00
Ludwig Ortmann
249b3085cd
lpc2387: change comment style for license checker
2014-07-31 18:58:06 +02:00
Hauke Petersen
b451de05e4
cpu/board: added ADC driver for stm32f4discovery
2014-07-31 17:51:01 +02:00
Hauke Petersen
3a45a062d1
cpu/board: added ADC driver for stm32f0discovery
...
- added ADC implementation for the stm32f0 cpu
- added ADC pin/device configuration for stm32f0discovery board
2014-07-31 17:04:48 +02:00
Ludwig Ortmann
3d6124c905
native: reenable compilation on osx
2014-07-30 10:23:28 +02:00
Ludwig Ortmann
b3b6cff587
doc: some more author fixes
...
fix all occurences of INRIA as an author
correct Oliver Hahms authorship and indentation
2014-07-29 18:17:48 +02:00
Ludwig Ortmann
b6846e31fc
doc: fix most occurences of FU as an author
...
.. but only if there are other authors as well
2014-07-29 17:23:11 +02:00
Ludwig Ortmann
13bd2a2b3b
native: increase rtc realism
...
Prevent rtc enabling when not initialized.
2014-07-28 09:36:53 +02:00
Ludwig Ortmann
3cda0369cb
native: cleanup
...
fix style
fix some syscall declarations
reorder syscall declarations
init syscalls in dedicated function
substitute 1 with EXIT_FAILURE
2014-07-27 15:16:38 +02:00
Ludwig Ortmann
c6bcc344ca
native: uart reconnect buffer replay
...
When using socket stdio, add option to replay what has been written to
stdout while not connected (`-r`).
The implementation is to simply use the existing log file (which is
implicitly created when the option is used), and read from it until
EOF upon reconnect.
closes #476
2014-07-27 15:16:38 +02:00
Ludwig Ortmann
bea563d1da
Fix a few cppcheck findings
2014-07-25 08:17:06 +02:00
Ludwig Ortmann
2aa9f6b045
native: clean up and clarify help
...
- reorder option details to mirror the order given in usage
- list option arguments in option details
- clarify option arguments
2014-07-22 16:25:00 +02:00
Hauke Petersen
29e70c14d6
cpu: Initial import of cortex-m4_common
2014-07-16 17:20:50 +02:00
Hauke Petersen
2fa9b4de82
cpu: Initial import of stm32f4
2014-07-16 17:20:46 +02:00
Hauke Petersen
7904af1ac5
cpu: Initial import of stm32f0
2014-07-16 15:21:28 +02:00
Hauke Petersen
8169e9276b
cpu: Initial import of cortex-m0_common
2014-07-16 15:21:23 +02:00
Simon Gene Gottlieb
519ed7163c
board/flash: changing flashrom_write signature
...
→ changing all flashrom_write() function to the same signature
→ adding const keyword to signature
2014-07-14 02:11:38 +02:00
René Kijewski
a0c435458e
Merge pull request #1410 from LudwigOrtmann/issue-787
...
native: enable reboot with tap
2014-07-14 00:33:03 +02:00
Ludwig Ortmann
aaaccf9d87
native: enable reboot with tap
...
partially fixes #787
2014-07-13 16:40:32 +02:00
Ludwig Ortmann
df36f6304a
native: remove stale TODOs and blank line
...
The values are quite OK.
2014-07-13 07:24:01 +02:00
Ludwig Ortmann
c8612a055e
cpu/lpc2387: fix unused parameter warning
...
mark 'mode' as unused in pwm_init
2014-07-12 07:56:22 +02:00
Hauke Petersen
9001e0c2fb
core: removed duplicated hwtimer_arch.h
2014-07-09 21:08:13 +02:00
René Kijewski
ba1a15535b
core: remove extra thread_create_arg() function
2014-07-09 10:28:23 +02:00
René Kijewski
867246a09f
Add argument to thread_create
2014-07-09 10:07:54 +02:00
René Kijewski
54047c72d3
native: override INCLUDES w/ NATIVEINCLUDES
...
Currrently native overrides the object file targets, because it needs
the different include paths to interact with libc and the OS.
This PR simplifies their makefiles to only override the variable
INCLUDES, instead of overriding the targets.
2014-07-07 23:09:14 +02:00
Ludwig Ortmann
34c2283d5e
Merge pull request #1351 from LudwigOrtmann/native_hwtimer
...
native: implement hwtimer removal
2014-07-07 11:01:48 +02:00