Kees Bakker
ac3683b09f
cpu/samd21:i2c: the wait for SYNCBUSY must come after enable or disable
...
The power on/off code is refactored somewhat.
2016-07-28 22:01:12 +02:00
Kees Bakker
64cc7c63c8
cpu/samd21/periph/i2c: power off did enable instead of disable
2016-07-28 21:33:28 +02:00
Ludwig Knüpfer
05d4b2f8fa
cpu/native: fix thread_stack_init
...
The pointer arithmetic for the calculation of the context storage was off
due to the change of the stack's pointer type from unsigned int to char.
Fix offset calculation by not adjusting for unsigned int width anymore.
2016-07-26 20:07:08 +02:00
Ludwig Knüpfer
d639f0b9a3
cpu/native: rewrite cpu_print_last_instruction
...
circumvent assembly by using a GCC/LLVM builtin
2016-07-26 12:44:43 +02:00
Jason Tran
4136b95930
cpu/cc2538: fix debug statements
2016-07-25 18:35:05 -07:00
Aaron Sowry
66b36397b6
cpu/cc2538: Enable CRC checking of received packets ( #5654 )
2016-07-25 12:34:44 -04:00
kYc0o
51a4fee948
Merge pull request #5574 from PeterKietzmann/msp430_gpio_fix
...
cpu/msp430: initialize gpio as input OR output
2016-07-22 15:55:43 +02:00
Joakim Nohlgård
5cd91bc784
cortexm: Hard fault: Try to output as much as possible even with corrupt stack
2016-07-20 13:25:23 +02:00
kYc0o
91410f5259
Merge pull request #5626 from aabadie/default_channel
...
makefiles: expose a single DEFAULT_CHANNEL variable
2016-07-18 14:26:24 +02:00
Martine Lenders
4ac7d81420
Merge pull request #5634 from kaspar030/nordic_softdevice
...
nrf52dk: add BLE/6lo support utilizing Nordic's SoftDevice
2016-07-16 16:57:29 +02:00
Aaron Sowry
a301c37c2e
cpu/cc2538: Remove union names from structs
...
Make the unions anonymous, since this makes referencing
their bytes much simpler.
2016-07-16 12:55:12 +12:00
271cbc26b8
drivers/cc2420 & cpu/cc2538: adding support for default channel configuration
2016-07-14 17:50:50 +02:00
Oleg Hahm
08bcfae86a
Merge pull request #5602 from gebart/pr/gcc6-fixes
...
cpu: Fix array-bounds errors with GCC 6
2016-07-14 10:58:28 +02:00
kYc0o
03d380845e
Merge pull request #5593 from jthacker/atmega_regs_common
...
cpu/atmega_common: generalize register/peripheral definitions
2016-07-13 20:17:36 +02:00
Joakim Nohlgård
0a847d53a7
cpu: Fix array-bounds errors with GCC 6
2016-07-13 19:23:42 +02:00
e012df1bac
nrf52dk: add BLE/6lo support utilizing Nordic's SoftDevice
2016-07-13 17:06:57 +02:00
d68f425d32
Revert "nrf52dk: add 6lowpan over BLE support using Nordic's softdevice"
2016-07-13 16:58:11 +02:00
0182bbd6fd
nrf52dk: add BLE/6lowpan support utilizing Nordic's SoftDevice
2016-07-13 16:17:46 +02:00
f45c7d4b9e
cpu: cortexm_common: allow overriding of linker script
2016-07-13 16:16:46 +02:00
Aaron Sowry
a2ba22dd0f
cpu/cc2538: Add RF driver
2016-07-13 14:19:45 +12:00
Peter Kietzmann
048daf1b3b
Merge pull request #5559 from gebart/pr/ps-stack-pointer
...
sys/ps: Add current stack pointer to DEVELHELP output
2016-07-12 11:23:15 +02:00
Joakim Nohlgård
96473701de
Merge pull request #5580 from zhuoshuguo/revise_cpu_stellaris_include_header_guards
...
cpu/stellaris: revise header include guards.
2016-07-12 10:32:01 +02:00
Joakim Nohlgård
b02e0eca47
ps: Add current stack pointer and start of stack to isr_stack ps output (DEVELHELP)
2016-07-12 10:17:49 +02:00
Jon Thacker
2aec999900
cpu/atmega_common: generalize register/peripheral definitions
...
Makes AVR register definitions dependent on what avr-libc defines
for a given MCU, rather then duplicating that effort here.
Definitions done in this way are based on functionality provided,
rather than a specific MCU device.
2016-07-08 10:52:22 -05:00
Joakim Nohlgård
5633af4300
cpu/kinetis_common: Update periph_timer to support both LPTMR and PIT
2016-07-07 13:38:27 +02:00
Joakim Nohlgård
60643afe48
Merge pull request #5601 from gebart/pr/saml21-little-endian
...
cpu/saml21: Conditionally define LITTLE_ENDIAN
2016-07-05 23:24:53 +02:00
zhuoshuguo
50361ea6a6
cpu/stellaris: revise header include guards
2016-07-05 16:38:18 +02:00
René Kijewski
f31a70de60
Merge pull request #5578 from zhuoshuguo/fix_stm32f_include_headers
...
cpu/stm32: fix header include guards
2016-07-05 15:20:21 +02:00
kYc0o
d400570732
Merge pull request #5301 from kYc0o/waspmote-pro
...
boards/waspmote-pro: porting for new libelium's Waspmote PRO v1.2 platform
2016-07-05 13:57:47 +02:00
Joakim Nohlgård
7275f9845f
cpu: Conditionally define LITTLE_ENDIAN
...
Caused problems with redefined macros when building with a recent newlib
2016-07-05 13:22:50 +02:00
kYc0o
62a9773a9c
boards/waspmote-pro: add support for Waspmote PRO v1.2
2016-07-05 13:05:12 +02:00
Oleg Hahm
d2e8efc6cc
samd21: do not redefine LITTLE_ENDIAN
2016-07-05 12:10:30 +02:00
Joakim Nohlgård
73a3fb7b2a
Merge pull request #5571 from zhuoshuguo/fix_include_guards
...
cpu/stellaris: fix header include guards.
2016-07-04 19:46:04 +02:00
Ian Martin
49ae438dd5
doc: eliminate clutter in adc and gpio periph docs
2016-06-29 15:08:32 -04:00
René Kijewski
7b11a95ca3
Merge pull request #5579 from zhuoshuguo/fix_cpu_x86_include_header_guard
...
cpu/x86: fix header include guard.
2016-06-29 17:11:03 +02:00
zhuoshuguo
9f0d2ccc2b
fix cpu/x86 include header guard.
2016-06-29 15:01:25 +02:00
Peter Kietzmann
e6dd02f1ad
Merge pull request #5567 from keestux/samd21-small-fix-1
...
cpu/samd21: remove include instance_sercom3.h
2016-06-29 13:45:20 +02:00
zhuoshuguo
10f8ce1118
cpu/stm32: fix include header guards.
2016-06-28 20:30:29 +02:00
PeterKietzmann
411626fec4
cpu/msp430: initialize gpio as input OR output
2016-06-28 10:23:57 +02:00
zhuoshuguo
c9bedd2d51
cpu/stellaris: fix include guards.
2016-06-27 18:24:49 +02:00
Joseph Noir
ed2c94764b
Merge pull request #4643 from gebart/pr/clang-warning-fixes
...
Clang: Add support for C++
2016-06-23 13:06:55 +02:00
Joakim Nohlgård
edaa5bb7a8
Merge pull request #5558 from gebart/pr/cortexm-isr-stack-usage
...
cortexm_common: Fix isr_stack usage count
2016-06-23 08:48:44 +02:00
Kees Bakker
417023c256
cpu/samd21: remove include instance_sercom3.h
...
That include will be already picked up by cpu.h -> cpu_conf.h -> samd21.h
2016-06-22 22:14:36 +02:00
42d34e69c3
Merge pull request #5529 from kYc0o/atmega_common_unify
...
cpu/atmega*: unify common code for atmega CPUs
2016-06-22 15:43:57 +02:00
kYc0o
be70924800
cpu/atmega2560: update atmega2560 CPU code to use atmega_common code
2016-06-22 14:25:10 +02:00
kYc0o
17c78e70e2
cpu/atmega_common: add common atmega CPU code to atmega_common
2016-06-22 14:25:10 +02:00
Joakim Nohlgård
9a0f3a9e40
Merge pull request #5540 from zhuoshuguo/fix_cpu_header_include_guards
...
CPU:Fix header include guards
2016-06-22 11:58:02 +02:00
Joakim Nohlgård
cb19a4c709
cortexm_common: Fix isr_stack_usage
...
Refactor and add multiply by word size to get the usage in number of
bytes instead of in number of words.
Verified implementation by manual memory inspection in GDB.
2016-06-20 14:33:17 +02:00
Joakim Nohlgård
4c91121372
Merge pull request #5455 from locicontrols/move-stack
...
cortexm_common: move the stack to the bottom of RAM
2016-06-20 14:28:10 +02:00
zhuoshuguo
efbbca1322
cpu: Fix header include guards
2016-06-20 10:18:59 +02:00