1
0
mirror of https://github.com/RIOT-OS/RIOT.git synced 2024-12-29 04:50:03 +01:00
Commit Graph

3330 Commits

Author SHA1 Message Date
Bas Stottelaar
6be31d1faa cpu: lpc1768: implement gpio driver 2018-04-03 16:47:25 +02:00
Francisco Acosta
69f4d632e3
Merge pull request #8837 from kaspar030/refactor_atmega_stdio
cpu/atmega: refactor stdio init code
2018-04-03 15:56:33 +03:00
391cc83881 cpu/atmega_common: provide common stdio initialization 2018-04-03 14:18:32 +02:00
Gaëtan Harter
fff5810191 Makefile.include: FIX .DEFAULT_GOAL not being all
.DEFAULT_GOAL was reset many times which removed 'all' from being the default
goal.
By chance it was then set to `link` so was working by some magic.
2018-03-28 16:59:00 +02:00
Dylan Laduranty
1e3cf7db08
Merge pull request #8810 from gebart/pr/samd21-tc-intflags
cpu/samd21: Avoid clearing interrupt bits unintentionally
2018-03-27 11:25:59 +02:00
be5ae87262
Merge pull request #8829 from ZetaR60/RIOT_xplained
cpu/atmega1284p: support and boards/mega-xplained: support
2018-03-27 10:03:15 +02:00
Joakim Nohlgård
dfa342b5f8 cpu/samd21: Avoid clearing interrupt bits unintentionally
The INTENSET, INTENCLR, INTFLAG registers are write-1-to-confirm
registers, so writing zeroes will not affect anything, on the other
hand, a compiler generated read-modify-write cycle may unintentionally
affect more bits than the one being set. Avoid by using direct
assignment instead of or-assignment (|=) or bitfield writes (.bit.xxx=).
2018-03-27 07:54:18 +02:00
Matthew Blue
d3dc49e2ab cpu/atmega_common: Support for ATmega1284P 2018-03-25 14:24:40 -04:00
Matthew Blue
a55921394c cpu/atmega1284p: Initial ATmega1284P support 2018-03-25 14:24:37 -04:00
Martine Lenders
690c36b3cf
Merge pull request #8652 from cladmi/pr/remove_nativeincludes
native: remove non required NATIVEINCLUDES
2018-03-22 15:57:38 +00:00
Gaëtan Harter
93a521c501 native: remove non required NATIVEINCLUDES
Some modules used a 'NATIVEINCLUDES' with different include path and no other
included directories.
It was defining basic 'include' in a different order and not using other things
defined in INCLUDES.
After doing some checks with the given include path and possible conflicting
files, there should be no conflict when using the default one.

* No common headers between all the NATIVEINCLUDES directories
* No common headers files between board/native/include, cpu/native/include and
  other files in the repository (except other boards/cpus of course).
2018-03-20 17:51:03 +01:00
Martine Lenders
875a5c165d trace: initial import of a stack backtrace function for native
Sometimes the debugger just isn't fast enough to debug that pesky race
conditions. This module provides at least a little help.
2018-03-20 15:12:48 +00:00
Bas Stottelaar
9117fe577a cpu/efm32: efm32pg1b: add support 2018-03-16 16:26:58 +01:00
Bas Stottelaar
cbca0cc6ae cpu/efm32: efm32pg1b: add vendor headers 2018-03-16 16:26:58 +01:00
Bas Stottelaar
a05d1b1004 cpu/board: native: use common peripheral initialization 2018-03-15 23:26:01 +01:00
Martine Lenders
295c53ebd4
Merge pull request #8611 from beduino-project/sam3-clang-build-failure
cpu/sam3: fix build failure with TOOLCHAIN=llvm
2018-03-15 16:31:24 +01:00
Vincent Dupont
549bf0ef78 cpu/stm32: use const pointer in flashpage 2018-03-14 16:28:33 +01:00
Vincent Dupont
a1f482cbf7 cpu/sam0: use const pointer in flashpage 2018-03-14 16:28:33 +01:00
Vincent Dupont
b40249153d cpu/nrf5x: use const pointer in flashpage 2018-03-14 16:28:33 +01:00
Vincent Dupont
5a2a4cf1e0 cpu/msp430: use const pointer in flashpage 2018-03-14 16:28:32 +01:00
Vincent Dupont
4f44778a42 cpu/efm32: use const pointer in flashpage 2018-03-14 16:28:32 +01:00
Joakim Nohlgård
078104223a
Merge pull request #8732 from girtsf/cortexm-fix-no-mpu
cortexm_common: don't try to set MEMFAULTENA on ARMv6-M
2018-03-13 21:06:21 +01:00
06392bbfd3 cpu/stm32f1: add flashpage_raw support 2018-03-13 16:30:04 +01:00
4f7dc1ae41 cpu/stm32f0: add flashpage_raw support 2018-03-13 16:30:04 +01:00
4e1f2b5d38 cpu/stm32l1: add flashpage support 2018-03-13 16:30:04 +01:00
4972f952d4 cpu/stm32l0: add flashpage support 2018-03-13 16:30:04 +01:00
67190a31ef cpu/stm32_common: unify flashpage support 2018-03-13 16:30:04 +01:00
Girts Folkmanis
b9744f698f cortexm_common: don't try to set MEMFAULTENA on ARMv6-M
Before this change, if one tried to build a Cortex-M0+ target that had
an MPU, compilation would fail due to missing
'SCB_SHCSR_MEMFAULTENA_Msk' in SCB structure. Cortex-M0+ is a ARMv6-M
arch (unlike most other targets that have MPU support). ARMv6-M has more
limited support for fault conditions, see ARMv6-M Architecture Reference
Manual, D3.6.2.
2018-03-12 19:57:29 -07:00
Aurelien Fillau
0368239a63 cpu/stm32l0: power management updated
Now, MCU is able to go in stop mode if necessary when
periph_pm feature is activated.
Regarding LPSDSR bit that deactivates or not regulator in stop
mode, it is up to the user to set/clear this bit. In order
to save power, voltage regulator can be set in low power state
during stop mode but it increases wakeup time.

