aboutsummaryrefslogtreecommitdiff
path: root/hwdef-Sofirn_SP10-Pro.h
diff options
context:
space:
mode:
authorSelene ToyKeeper2023-04-17 00:08:32 -0600
committerSelene ToyKeeper2023-04-17 00:08:32 -0600
commit583854e37efde7f461e073e735a1736b02d28c70 (patch)
tree48ed76e428e3ddb126f88f8b0028f39391d84d9f /hwdef-Sofirn_SP10-Pro.h
parentreduced ROM by ~600 bytes by moving all eeprom config values to a "cfg" struct (diff)
downloadanduril-583854e37efde7f461e073e735a1736b02d28c70.tar.gz
anduril-583854e37efde7f461e073e735a1736b02d28c70.tar.bz2
anduril-583854e37efde7f461e073e735a1736b02d28c70.zip
switched the rest of FSM + Anduril to use SPDX license headers
instead of full GPL headers (or all too often, nothing at all) There are a few "FIXME" entries where I'm not sure about the correct copyright.
Diffstat (limited to 'hwdef-Sofirn_SP10-Pro.h')
-rw-r--r--hwdef-Sofirn_SP10-Pro.h26
1 files changed, 12 insertions, 14 deletions
diff --git a/hwdef-Sofirn_SP10-Pro.h b/hwdef-Sofirn_SP10-Pro.h
index d7c2081..6bc26ea 100644
--- a/hwdef-Sofirn_SP10-Pro.h
+++ b/hwdef-Sofirn_SP10-Pro.h
@@ -1,16 +1,16 @@
-#ifndef HWDEF_SOFIRN_SP10_H
-#define HWDEF_SOFIRN_SP10_H
+// Sofirn SP10 Pro pinout
+// Copyright (C) 2022-2023 (FIXME)
+// SPDX-License-Identifier: GPL-3.0-or-later
+#pragma once
-/* Sofirn SP10 Pro pinout
-
-ATTINY1616 Mapping:
-PB5 : PWM small channel (TCA0 - WO2 Alternate MUX)
-PB3 : eSwitch
-PB0 : PWM big channel (TCA0 - WO0)
-PB4 : Voltage divider (ADC0 - AIN9)
-PA1 : Boost Enable
-
-*/
+/*
+ * ATTINY1616 Mapping:
+ * PB5 : PWM small channel (TCA0 - WO2 Alternate MUX)
+ * PB3 : eSwitch
+ * PB0 : PWM big channel (TCA0 - WO0)
+ * PB4 : Voltage divider (ADC0 - AIN9)
+ * PA1 : Boost Enable
+ */
#define LAYOUT_DEFINED
@@ -140,5 +140,3 @@ FUSES = {
.BOOTEND = FUSE_BOOTEND_DEFAULT, // Boot Section End
};
-
-#endif