~toykeeper/flashlight-firmware/fsm

« back to all changes in this revision

Viewing changes to ToyKeeper/spaghetti-monster/anduril/cfg-noctigon-dm11-nofet.h

  • Committer: Selene ToyKeeper
  • Date: 2023-07-23 00:08:12 UTC
  • mto: (483.1.175 anduril2)
  • mto: This revision was merged to the branch mainline in revision 491.
  • Revision ID: bzr@toykeeper.net-20230723000812-lae16ybrvfm1lvlf
converted noctigon-dm11-* builds to multi-channel
(but I could only test dm11-boost on actual hardware)
(also, it looks like dm11-sbt90 is almost identical to the base kr4 build,
 so I removed its hwdef)

Show diffs side-by-side

added added

removed removed

Lines of Context:
1
 
// Noctigon DM11-noFET config options for Anduril
 
1
// Noctigon DM11 (no DD FET) config options for Anduril
2
2
// Copyright (C) 2021-2023 Selene ToyKeeper
3
3
// SPDX-License-Identifier: GPL-3.0-or-later
4
4
#pragma once
5
5
 
 
6
// same support functions as a KR4
 
7
#define HWDEF_C_FILE hwdef-noctigon-kr4-nofet.c
6
8
#include "cfg-noctigon-dm11.h"
7
9
#undef MODEL_NUMBER
8
10
#define MODEL_NUMBER "0272"
11
13
// turn off the DD FET
12
14
#undef PWM_CHANNELS
13
15
#define PWM_CHANNELS 1
 
16
#define RAMP_SIZE 150
14
17
 
15
18
// level_calc.py 5.01 1 149 7135 1 0.3 1740 --pwm dyn:78:16384:255
16
19
#undef PWM1_LEVELS