188.1.154
by Selene Scriven
Refactored driver/hardware definition code to be one file per driver type. |
1 |
// Emisar D4 config options for Anduril
|
188.7.1
by Selene Scriven
Reworked the config file include system so it'll include the #defined value |
2 |
#include "hwdef-Emisar_D4.h" |
188.1.155
by Selene Scriven
Move driver-specific ramp tables into the driver's config file. |
3 |
|
4 |
// ../../bin/level_calc.py 1 65 7135 1 0.8 150
|
|
5 |
// ... mixed with this:
|
|
6 |
// ../../bin/level_calc.py 2 150 7135 4 0.33 150 FET 1 10 1500
|
|
7 |
#define RAMP_LENGTH 150
|
|
8 |
#define PWM1_LEVELS 1,1,2,2,3,3,4,4,5,6,7,8,9,10,12,13,14,15,17,19,20,22,24,26,29,31,34,36,39,42,45,48,51,55,59,62,66,70,75,79,84,89,93,99,104,110,115,121,127,134,140,147,154,161,168,176,184,192,200,209,217,226,236,245,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,0
|
|
9 |
#define PWM2_LEVELS 0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,1,3,4,5,7,8,9,11,12,14,15,17,19,20,22,24,25,27,29,31,33,35,37,39,41,43,45,48,50,52,55,57,59,62,64,67,70,72,75,78,81,84,87,90,93,96,99,102,105,109,112,115,119,122,126,129,133,137,141,144,148,152,156,160,165,169,173,177,182,186,191,195,200,205,209,214,219,224,229,234,239,244,250,255
|
|
10 |
#define MAX_1x7135 65
|
|
11 |
#define HALFSPEED_LEVEL 14
|
|
188.16.1
by Selene Scriven
merged a sanitized copy of the Emisar D4v2 branch; history summarized below: |
12 |
#define QUARTERSPEED_LEVEL 6
|
13 |
||
14 |
#define RAMP_SMOOTH_FLOOR 1
|
|
15 |
#define RAMP_SMOOTH_CEIL 120
|
|
16 |
// 10, 28, 46, [65], 83, 101, 120
|
|
17 |
#define RAMP_DISCRETE_FLOOR 10
|
|
18 |
#define RAMP_DISCRETE_CEIL RAMP_SMOOTH_CEIL
|
|
19 |
#define RAMP_DISCRETE_STEPS 7
|
|
188.1.159
by Selene Scriven
Fixed thermal regulation bug, where it used the wrong target to determine adjustment speed. |
20 |
|
188.1.176
by Selene Scriven
Enabled THERM_HARD_TURBO_DROP on Emisar D4 and FW3A. |
21 |
// stop panicking at ~30% power or ~1200 lm
|
22 |
#define THERM_FASTER_LEVEL 105
|
|
188.16.1
by Selene Scriven
merged a sanitized copy of the Emisar D4v2 branch; history summarized below: |
23 |