From e105953cd181944e63782d557a7d20d73dff943e Mon Sep 17 00:00:00 2001 From: Tomasz Wasilczyk Date: Fri, 20 Aug 2021 12:41:45 -0700 Subject: [PATCH] Re-enable ATmega128RFA1 --- README.md | 10 +++++----- ext/modm-devices | 2 +- src/modm/platform/clock/avr/module.lb | 3 ++- test/all/ignored.txt | 1 - 4 files changed, 8 insertions(+), 8 deletions(-) diff --git a/README.md b/README.md index 8875fc6498..60cf4fd45e 100644 --- a/README.md +++ b/README.md @@ -74,11 +74,11 @@ git clone --recurse-submodules --jobs 8 https://github.com/modm-io/modm.git ## Microcontrollers -modm can create a HAL for 3138 devices of these vendors: +modm can create a HAL for 3172 devices of these vendors: -- STMicroelectronics STM32: 2593 devices. +- STMicroelectronics STM32: 2621 devices. - Microchip SAM: 163 devices. -- Microchip AVR: 382 devices. +- Microchip AVR: 388 devices. Here is a table with all device families and the peripheral drivers they support: @@ -312,7 +312,7 @@ Please [discover modm's peripheral drivers for your specific device][discover]. ○ ○ ✗ -✗ +○ ✗ Random Generator @@ -366,7 +366,7 @@ Please [discover modm's peripheral drivers for your specific device][discover]. ✅ ✅ ✗ -✗ +○ ✗ Timer diff --git a/ext/modm-devices b/ext/modm-devices index fb53424861..9dd0f94026 160000 --- a/ext/modm-devices +++ b/ext/modm-devices @@ -1 +1 @@ -Subproject commit fb53424861a6857109172d2f6d4153f2582aa11e +Subproject commit 9dd0f94026f065090071eb4a540916ce6ad61092 diff --git a/src/modm/platform/clock/avr/module.lb b/src/modm/platform/clock/avr/module.lb index 07168216d8..05d559dc2f 100644 --- a/src/modm/platform/clock/avr/module.lb +++ b/src/modm/platform/clock/avr/module.lb @@ -35,7 +35,8 @@ def prepare(module, options): target = options[":target"].identifier if target.family in {"tiny"} and target.name in {"861", "88"}: return False - if target.family in {"mega"} and target.name in {"8", "16", "32", "64", "128"}: + if (target.family in {"mega"} and target.name in {"8", "16", "32", "64", "128"} + and target.type not in {"rfa1"}): return False module.depends(":architecture:atomic", ":architecture:clock") diff --git a/test/all/ignored.txt b/test/all/ignored.txt index df285af6a1..d6ed40b370 100644 --- a/test/all/ignored.txt +++ b/test/all/ignored.txt @@ -20,7 +20,6 @@ at90usb646 at90usb647 at90usb82 atmega1284rfr2 -atmega128rfa1 atmega128rfr2 atmega162 atmega165a