Joakim Gebart
ba6053e448
tests/nativenet: reduce scope of globals in main.c
2015-01-23 14:05:54 +01:00
Joakim Gebart
cd248f89f0
sixlowpan: reduce scope of globals in mac.c
2015-01-23 14:04:59 +01:00
Fabian Nack
d7eaa81269
Merge pull request #2339 from fnack/stm32f4_pwm
...
cpu/stm32f4: Fix PWM implementation
2015-01-22 15:30:25 +01:00
Ludwig Ortmann
47c04d47f5
Merge pull request #2337 from haukepetersen/fix_udp_header
...
net/udp: cleaned up header and documentation
2015-01-22 15:25:54 +01:00
Fabian Nack
c1cc08a727
boards/msbiot: Add PWM config to MSB-IoT
2015-01-22 14:33:35 +01:00
haukepetersen
df9dabfa7d
net/udp: cleaned up header and documentation
2015-01-22 14:23:03 +01:00
Hauke Petersen
19738bc61d
Merge pull request #2338 from gebart/pr/spi-cpol-cpha-docs
...
periph/spi: Update clock polarity and phase documentation for clarity.
2015-01-22 14:17:48 +01:00
Ludwig Ortmann
334c0ca001
Merge pull request #2340 from LudwigOrtmann/native-clang-darwin-weak-kludge
...
sys/vtimer: bypass weak attribute missing on OSX
2015-01-22 12:50:43 +01:00
Ludwig Ortmann
3d2b328288
sys/vtimer: bypass weak attribute missing on OSX
2015-01-22 10:24:27 +01:00
Joakim Gebart
cc7acaaef0
periph/spi: Update clock polarity and phase documentation for clarity.
...
Signed-off-by: Joakim Gebart <joakim.gebart@eistec.se>
2015-01-22 09:03:44 +01:00
Fabian Nack
870a695a38
cpu/stm32f4: Adapt PWM implementation to allow timers with < 4 channels
2015-01-22 02:24:00 +01:00
Ludwig Ortmann
42659dfa4f
Merge pull request #2335 from thomaseichinger/deprecate_radio_driver
...
drivers/radio_driver: mark as deprecated
2015-01-21 14:20:28 +01:00
Thomas Eichinger
3f3e70b7a0
drivers/radio_driver: mark as deprecated
2015-01-21 13:10:19 +01:00
Peter Kietzmann
647d0aef5f
Merge pull request #2330 from PeterKietzmann/fix_nrf24l01p_driver
...
drivers/nrf24l01p: fixes
2015-01-21 12:10:01 +01:00
PeterKietzmann
7aaa99221d
tests/driver_nrf24l01p_lowlevel: adapt doc.
2015-01-21 10:28:46 +01:00
PeterKietzmann
a3031ec04e
tests/driver_nrf24l01p_lowlevel:improve by checking for errors
2015-01-21 10:24:55 +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
Ludwig Ortmann
461163debe
Merge pull request #2333 from haukepetersen/fix_l1_doxygen
...
board/cpu: fixed doxygen for nucleo-l1 and stm32l1
2015-01-21 09:48:55 +01:00
PeterKietzmann
e56b821774
drivers/nrf24l01p: change API and fix initial setup
2015-01-21 09:47:18 +01:00
haukepetersen
0f746047d7
cpu/stm32l1: repaired doxygen group
2015-01-21 09:34:31 +01:00
haukepetersen
827f34be19
board/nucleo-l1: capitalized doxygen group
2015-01-21 09:31:45 +01:00
Hauke Petersen
7ec85a3797
board/stm32f0discovery: fixed GPIO CLKEN defines
2015-01-21 08:20:28 +01:00
Hauke Petersen
3976554f12
cpu/stm32f0: fixed port clk en for GPIO driver
2015-01-21 08:14:31 +01:00
Peter Kietzmann
b02d68e68c
Merge pull request #2296 from gebart/pr/lis3dh-initial
...
LIS3DH accelerometer driver
2015-01-20 16:06:52 +01:00
Joakim Gebart
ca56de8251
lis3dh: New device driver for LIS3DH accelerometer sensors.
...
LIS3DH MEMS digital output motion sensor ultra low-power high
performance 3-axes "nano" accelerometer
Manufacturer website:
http://www.st.com/web/catalog/sense_power/FM89/SC444/PF250725
Data sheet:
http://www.st.com/st-web-ui/static/active/en/resource/technical/document/datasheet/CD00274221.pdf
tests/driver_lis3dh is a simple test application for testing on actual
hardware.
Signed-off-by: Joakim Gebart <joakim.gebart@eistec.se>
2015-01-20 14:53:27 +01:00
Ludwig Ortmann
bccc2e5d43
Merge pull request #2327 from jfischer-phytec-iot/pr@freescale-3c-bsd-license
...
Pattern for Freescale 3c-BSD license
2015-01-20 13:29:40 +01:00
Johann Fischer
9dcf34307b
dist/tools/licenses: add Freescale 3c-BSD license pattern
2015-01-20 13:27:32 +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
dfb0d58cfb
tests/periph_spi: Lock bus for exclusive access when communicating.
2015-01-19 19:05:40 +01:00
Joakim Gebart
c457cd954d
nrf24l01p: Acquire exclusive access to SPI bus.
...
Signed-off-by: Joakim Gebart <joakim.gebart@eistec.se>
2015-01-19 19:05:40 +01:00
Joakim Gebart
b6d94d9525
nrf24l01p: Remove superfluous delays in nrf24l01p_on, nrf24l01p_off.
...
The delays were introduced in an attempt to fix "inexplicable timing
errors", although the errors were in the SPI bus driver rather than the
nrf24l01p driver.
See also:
- https://github.com/RIOT-OS/RIOT/pull/1704
- https://github.com/RIOT-OS/RIOT/pull/2315
Signed-off-by: Joakim Gebart <joakim.gebart@eistec.se>
2015-01-19 19:05:40 +01:00
Joakim Gebart
a991d7c58e
nrf24l01p: Remove redundant gpio_clear/gpio_set.
...
This change removes extra gpio_clear(dev->cs) before calling
nrf24l01p_read_reg(), nrf24l01p_write_reg(). The GPIO handling is not
necessary since nrf24l01p_{read,write}_reg() handle the CS pin
internally.
Signed-off-by: Joakim Gebart <joakim.gebart@eistec.se>
2015-01-19 19:05:39 +01:00
Joakim Gebart
af1ddef1fb
cc110x: Acquire exclusive access to SPI bus.
...
Signed-off-by: Joakim Gebart <joakim.gebart@eistec.se>
2015-01-19 19:05:39 +01:00
Joakim Gebart
1f577b4fee
at86rf231: Acquire exclusive access to SPI bus.
...
Signed-off-by: Joakim Gebart <joakim.gebart@eistec.se>
2015-01-19 19:05:39 +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
e1801cc98f
Merge pull request #2290 from haukepetersen/opt_spi_threadsafe
...
drivers/periph/spi: added means to make SPI thread-safe
2015-01-19 09:43:06 +01:00
Hauke Petersen
3439247248
drivers/periph/spi: added locking mechanism
2015-01-17 15:13:51 +01:00