From 7428b2fb4979f062af71d375b7edbf5f201f4337 Mon Sep 17 00:00:00 2001 From: Penguin Date: Sun, 13 Feb 2022 22:24:18 -0600 Subject: [PATCH] testing core part of e54 drivers --- arch/arm/SAMD21/SAMD21A/modules/samd21a.emm | 18 ++++++++++++++++++ .../modules/usart/usart_sync/usart_sync.c | 0 .../modules/usart/usart_sync/usart_sync.h | 10 ++++++++++ 3 files changed, 28 insertions(+) create mode 100644 arch/arm/SAMD21/SAMD21A/modules/samd21a.emm create mode 100644 arch/arm/SAMD21/SAMD21A/modules/usart/usart_sync/usart_sync.c create mode 100644 arch/arm/SAMD21/SAMD21A/modules/usart/usart_sync/usart_sync.h diff --git a/arch/arm/SAMD21/SAMD21A/modules/samd21a.emm b/arch/arm/SAMD21/SAMD21A/modules/samd21a.emm new file mode 100644 index 00000000..95a60528 --- /dev/null +++ b/arch/arm/SAMD21/SAMD21A/modules/samd21a.emm @@ -0,0 +1,18 @@ +# eSF Module Manifest +# The emm format is to make attaching drivers to projects easier. +# core modules are required modules +# drivers are optional but are used often +# libraries are optional and opinionated +# libs speed up development but are not necessary by any means + +[core] +clocks = "core/clocks/clocks.edm" +power_manager = "core/power_manager/pm.edm" + +[drivers] +usart_sync = "usart/usart_sync/usart_sync.edm" +usart_async = "usart/usart_async/usart_async.edm" +usart_dma = "usart/usart_dma/usart_dma.edm" + +[libraries] + diff --git a/arch/arm/SAMD21/SAMD21A/modules/usart/usart_sync/usart_sync.c b/arch/arm/SAMD21/SAMD21A/modules/usart/usart_sync/usart_sync.c new file mode 100644 index 00000000..e69de29b diff --git a/arch/arm/SAMD21/SAMD21A/modules/usart/usart_sync/usart_sync.h b/arch/arm/SAMD21/SAMD21A/modules/usart/usart_sync/usart_sync.h new file mode 100644 index 00000000..ea54ddd8 --- /dev/null +++ b/arch/arm/SAMD21/SAMD21A/modules/usart/usart_sync/usart_sync.h @@ -0,0 +1,10 @@ +#ifndef _USART_SYNC_H_ +#define _USART_SYNC_H_ + + +typedef struct usart_sync_t +{ + +}usart_sync_t; + +#endif