Benjamin Valentin
6db9421057
cpu/stm32f0: add STM32F030x4
2019-10-21 15:30:22 +02:00
benpicco
80c00339a4
Merge pull request #12477 from francois-berder/mips-refactor
...
cpu: mips*: Reorganize headers
2019-10-21 15:26:45 +02:00
benpicco
0aa63f84c7
Merge pull request #12515 from bergzand/pr/stmclk/fix_sai_shift
...
stmclk: Fix M-factor shift for SAI PLL
2019-10-21 11:37:07 +02:00
5578740fc4
Merge pull request #12397 from fjmolinas/pr_CPU_ARCH_FAM
...
makefiles/vars.inc.mk: move definition and export of CPU_FAM and CPU_ARCH to vars.inc.mk
2019-10-21 08:23:51 +02:00
5eedd9c629
stmclk: Fix M-factor shift for SAI PLL
2019-10-20 18:22:18 +02:00
Francois Berder
12c3a5472a
cpu: mips_pic32mx: Include vendor header in cpu_conf.h
...
Signed-off-by: Francois Berder <18538310+francois-berder@users.noreply.github.com>
2019-10-18 18:57:42 +01:00
Francois Berder
89d43c3423
cpu: mips32r2_common: Remove useless includes
...
Signed-off-by: Francois Berder <18538310+francois-berder@users.noreply.github.com>
2019-10-18 18:57:42 +01:00
Francois Berder
3a62b620bc
cpu: mips_pic32_common: Move cpu header to mips32r2_common
...
Signed-off-by: Francois Berder <18538310+francois-berder@users.noreply.github.com>
2019-10-18 18:57:42 +01:00
benpicco
e9d6a61439
Merge pull request #12489 from aabadie/pr/cpu/atmega_cleanup_dep
...
cpu/atmega: cleanup dependencies handling
2019-10-18 15:04:07 +02:00
14567ea973
Merge pull request #12494 from fjmolinas/pr_remove_OS
...
Makefile/include: use ony one call to `uname`
2019-10-18 15:03:10 +02:00
629003d042
cpu/atmega: cleanup dependencies handling
2019-10-18 12:40:34 +02:00
benpicco
29e5c3af67
Merge pull request #12490 from aabadie/pr/boards/efm32_common_periph_gpio
...
boards/efm32: move provided gpio features at cpu level
2019-10-18 11:19:33 +02:00
benpicco
34ee36d9e4
Merge pull request #12491 from aabadie/pr/boards/atmega_common_periph_gpio
...
boards/atmega: move provided gpio features at cpu level
2019-10-18 11:19:15 +02:00
Francisco Molina
45c8eafd42
Makefile.include: remove repeated OS declaration
2019-10-18 10:36:43 +02:00
174bb3feee
cpu/ezr32wg: provide gpio feature at cpu level
2019-10-18 09:32:48 +02:00
c618d9821f
cpu/efm32: provide gpio feature at cpu level
2019-10-18 09:32:48 +02:00
Francisco Molina
347a0fc804
cpu/ boards/: remove exports for CPU_FAM
2019-10-18 08:55:33 +02:00
Francisco Molina
b4f9b74e1a
cpu/cc2*: remove immediate expansion of CPU_ARCH
2019-10-18 08:55:33 +02:00
Francisco Molina
5e9b92a326
cpu: remove CPU_ARCH exports
2019-10-18 08:55:33 +02:00
Francisco Molina
f3482de277
REMOVEME: add OS and OS_ARCH variable
2019-10-18 08:46:51 +02:00
cba293a9a9
cpu/cc2538: provide gpio feature at cpu level
2019-10-17 22:05:23 +02:00
9c442a3547
cpu/atmega_common: provide gpio feature at cpu level
2019-10-17 21:42:07 +02:00
Benjamin Valentin
6cf6dcb946
cpu/atmega256rfr2: small cleanup
...
GPIO_UNDEF is already defined in periph_cpu_common.h, so the
redefinition is never used.
2019-10-17 19:20:31 +02:00
Benjamin Valentin
b1ef68abf7
cpu/atmega_common: move periph/cpuid.c to common code
...
Both atmega128rfa1 and atmega256rfr2 implement it.
2019-10-17 19:20:31 +02:00
Benjamin Valentin
7d78e32b15
cpu/atmega128rfa1: ATmega128rfa1 MCU support
2019-10-17 19:20:31 +02:00
benpicco
bd0ba7f187
Merge pull request #12476 from basilfx/feature/efm32_uart_modes_cleanup
...
cpu/efm32: remove EFM32_UART_MODES
2019-10-17 18:22:37 +02:00
Sebastian Meiling
742a23c75b
Merge pull request #12007 from MrKevinWeiss/devfixi2cflag
...
cpu/stm32: Fix read bytes flag for i2c_2
2019-10-17 09:14:26 +02:00
Francois Berder
57377ded76
cpu: mips_pic32mz: Include vendor header in cpu_conf.h
...
Signed-off-by: Francois Berder <18538310+francois-berder@users.noreply.github.com>
2019-10-16 21:17:14 +01:00
Bas Stottelaar
2a5010f779
cpu/efm32: remove EFM32_UART_MODES
2019-10-16 22:05:08 +02:00
Frank Hessel
51194b9c0d
cpu/native: Implement hardware SPI access (Linux)
2019-10-16 14:32:53 +02:00
Sebastian Meiling
ea0b5ff0dd
cpu: add missing arch features to fe310
...
Adds arch_32bit and arch_riscv to cpu/fe310 to allow for feature
requirements and blacklisting.
2019-10-14 17:40:23 +02:00
ebf43616b7
cpu: add arch_* features
2019-10-13 21:03:41 +02:00
Marian Buschsieweke
d749e2de5d
Merge pull request #12312 from kaspar030/cortexm_dont_disable_irq_in_cpu_jump_to_image
...
cpu/cortexm: don't disable IRQs in cpu_jump_to_image()
2019-10-08 11:20:06 +02:00
Dylan Laduranty
40b65c16e2
Merge pull request #12291 from keestux/sam0-refactor-adc0
...
boards/sam0: refactor ADC_0 into plain ADC
2019-10-07 09:20:38 +02:00
825303cc04
Merge pull request #12372 from aabadie/pr/cpu/nrf52_multiple_i2c
...
cpu/nrf52: allow accessing multiple i2c peripherals
2019-10-04 15:58:30 +02:00
Kevin "Tristate Tom" Weiss
4b7c5915ec
Merge pull request #10953 from gschorcht/sys/shell/heap_cmd/pr
...
sys/shell: add heap command
2019-10-04 13:49:57 +02:00
c1b95733b6
cpu/nrf52: allow accessing multiple i2c peripherals
2019-10-04 08:42:35 +02:00
Kees Bakker
04c84ed158
cpu/sam0: refactor ADC_0 into plain ADC
...
This change is for all boards with a sam0 cpu. This cpu just has one ADC.
It is unnecessary to have defines with ADC_0_ prefix as if multiple ADCs
are possible.
Some defines were not used, such as ADC_0_EN, ADC_0_CHANNELS,
ADC_MAX_CHANNELS, ADC_0_CLK_SOURCE, ADC_0_CHANNELS
Change all ADC_0_ prefixes to ADC_
2019-10-03 20:45:44 +02:00
Gunar Schorcht
5521a6c39d
cpu/esp: fix conflicts after rebase
2019-10-02 14:21:35 +02:00
Gunar Schorcht
3c47cc571f
cpu/esp32: fix conflicts after rebase
2019-10-02 14:21:35 +02:00
f85edaf82a
Merge pull request #10941 from keestux/update-samr30-vendor
...
cpu/samr30: update vendor files using ASF 3.35.1
2019-10-02 13:35:06 +02:00
Kevin "Tristate Tom" Weiss
5bbfe92c11
Merge pull request #12336 from benpicco/cc2538-spi_fix
...
cpu/cc2538: fix spi_transfer_bytes()
2019-10-02 10:52:16 +02:00
Dylan Laduranty
aed628f08b
Merge pull request #11486 from benpicco/saml21-lpram
...
cpu/saml21: Make Low-Power SRAM available to programs
2019-10-01 21:02:42 +02:00
benpicco
c4fa0842a2
Merge pull request #11940 from basilfx/feature/efm32_riotboot
...
efm32: add support for riotboot
2019-10-01 20:20:17 +02:00
Gunar Schorcht
02d81b717e
Merge pull request #12063 from maribu/i2c_release
...
drivers/periph/i2c: Updated i2c_release() to return void
2019-10-01 19:50:38 +02:00
Benjamin Valentin
84a8a26dde
cpu/cortexm: pointer to .text should be const
...
A pointer to read-only ROM data should be const.
2019-10-01 18:42:56 +02:00
Benjamin Valentin
618449c7bd
cpu/samd5x: hook up backup RAM
2019-10-01 18:39:40 +02:00
Benjamin Valentin
01b3484ffb
cpu/saml21: add definitions for low power SRAM
...
SAML21 provides 2/4/8 kiB of Low Power SRAM that is retained
in backup mode.
This adds definitions to make that memory availiable to RIOT.
2019-10-01 18:39:40 +02:00
Benjamin Valentin
2c09d9bd5b
cpu/cortexm_common: Make Low-Power SRAM available to programs
...
Many MCUs contain some Backup or Low Power SRAM that is retained'even
in the deepest sleep modes.
In such sleep modes the MCU is essentually turned off with only the RTC
still running.
It can be woken by a GPIO or a RTC alarm. When this happens, a reset is
triggered and the normal startup routine is invoked.
This adds bss & data section for this memory in the linker script.
This allows for structures to be placed in it e.g.:
e.g.:
static uint8_t persistent_buffer[64] __attribute__((section(".backup.bss")));
static uint32_t persistent_counter __attribute__((section(".backup.data"))) = 1234;
2019-10-01 18:39:40 +02:00
Benjamin Valentin
c9b827e5d5
sam0_common: export flag that tells if the CPU woke from deep sleep
...
It is often useful to know whether the CPU was just powered on afresh
or if it was woken from a deep sleep state, e.g. by RTC or GPIO event.
2019-10-01 18:39:40 +02:00