Joakim Nohlgård
2f55fdcec4
cortexm_common: Correct offset for hardfault stack
...
The required space for the hardfault handler is defined by
HARDFAULT_HANDLER_REQUIRED_STACK_SPACE, which is given in bytes,
this length is added to &_sram to find a lower limit on the amount of
stack space that the hard fault handler can work with. The _sram
variable, was mistakenly defined as a uint32_t, which makes &_sram into
a uint32_t*, which through pointer addition, made the required space 4
times as big as it was supposed to. By changing the type of _sram to
uint8_t, the required stack space is correctly computed.
The symptom was that the hardfault handler always reported that the
stack pointer had been corrupted and it was impossible to get any useful
information from the crash text.
2017-10-30 07:08:33 +01:00
Sebastian Meiling
2e0917cd81
Merge pull request #7727 from beduino-project/bluepill-rebased
...
boards: add support for bluepill board
2017-10-27 20:33:07 +02:00
Sören Tempel
9b3714b0c4
add support for bluepill board
2017-10-27 16:06:50 +02:00
Hauke Petersen
46cc29722f
Merge pull request #7774 from smlng/cpu/cc26x0/fix_pm
...
cpu, cc26x0: fix pm, don't go into cortexm_sleep(0)
2017-10-24 11:29:40 +02:00
14646fb332
Merge pull request #7776 from kaspar030/fix_cortexm_vectors_lto
...
cpu: cortexm: fix LTO issue for shared vector table
2017-10-21 00:02:48 +02:00
96b1b76ac9
cpu: cortexm: fix LTO issue for shared vector table (see #5774 )
2017-10-20 22:19:44 +02:00
167bd30453
all: fix my email address
2017-10-20 15:02:41 +02:00
smlng
fd89c3cd9c
cpu, cc26x0: fix pm, don't go into cortexm_sleep(0)
2017-10-20 10:51:33 +02:00
Martine Lenders
213f0447a6
Merge pull request #7752 from smlng/cpu/cc2538/fix_pm
...
cpu, cc2538: fix pm, don't go into cortexm_sleep(0)
2017-10-18 16:07:46 +02:00
smlng
fc5c432510
cpu, cc2538: fix pm, don't go into cortexm_sleep(0)
...
fixes #7746
2017-10-18 16:01:38 +02:00
416ac62fbf
pm: unify and set safe default pm_blocker
2017-10-16 14:32:27 +02:00
Hauke Petersen
942bfec5fb
cpu/mips_pic32: fix doxygen for GPIO_PIN macro
2017-10-16 14:27:35 +02:00
Hauke Petersen
5920d99752
pm: fix weak-based default implementations
...
Instead of using `weak` function definitions, this PR handles
default implementations using `PROVIDES_x` defines, allowing
for cpus/pm realted modules to use their own implementations.
2017-10-16 14:27:35 +02:00
508547d1bd
Merge pull request #7385 from OTAkeys/pr/stm32_pm
...
cpu/stm32_common: fix stm32f1/2/4 pm
2017-10-16 13:52:12 +02:00
Sebastian Meiling
ca154a70d9
Merge pull request #7680 from haukepetersen/opt_stm32f1_isrvectors
...
cpu/stm32f1: optimized isr vector definitions
2017-10-13 20:36:25 +02:00
Sebastian Meiling
7e388b282d
Merge pull request #7725 from aabadie/board/lorawan-explorer
...
boards/sodaq-explorer: add initial support
2017-10-13 20:32:28 +02:00
Hauke Petersen
05e13cdef8
Merge pull request #7731 from haukepetersen/opt_stm32_cpuid
...
cpu/stm32: optimized definition of CPUID_ADDR
2017-10-13 16:12:41 +02:00
Hauke Petersen
5a35517787
cpu/stm32: optimized definition of CPUID_ADDR
2017-10-13 16:03:32 +02:00
Alexandre Abadie
eef753a933
cpu/sam0: adapt support for samd21j18a with bootloader
2017-10-13 14:22:51 +02:00
Martine Lenders
12bf670ac4
Merge pull request #7665 from aabadie/pr/stm32/periph_dox_fix
...
cpu/stm32_common/periph: fix doxygen parent group
2017-10-13 13:10:49 +02:00
Martine Lenders
6e8fc5cbe1
Merge pull request #7644 from smlng/cpu/sam0/flashpage
...
cpu, sam0_common: fix flashpage use bitfield
2017-10-13 12:05:44 +02:00
Hauke Petersen
43dc87f9c2
Merge pull request #7684 from haukepetersen/opt_stm32l0_isrvectores
...
cpu/stm32l0: optimized isr vector definitions
2017-10-13 11:30:53 +02:00
Hauke Petersen
fdc79aebc9
Merge pull request #7724 from aabadie/pr/cpu_samd21_pwm
...
cpu/samd21: skip pwm if not defined in board config
2017-10-13 10:52:32 +02:00
Sebastian Meiling
ff8c5a1254
Merge pull request #7622 from smlng/cpu/sam3/adapt2common
...
CPU: adapt SAM3 to sam_common
2017-10-12 22:41:01 +02:00
Alexandre Abadie
6be74db22b
cpu/samd21: skip pwm if not defined in board config
2017-10-12 12:07:41 +02:00
Tristan Bruns
1b21eac448
cpu/stm32_common: fix clk_conf
2017-10-11 12:39:02 +02:00
Martine Lenders
2c7c3d8ae5
nrfmin: adapt for changes to gnrc_netif2_create()
2017-10-10 21:21:14 +02:00
Lucas Jenß
f6cd5572d5
Merge pull request #6024 from x3ro/cppcheck-suppress-explained
...
cppcheck: Provide consistent reason formatting for all cppcheck-suppresses
2017-10-10 20:20:46 +02:00
Joakim Nohlgård
7c1c6ac282
Merge pull request #7646 from aabadie/samd21_bootloader
...
cpu/sam0-common: rename mkr ldscript to more a generic name
2017-10-10 19:39:48 +02:00
Lucas Jenss
6998ffbb14
cppcheck: Provide consistent reason formatting for all cppcheck-suppresses
2017-10-10 10:25:20 -07:00
smlng
732e60bb88
cpu, sam0_common: fix uart TXC check
2017-10-10 18:24:03 +02:00
Vincent Dupont
be588c2f0e
cpu/stm32_common: use pseudomodule for UART HW FC
2017-10-10 14:09:05 +02:00
Martine Lenders
4597193da4
nrfmin: port for gnrc_netif2
2017-10-10 11:48:53 +02:00
Francisco Acosta
52efba5b31
Merge pull request #7476 from gebart/pr/kinetis-rtt-alarm
...
kinetis: Adjust RTT alarm trigger time
2017-10-09 14:34:09 +02:00
Francisco Acosta
6da78131e7
Merge pull request #7675 from kaspar030/fix_sam0_uart
...
cpu/sam0/periph/uart: ensure uart_init() idempotency
2017-10-09 13:59:20 +02:00
ef1a8c66ac
cpu/sam0/periph/uart: ensure uart_init() idempotency
2017-10-09 13:45:46 +02:00
Vincent Dupont
f13207b79b
Merge pull request #7679 from haukepetersen/opt_stm32f0_isrvectors
...
cpu/stm32f0: optimized isr vector definitions
2017-10-09 12:24:36 +02:00
Vincent Dupont
b7b451daf8
Merge pull request #7683 from haukepetersen/opt_stm32f7_isrvectors
...
cpu/stm32f7: optimized isr vector definitions
2017-10-09 12:18:22 +02:00
Vincent Dupont
802ed40b30
Merge pull request #7678 from haukepetersen/opt_stm32f4_isrvectors
...
cpu/stm32f4: optimized isr vector definitions
2017-10-09 12:16:23 +02:00
smlng
140076b802
cpu, sam3: adapt to sam_common
2017-10-09 12:06:35 +02:00
Hauke Petersen
a0dae5f595
Merge pull request #7621 from smlng/cpu/sam_common
...
CPU: add sam_common with CMSIS headers
2017-10-09 10:50:22 +02:00
Hauke Petersen
b75672628a
Merge pull request #7632 from smlng/cpu/sam0_common/vendor_header
...
cpu, sam0_common: update vendor headers
2017-10-09 10:45:36 +02:00
Alexandre Abadie
487065da11
cpu/sam0_common/ldscripts: rename samd21g18a_mkr to samd21g18a_bootloader
2017-10-07 23:07:16 +02:00
Vincent Dupont
dd49f22532
cpu/cortexm_common: use irq_disable/irq_restore
2017-10-06 17:40:47 +02:00
Vincent Dupont
2170f47a66
cpu/stm32_common: re-enable PLL when leaving stop
2017-10-06 17:40:47 +02:00
Hauke Petersen
5d3084bbc0
cpu/stm32f0: optimized isr vector definitions
2017-10-06 16:41:05 +02:00
Hauke Petersen
e589b403b2
cpu/stm32f1: optimized isr vector definitions
2017-10-06 16:40:11 +02:00
Hauke Petersen
9d5bb0979a
cpu/stm32f2: optimized isr vector definitions
2017-10-06 16:39:12 +02:00
Hauke Petersen
73de5236a4
cpu/stm32f4: optimized isr vector definitions
2017-10-06 16:37:51 +02:00
Hauke Petersen
0360e8b96e
cpu/stm32f7: optimized isr vector definitions
2017-10-06 16:36:20 +02:00