Signed-off-by: Aurelien Fillau <aurelien.fillau@gmail.com>
2018-03-11 11:01:25 +01:00
d025de32ed
Merge pull request #8351 from kaspar030/introduce_iolists
net: Introduce iolists
2018-03-07 09:56:13 +01:00
fcb451b2c5
Merge pull request #8743 from dylad/saml21_fix_rtc_define
cpu/saml21: fix RTC wrong condition for #if
2018-03-07 07:41:33 +01:00
dylad
20ac4b060d cpu/saml21: fix RTC wrong condition for #if 2018-03-06 21:36:18 +01:00
Francisco Acosta
c922119fe4
Merge pull request #8744 from Josar/atmega_stackPointer
atmega: add last instruction print
2018-03-06 16:16:07 +01:00
7f150d6041
Merge pull request #7787 from OTAkeys/pr/stm32_pm_periph
cpu/stm32: add pm support in uart, spi and i2c (f4)
2018-03-06 16:34:44 +02:00
Hauke Petersen
e78b055787
Merge pull request #8556 from kaspar030/stm32_gpio_read
cpu: stm32_common: always do gpio_read() from input register
2018-03-06 15:30:01 +01:00
Vincent Dupont
857b44a975 cpu/stm32f4: add pm support in i2c driver 2018-03-06 15:13:02 +01:00
Vincent Dupont
34e8609f2c cpu/stm32_common: add pm support in spi driver 2018-03-06 15:13:01 +01:00
Vincent Dupont
1aee2f1f14 cpu/stm32_common: add pm support in uart driver 2018-03-06 15:13:00 +01:00
Vincent Dupont
c01e8629ec cpu/stm32_common: add PM modes 2018-03-06 15:12:58 +01:00
Josarn
d82f1eba4c atmega: add last instruction print
Signed-off-by: Josua Arndt  <josuaarndt@live.de>
2018-03-06 14:57:18 +01:00
58e172e4df cpu/stm32_common: always enable PWR module 2018-03-06 14:55:32 +01:00
Hauke Petersen
c14b8081bc
Merge pull request #8735 from kaspar030/stm32_unify_cpu_init
cpu/stm32: unify cpu_init()
2018-03-06 14:09:13 +01:00
23b414b732 drivers: net: adapt to iolist-using netdev 2018-03-06 14:00:31 +01:00
ff6b8aa4f1 cpu/native/netdev_tap: adapt to netdev with iolist 2018-03-06 14:00:31 +01:00
Francisco
0fd12487e1 cpu/stm32l4: add support for stm32l452re 2018-03-05 14:34:16 -03:00
3b42fb49b5 cpu/stm32: unify cpu_init() 2018-03-05 12:35:00 +01:00
Hauke Petersen
47a500d0b1
Merge pull request #8447 from haukepetersen/opt_test_periphuartpower
tests/periph_uart: included power_on/off() in test
2018-03-05 09:49:20 +01:00
Joakim Nohlgård
68ea6b3316 kinetis: Add support for NXP Kinetis KW41Z SoC 2018-03-02 15:38:39 +01:00
Joakim Nohlgård
2090dd0234 kinetis: Add GPIO ISR for CPUs with combined PORTB+PORTC interrupt 2018-03-02 15:38:39 +01:00
Joakim Nohlgård
8642c8ceb8 kinetis: Support CM0+ devices with 96 bit UID 2018-03-02 15:38:39 +01:00