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
BytesGalore
66e57aa418
Merge pull request #2325 from BytesGalore/fix_rpl_udp_channel_set
...
and go
2015-02-04 07:54:46 +01:00
Christian Mehlis
f69a5ae1f6
Merge pull request #2374 from cgundogan/bloom_doc_bytes_bits
...
sys/bloom: changed doc from bytes -> bits
2015-02-03 18:16:27 +01:00
Fabian Brandt
9963d641a2
Merge pull request #2217 from cgundogan/rpl_wireshark_dao
...
rpl: Fix for wrong length in DAO options, leads to error in package length (visible via wireshark)
2015-02-03 13:08:00 +01:00
BytesGalore
cbe6db5570
examples/rpl_udp: Fix unconditional setting of a radio channel on initialization
2015-02-03 12:10:07 +01:00
Cenk Gündoğan
13e7bbccfc
rpl: wrong length for DAO options
2015-02-03 11:47:07 +01:00
Fabian Brandt
e9168b5efc
Merge pull request #2216 from cgundogan/rpl_wireshark_dio_malformed_packet
...
rpl: wrong length of DIO options
2015-02-03 11:02:40 +01:00
Cenk Gündoğan
c14217c68e
rpl: introduce constants for PREFIX_INFO length with/without RPL_OPT_LEN
2015-02-03 10:41:28 +01:00
Cenk Gündoğan
26095013a1
rpl: introduce constants for DODAG_CONF length with and without RPL_OPT_LEN
2015-02-03 10:41:27 +01:00
Cenk Gündoğan
432688accb
rpl: wrong length of DIO options
...
Currently, the DIO options `dodag conf` and `prefix info` are off by two
bytes in their `length` field. The RFC states, that the length field
should not include the option `type` field and the `length` field (two bytes).
For Prefix Info Option: Option Length: 30 (RFC 6550, P.61)
For Dodag Conf Option: Option Length: 14 (RFC 6550, P.52)
Wireshark complains about DIOs as malformed packets, otherwise.
Can be reproduced by running the rpl_udp example and logging the DIOs
via wireshark.
2015-02-03 10:41:27 +01:00
Joakim Gebart
9b65000f8f
Merge pull request #2384 from cgundogan/rpl_remove_common_globals
...
remove common globals for rpl with regard to #2346
2015-02-02 13:40:27 +01:00
Cenk Gündoğan
eb202ffe6d
rpl: remove unsused warning
2015-02-02 12:54:58 +01:00
Cenk Gündoğan
c91cdcd4d1
examples/rpl_udp: remove common globals by prefixing with static
2015-02-02 12:54:58 +01:00
Cenk Gündoğan
f3c6ef7e66
rpl: remove common globals by prefixing with static
2015-02-02 12:54:58 +01:00
Joakim Gebart
c5ec71f401
Merge pull request #2386 from gebart/pr/rpl_udp-readme-fixes
...
examples/rpl_udp: README fixes
2015-02-02 12:46:00 +01:00
Joakim Gebart
4183f3e505
examples/rpl_udp: Update line number on link to default RPL_MAX_ROUTING_ENTRIES
2015-02-02 12:17:49 +01:00
Joakim Gebart
cc40eb8e86
examples/rpl_udp: Add missing newlines in README.md
2015-02-02 12:17:31 +01:00
Peter Kietzmann
dd5fb6422a
Merge pull request #2382 from gebart/pr/stm32f0-remove-redundant-doxygen
...
stm32f0: Remove Doxygen from already documented functions.
2015-02-02 08:33:45 +01:00
Joakim Gebart
45dbbd18ae
stm32f0: Remove Doxygen from already documented functions.
2015-02-01 08:09:46 +01:00
Joakim Gebart
fe076783ba
Merge pull request #2352 from gebart/pr/fno-common-default
...
Makefile.cflags: Make -fno-common the default
2015-01-30 15:55:37 +01:00
Thomas Eichinger
5595bbb94b
Merge pull request #2372 from haukepetersen/add_f0discovery_openocd
...
board/stm32f0discovery: switched to OpenOCD
2015-01-30 13:21:19 +01:00
Hauke Petersen
4142125af8
Merge pull request #2364 from thomaseichinger/f3dicovery-openocd
...
boards/stm32f3discovery: use OpenOCD for flashing, debugging and resetting
2015-01-30 11:14:19 +01:00
Hauke Petersen
a944d29edc
board/stm32f0discovery: switched to OpenOCD
...
switched flashing and debug scripts to use OpenOCD
2015-01-30 11:08:25 +01:00
Oleg Hahm
5792f37e87
Merge pull request #2367 from x3ro/fix-orphaned-debug-outputs
...
Fix misc errors that occur with ENABLE_DEBUG
2015-01-30 11:05:44 +01:00
Lucas Jenss
8e758d7463
sys: Misc errors that occur w/ ENABLE_DEBUG fixed
...
I enabled debug output in all files to poke around
and there were some errors (seemingly) due to code
changes that were not tested with debug enabled. This
commits tries to fix these issues.
2015-01-30 01:36:28 +01:00
Thomas Eichinger
382b115fc3
Merge pull request #2373 from haukepetersen/opt_f4discovery_openocd
...
board/stm32f4discovery: optimized openocd script
2015-01-29 16:46:40 +01:00
Cenk Gündoğan
5c77530da4
sys/bloom: changed doc from bytes -> bits
2015-01-29 15:06:01 +01:00
Thomas Eichinger
dd45333a09
SQUASHME: Fixed issues and omitted parameters
2015-01-29 14:48:20 +01:00
Hauke Petersen
3834d8709c
board/stm32f4discovery: optimized openocd script
...
removed redundant flash erase (speeds up flashing quite a bit)
2015-01-29 13:49:38 +01:00
Thomas Eichinger
7b4472718f
SQUASHME: fix permissions
2015-01-29 13:28:55 +01:00
Oleg Hahm
6715bccf5b
Merge pull request #2190 from cgundogan/rpl_new_parent_dodag_assignment
...
rpl: wrong dodag assignment to parent
2015-01-29 11:24:38 +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
Thomas Eichinger
f6741b719e
SQUASHME: adding ports for openocd
2015-01-28 15:05:48 +01:00
Thomas Eichinger
7dbb1fd6b0
boards/stm32f3discovery: use OpenOCD to flash, debug and reset
2015-01-28 15:05:22 +01:00
Thomas Eichinger
acb3afd652
Merge pull request #2358 from gebart/pr/mno-thumb-interwork
...
Cortex-M: remove -mthumb-interwork
2015-01-28 14:46:59 +01:00
Oleg Hahm
c5df1a3b0e
Merge pull request #2293 from OlegHahm/make_help
...
make: add target to list available targets
2015-01-28 14:07:51 +01:00
Joakim Gebart
d60a6045d8
nucleo-f334: Add -mno-thumb-interwork.
...
Cortex-M processors only support Thumb instructions (no ARM mode code).
Signed-off-by: Joakim Gebart <joakim.gebart@eistec.se>
2015-01-28 13:55:39 +01:00
Joakim Gebart
bc542fa31d
yunjia-nrf51822: Add -mno-thumb-interwork.
...
Cortex-M processors only support Thumb instructions (no ARM mode code).
Signed-off-by: Joakim Gebart <joakim.gebart@eistec.se>
2015-01-28 13:55:04 +01:00
Joakim Gebart
9968280705
udoo: Add -mno-thumb-interwork.
...
Cortex-M processors only support Thumb instructions (no ARM mode code).
Signed-off-by: Joakim Gebart <joakim.gebart@eistec.se>
2015-01-28 13:55:04 +01:00
Joakim Gebart
b6f67a72ec
stm32f4discovery: Add -mno-thumb-interwork.
...
Cortex-M processors only support Thumb instructions (no ARM mode code).
Signed-off-by: Joakim Gebart <joakim.gebart@eistec.se>
2015-01-28 13:54:49 +01:00
Joakim Gebart
913922813e
stm32f3discovery: Add -mno-thumb-interwork.
...
Cortex-M processors only support Thumb instructions (no ARM mode code).
Signed-off-by: Joakim Gebart <joakim.gebart@eistec.se>
2015-01-28 13:52:53 +01:00
Joakim Gebart
2a3f710f1c
stm32f0discovery: Add -mno-thumb-interwork.
...
Cortex-M processors only support Thumb instructions (no ARM mode code).
Signed-off-by: Joakim Gebart <joakim.gebart@eistec.se>
2015-01-28 13:52:53 +01:00