1
0
mirror of https://github.com/RIOT-OS/RIOT.git synced 2025-01-18 12:52:44 +01:00
RIOT/cpu
Benjamin Valentin 77961106f9 cpu/sam0_common: derive ROM_LEN, RAM_LEN from part number & vendor file
The ROM size is encoded in the part number of the Atmel SAM chips.
RAM size is not encoded directly, so get it by parsing the chip's vendor file.

The file remains in the page cache for the compiler to use, so the overhead
should be minimal:

on master:

  Benchmark #1: make BOARD=samr21-xpro -j
    Time (mean ± σ):     527.9 ms ±   4.9 ms    [User: 503.1 ms, System: 69.6 ms]
    Range (min … max):   519.7 ms … 537.2 ms    10 runs

with this patch:

  Benchmark #1: make BOARD=samr21-xpro -j
    Time (mean ± σ):     535.6 ms ±   4.0 ms    [User: 507.6 ms, System: 75.1 ms]
    Range (min … max):   530.6 ms … 542.0 ms    10 runs
2020-03-25 15:07:50 +01:00
..
arm7_common Merge pull request #13317 from benpicco/arm7-event_thread 2020-02-26 08:39:00 +01:00
atmega32u4 cpu/atmega32u4: remove obsolete -DCOREIF_NG=1 2020-02-05 15:08:13 +01:00
atmega128rfa1 doc: fix doxygen groups for atmega cpus 2020-01-28 15:44:29 +01:00
atmega256rfr2 doc: fix doxygen groups for atmega cpus 2020-01-28 15:44:29 +01:00
atmega328p cpu/atmega328p: fix typos 2019-11-23 22:39:35 +01:00
atmega1281 cpu/atmega1281: fix typos 2019-11-23 22:39:35 +01:00
atmega1284p cpu/atmega1284p: fix typos 2019-11-23 22:39:35 +01:00
atmega2560 cpu/atmega2560: fix typos 2019-11-23 22:39:35 +01:00
atmega_common cpu/atmega_common: Implement RTC based on TIM2 2020-03-03 16:26:26 +01:00
cc26x0 cpu/*: add cortex_mpu to known-to-support CPU families 2020-03-03 22:59:41 +01:00
cc26x2_cc13x2 cpu/*: add cortex_mpu to known-to-support CPU families 2020-03-03 22:59:41 +01:00
cc26xx_cc13xx cpu/cc13x2: fix leftover from cc26x2_cc13x2 rename 2020-02-04 14:37:43 +01:00
cc430 cpu/cc430: rtc: remove dead code 2020-02-04 13:20:56 +01:00
cc2538 Merge pull request #13575 from fjmolinas/pr_cc2538_rf_deps 2020-03-06 18:00:51 +01:00
cortexm_common cpu/*: add cortex_mpu to known-to-support CPU families 2020-03-03 22:59:41 +01:00
efm32 Merge pull request #13391 from kaspar030/mpu_feature 2020-03-04 07:09:40 +01:00
esp32 drivers/netdev: use netdev_trigger_event_isr function 2020-03-06 14:03:43 +01:00
esp8266 cpu/esp8266: Fixed small typo in code example 2020-03-04 09:54:36 +01:00
esp_common drivers/netdev: use netdev_trigger_event_isr function 2020-03-06 14:03:43 +01:00
ezr32wg cpu/*: add cortex_mpu to known-to-support CPU families 2020-03-03 22:59:41 +01:00
fe310 fe310: fix power management configuration 2020-01-30 10:43:01 +01:00
kinetis cpu/kinetis: add mkw41z256vht4 to no-hwrng list 2020-03-01 16:56:34 +01:00
lm4f120 cpu/*: add cortex_mpu to known-to-support CPU families 2020-03-03 22:59:41 +01:00
lpc1768 cpu/*: add cortex_mpu to known-to-support CPU families 2020-03-03 22:59:41 +01:00
lpc2387 doxygen/I2C: don't include overridden typedefs 2020-03-05 15:31:06 +01:00
mips32r2_common cpu/mips*: move dependencies to Makefile.dep 2020-01-28 13:20:51 +01:00
mips_pic32_common Merge pull request #12475 from francois-berder/wifire-gpio-refactor 2020-01-31 09:46:57 +01:00
mips_pic32mx cpu/mips*: move dependencies to Makefile.dep 2020-01-28 13:20:51 +01:00
mips_pic32mz cpu/mips*: move dependencies to Makefile.dep 2020-01-28 13:20:51 +01:00
msp430_common cpu: remove exports of UNDEF vars 2020-02-25 09:40:34 +01:00
msp430fxyz cpu/msp430: move dependencies to Makefile.dep 2020-01-28 13:20:51 +01:00
native drivers/netdev: use netdev_trigger_event_isr function 2020-03-06 14:03:43 +01:00
nrf5x_common drivers/netdev: use netdev_trigger_event_isr function 2020-03-06 14:03:43 +01:00
nrf51 cpu/nrf5x: provide specific gpio_t definition 2020-02-19 19:16:58 +01:00
nrf52 drivers/netdev: use netdev_trigger_event_isr function 2020-03-06 14:03:43 +01:00
sam0_common cpu/sam0_common: derive ROM_LEN, RAM_LEN from part number & vendor file 2020-03-25 15:07:50 +01:00
sam3 cpu/*: add cortex_mpu to known-to-support CPU families 2020-03-03 22:59:41 +01:00
sam_common cpu/sam_common: remove use of export for LINKFLAGS 2020-01-02 09:50:14 +01:00
samd5x Merge pull request #13391 from kaspar030/mpu_feature 2020-03-04 07:09:40 +01:00
samd21 cpu/samd21: default 1kHz clock to same source as 32kHz clock 2020-02-27 16:01:44 +01:00
saml1x Merge pull request #13391 from kaspar030/mpu_feature 2020-03-04 07:09:40 +01:00
saml21 Merge pull request #13310 from benpicco/sam0-exti-common 2020-02-26 08:40:49 +01:00
stellaris_common cpu: do not locally export compilation variables 2019-08-29 10:35:53 +02:00
stm32_common Merge pull request #8410 from OTAkeys/pr/fix_stm32f1_boards 2020-03-10 09:35:48 +01:00
stm32f0 cpu/cortexm: move CPU_ARCH/FAM to Makefile.features 2020-02-17 16:02:48 +01:00
stm32f1 cpu/{stm32r1,stm32_common}: Allow exposing JTAG pins as GPIOs 2020-03-08 13:05:35 +01:00
stm32f2 cpu/*: add cortex_mpu to known-to-support CPU families 2020-03-03 22:59:41 +01:00
stm32f3 cpu/*: add cortex_mpu to known-to-support CPU families 2020-03-03 22:59:41 +01:00
stm32f4 cpu/*: add cortex_mpu to known-to-support CPU families 2020-03-03 22:59:41 +01:00
stm32f7 cpu/*: add cortex_mpu to known-to-support CPU families 2020-03-03 22:59:41 +01:00
stm32l0 cpu/*: add cortex_mpu to known-to-support CPU families 2020-03-03 22:59:41 +01:00
stm32l1 cpu/*: add cortex_mpu to known-to-support CPU families 2020-03-03 22:59:41 +01:00
stm32l4 cpu/*: add cortex_mpu to known-to-support CPU families 2020-03-03 22:59:41 +01:00
doc.txt cpu: doc typos 2017-01-20 13:36:26 +01:00