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