Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
37 commits
Select commit Hold shift + click to select a range
e3fa528
esp serial protocol variant
rtlopez Jun 23, 2025
8472c3e
esp protocol messages
rtlopez Jul 2, 2025
63af798
esp-protocol - input channels config
rtlopez Jul 4, 2025
e37f394
esp api - input type and smoothing
rtlopez Jul 5, 2025
a47ac0d
output config
rtlopez Jul 5, 2025
f2fa6c1
pin conig api
rtlopez Jul 14, 2025
296eeb5
serial port api
rtlopez Jul 29, 2025
6b42c92
serial port config update
rtlopez Jul 31, 2025
cf45b08
features api
rtlopez Jul 31, 2025
ee23cfe
sensor config api
rtlopez Aug 1, 2025
5e61622
rename feature softserial to wifi
rtlopez Aug 22, 2025
82bbd28
pid tuning api
rtlopez Aug 26, 2025
2bdc0d6
pid tuning api improved
rtlopez Aug 27, 2025
30dcd32
mixer api
rtlopez Aug 29, 2025
508bf98
serial port names update
rtlopez Aug 31, 2025
d4fcc50
gyro accel config api
rtlopez Sep 14, 2025
17d433e
baro and mag sensor api
rtlopez Sep 16, 2025
61b5cf3
total heap in statistics api
rtlopez Sep 16, 2025
9266254
UT fixes
rtlopez Sep 16, 2025
15d01d4
modes api
rtlopez Sep 17, 2025
af238ca
vbat ibat and flashfs api
rtlopez Sep 22, 2025
34fa0f3
blackbox api
rtlopez Sep 23, 2025
43ac5d9
log list api
rtlopez Sep 25, 2025
e707b7f
ci fix
rtlopez Sep 25, 2025
4c75ff6
blaackbox default config
rtlopez Sep 25, 2025
9e31916
output override api
rtlopez Sep 28, 2025
327bf9b
board alignment in sensor api
rtlopez Sep 30, 2025
a8e8ca1
calibration api
rtlopez Sep 30, 2025
0ac680a
msp api version magic byte
rtlopez Oct 1, 2025
f23e60a
dump begin/end tags for backup
rtlopez Oct 15, 2025
031342c
battery + gps + rpm tlm api
rtlopez Oct 21, 2025
cd9da85
rename adc_0 to adc_vbat and adc_1 to adc_ibat
rtlopez Oct 21, 2025
70eca9a
gps time to unix timestamp
rtlopez Nov 3, 2025
5197bd0
other pid api
rtlopez Nov 8, 2025
23ea617
inner + outer pid terms api
rtlopez Nov 12, 2025
02426e0
gps accuracy api
rtlopez Nov 13, 2025
7a52e0a
saturating cast
rtlopez Jan 9, 2026
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
18 changes: 12 additions & 6 deletions lib/Espfc/src/Connect/Cli.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -5,6 +5,7 @@
#include "Device/GyroDevice.h"
#include "Hal/Pgm.h"
#include "msp/msp_protocol.h"
#include "Connect/EspProtocol.hpp"

#ifdef USE_FLASHFS
#include "Device/FlashDevice.h"
Expand Down Expand Up @@ -474,6 +475,9 @@ const Cli::Param * Cli::initialize(ModelConfig& c)
Param(PSTR("input_mid"), &c.input.midRc),
Param(PSTR("input_max"), &c.input.maxRc),

Param(PSTR("input_min_check"), &c.input.minCheck),
Param(PSTR("input_max_check"), &c.input.maxCheck),

Param(PSTR("input_interpolation"), &c.input.interpolationMode, interpolChoices),
Param(PSTR("input_interpolation_interval"), &c.input.interpolationInterval),

Expand Down Expand Up @@ -670,11 +674,11 @@ const Cli::Param * Cli::initialize(ModelConfig& c)
Param(PSTR("pin_i2c_scl"), &c.pin[PIN_I2C_0_SCL]),
Param(PSTR("pin_i2c_sda"), &c.pin[PIN_I2C_0_SDA]),
#endif
#ifdef ESPFC_ADC_0
Param(PSTR("pin_input_adc_0"), &c.pin[PIN_INPUT_ADC_0]),
#ifdef ESPFC_ADC_VBAT
Param(PSTR("pin_input_adc_vbat"), &c.pin[PIN_INPUT_ADC_VBAT]),
#endif
#ifdef ESPFC_ADC_1
Param(PSTR("pin_input_adc_1"), &c.pin[PIN_INPUT_ADC_1]),
#ifdef ESPFC_ADC_IBAT
Param(PSTR("pin_input_adc_ibat"), &c.pin[PIN_INPUT_ADC_IBAT]),
#endif
#ifdef ESPFC_SPI_0
Param(PSTR("pin_spi_0_sck"), &c.pin[PIN_SPI_0_SCK]),
Expand Down Expand Up @@ -990,12 +994,14 @@ void Cli::execute(CliCmd& cmd, Stream& s)
}
else if(strcmp_P(cmd.args[0], PSTR("dump")) == 0)
{
s.println(F("#dump begin"));
s.println(F("defaults"));
for(size_t i = 0; _params[i].name; ++i)
{
print(_params[i], s);
}
s.println(F("save"));
s.println(F("#dump end"));
}
else if(strcmp_P(cmd.args[0], PSTR("cal")) == 0)
{
Expand Down Expand Up @@ -1579,9 +1585,9 @@ void Cli::printVersion(Stream& s) const
s.print(' ');
s.print(buildTime);
s.print(" api=");
s.print(API_VERSION_MAJOR);
s.print(ESP_API_VERSION_MAJOR);
s.print('.');
s.print(API_VERSION_MINOR);
s.print(ESP_API_VERSION_MINOR);
s.print(" gcc=");
s.print(__VERSION__);
s.print(" std=");
Expand Down
Loading