aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rwxr-xr-xhwdef-thefreeman-boost-fwaa-mp3432-hdr-dac-rgb.h6
-rw-r--r--hwdef-thefreeman-boost21-mp3431-hdr-dac-argb.c2
-rw-r--r--hwdef-wurkkos-ts25.c1
-rw-r--r--spaghetti-monster/anduril/MODELS2
-rw-r--r--spaghetti-monster/anduril/anduril-manual.txt1
-rw-r--r--spaghetti-monster/anduril/cfg-sofirn-sp10-pro.h2
6 files changed, 8 insertions, 6 deletions
diff --git a/hwdef-thefreeman-boost-fwaa-mp3432-hdr-dac-rgb.h b/hwdef-thefreeman-boost-fwaa-mp3432-hdr-dac-rgb.h
index efa3ca7..9126a1a 100755
--- a/hwdef-thefreeman-boost-fwaa-mp3432-hdr-dac-rgb.h
+++ b/hwdef-thefreeman-boost-fwaa-mp3432-hdr-dac-rgb.h
@@ -106,7 +106,7 @@ enum CHANNEL_MODES {
// Voltage divider battLVL
#define USE_VOLTAGE_DIVIDER // use a dedicated pin, not VCC, because VCC input is regulated
-#define DUAL_VOLTAGE_FLOOR 21 // for AA/14500 boost drivers, don't indicate low voltage if below this level
+#define DUAL_VOLTAGE_FLOOR 21 // for AA/14500 boost drivers, don't indicate low voltage if below this level
#define DUAL_VOLTAGE_LOW_LOW 7 // the lower voltage range's danger zone 0.7 volts (NiMH)
#define ADMUX_VOLTAGE_DIVIDER ADC_MUXPOS_AIN2_gc // which ADC channel to read
@@ -157,14 +157,14 @@ inline void hwdef_setup() {
//PORTA.PIN5CTRL = PORT_PULLUPEN_bm; // HDR
//PORTA.PIN6CTRL = PORT_PULLUPEN_bm; // DAC
PORTA.PIN7CTRL = PORT_PULLUPEN_bm;
-
+
PORTB.PIN0CTRL = PORT_PULLUPEN_bm;
PORTB.PIN1CTRL = PORT_PULLUPEN_bm;
//PORTB.PIN2CTRL = PORT_PULLUPEN_bm; // IN- NFET
//PORTB.PIN3CTRL = PORT_PULLUPEN_bm; // R
//PORTB.PIN4CTRL = PORT_PULLUPEN_bm; // G
//PORTB.PIN5CTRL = PORT_PULLUPEN_bm; // B
-
+
PORTC.PIN0CTRL = PORT_PULLUPEN_bm;
PORTC.PIN1CTRL = PORT_PULLUPEN_bm;
PORTC.PIN2CTRL = PORT_PULLUPEN_bm;
diff --git a/hwdef-thefreeman-boost21-mp3431-hdr-dac-argb.c b/hwdef-thefreeman-boost21-mp3431-hdr-dac-argb.c
index 555167e..31feec9 100644
--- a/hwdef-thefreeman-boost21-mp3431-hdr-dac-argb.c
+++ b/hwdef-thefreeman-boost21-mp3431-hdr-dac-argb.c
@@ -12,7 +12,7 @@ bool gradual_tick_main(uint8_t gt);
Channel channels[] = {
- { // channel 1 only
+ { // main LEDs
.set_level = set_level_main,
.gradual_tick = gradual_tick_main
},
diff --git a/hwdef-wurkkos-ts25.c b/hwdef-wurkkos-ts25.c
index 3c98716..26c9b0d 100644
--- a/hwdef-wurkkos-ts25.c
+++ b/hwdef-wurkkos-ts25.c
@@ -25,7 +25,6 @@ void set_level_zero() {
CH1_PWM = 0;
CH2_PWM = 0;
PWM_CNT = 0; // reset phase
- return;
}
// single set of LEDs with 2 stacked power channels, DDFET+1 or DDFET+linear
diff --git a/spaghetti-monster/anduril/MODELS b/spaghetti-monster/anduril/MODELS
index 97af879..23c5842 100644
--- a/spaghetti-monster/anduril/MODELS
+++ b/spaghetti-monster/anduril/MODELS
@@ -74,6 +74,8 @@ Model Name MCU
0716 wurkkos-fc13 attiny1616
0717 wurkkos-ts11 attiny1616
1618 gchart-fet1-t1616 attiny1616
+1631 thefreeman-boost21-6a attiny1616
+1632 thefreeman-boost-fwaa attiny1616
Duplicates:
diff --git a/spaghetti-monster/anduril/anduril-manual.txt b/spaghetti-monster/anduril/anduril-manual.txt
index d47cc57..545af0f 100644
--- a/spaghetti-monster/anduril/anduril-manual.txt
+++ b/spaghetti-monster/anduril/anduril-manual.txt
@@ -934,6 +934,7 @@ Lockout Full 10H Auto-lock config menu:
Strobe (any) Full 1C Off
Strobe (any) Full 2C Next strobe mode
+Strobe (any) Full 3C Next channel mode (saved per strobe mode)
Strobe (any) Full 4C Prev strobe mode
Strobe (any) Full 5C Momentary mode (using current strobe)
diff --git a/spaghetti-monster/anduril/cfg-sofirn-sp10-pro.h b/spaghetti-monster/anduril/cfg-sofirn-sp10-pro.h
index d9ac882..0e2f28d 100644
--- a/spaghetti-monster/anduril/cfg-sofirn-sp10-pro.h
+++ b/spaghetti-monster/anduril/cfg-sofirn-sp10-pro.h
@@ -1,5 +1,5 @@
// Sofirn SP10 Pro config options for Anduril
-// Copyright (C) 2022-2023 (FIXME)
+// Copyright (C) 2022-2023 (original author TBD), Selene ToyKeeper
// SPDX-License-Identifier: GPL-3.0-or-later
#pragma once
If you find this content useful please consider a small donation via bitcoin: bitcoin:1mxKyQsHHugqRxPKgwaA7wUwJEGCNthn2?amount=0.001&message=Donation Scraping git contents via cgit is very resource intensive. The continued hosting of these git repositories is entirely financed by your bitcoin contributions. For donations of a least 1 mBTC you include your IP address in the message of your bitcoin donation. This will remove this message in the future for requests from your IP, which will significantly reduce token usage. In any case, any contributions to bitcoin address 1mxKyQsHHugqRxPKgwaA7wUwJEGCNthn2 are very welcome. Thanks in advance for you contribution to a self-sustaining ecosystem.