-
-
Notifications
You must be signed in to change notification settings - Fork 104
Memory Consumption
The following table lists the required bytes from the device buffer for each device.
Fast IO AVR | Normal IO AVR | Pico | |
---|---|---|---|
analog device | 29 byte | 29 byte | 40 byte |
button | 6 byte | 4 byte | 8 byte |
digital input MUX | 9 byte | 6 byte | 8 byte |
encoder | 35 byte | 31 byte | 29 byte |
input shifter | 17 byte | 11 byte | 16 byte |
lcdDisplay | 18 byte | 18 byte | 24 byte |
output | 2 byte | 2 byte | 2 byte |
Output Shifter | 15 byte | 9 byte | 9 byte |
Led Segment | (28) byte | 25 byte | 36 byte |
Servos | 23 byte | 23 byte | 64 byte |
Stepper | 14 byte | 14 byte | 100 byte |
required bytes for LED Segment with Fast IO might be wrong, must be checked again
FastIO is not implemented yet and it has to be decided if this will be implemented. The requried memory consumption for this is listed to get a decision.
RAM: [====== ] 55.3% (used 4528 bytes from 8192 bytes)
Flash: [= ] 10.8% (used 27534 bytes from 253952 bytes)
-> 226.418 bytes left
RAM: [====== ] 55.4% (used 4540 bytes from 8192 bytes)
Flash: [= ] 11.2% (used 28354 bytes from 253952 bytes)
-> 225.598 bytes left
Device Buffer 1496 byte
Name Buffer with 1000 byte can be freed up
Bytes which are requested from the device buffer
Device | FastIO | NormalIO |
---|---|---|
40 Outputs: | 80 byte | 80 byte |
68 Buttons: | 408 byte | 272 byte |
4 LEDSegment: | 112 byte | 88 byte |
20 Encoder: | 700 byte | 620 byte |
10 Stepper: | 140 byte | 140 byte |
10 Servos: | 230 byte | 230 byte |
2 LCD: | 36 byte | 36 byte |
16 AnalogIn: | 464 byte | 464 byte |
4 OutputShifter: | 60 byte | 36 byte |
4 InputShifter: | 68 byte | 44 byte |
4 MUX: | 36 byte | 24 byte |
RAM: [======== ] 76.6% (used 1960 bytes from 2560 bytes)
Flash: [==========] 97.4% (used 27916 bytes from 28672 bytes)
-> 756 bytes left
RAM: [======== ] 77.0% (used 1972 bytes from 2560 bytes)
Flash: [==========] 100.2% (used 28718 bytes from 28672 bytes)
-> exceeds Flash!!! Further measures to decrease the flash would be required. On the other hand it is very likely that encoders on multiplexers will also not fit into the memory, therefore a FastIO is not really required.
Device Buffer 440 byte
Name Buffer with 350 byte can be freed up
Bytes which are requested from the device buffer
Device | FastIO | NormalIO |
---|---|---|
18 Outputs: | 36 byte | 36 byte |
18 Buttons: | 108 byte | 72 byte |
1 LEDSegment: | 28 byte | 22 byte |
9 Encoder: | 315 byte | 279 byte |
3 Stepper: | 42 byte | 32 byte |
3 Servos: | 69 byte | 69 byte |
2 LCD: | 36 byte | 36 byte |
5 AnalogIn: | 145 byte | 145 byte |
2 OutputShifter: | 30 byte | 18 byte |
2 InputShifter: | 34 byte | 22 byte |
3 MUX: | 27 byte | 18 byte |
RAM: [========= ] 86.6% (used 1773 bytes from 2048 bytes)
Flash: [======== ] 83.3% (used 25598 bytes from 30720 bytes)
-> 5.122 bytes left
RAM: [========= ] 87.2% (used 1785 bytes from 2048 bytes)
Flash: [========= ] 86.0% (used 26418 bytes from 30720 bytes)
-> 4.302 bytes left
Device Buffer 286 byte
Name Buffer with 220 byte can be freed up
Bytes which are requested from the device buffer
Device | FastIO | NormalIO |
---|---|---|
18 Outputs: | 36 byte | 36 byte |
18 Buttons: | 108 byte | 72 byte |
1 LEDSegment: | 22 byte | 22 byte |
9 Encoder: | !!!315 byte | 279 byte |
2 Stepper: | 28 byte | 28 byte |
2 Servos: | 46 byte | 46 byte |
2 LCD: | 36 byte | 36 byte |
6 AnalogIn: | 174 byte | 174 byte |
2 OutputShifter: | 30 byte | 18 byte |
2 InputShifter: | 34 byte | 22 byte |
3 MUX: | 27 byte | 18 byte |
RAM: [= ] 7.1% (used 18504 bytes from 262144 bytes)
Flash: [ ] 3.6% (used 74892 bytes from 2093056 bytes)
-> 2.018.164 bytes left
RAM: [= ] 7.1% (used 18536 bytes from 262144 bytes)
Flash: [ ] 3.6% (used 75220 bytes from 2093056 bytes)
-> 2.017.836 bytes left
Device Buffer 1496 byte
Name Buffer with 1000 byte can be freed up
Bytes which are requested from the device buffer
Device | FastIO | NormalIO |
---|---|---|
26 Outputs: | 52 byte | 52 byte |
26 Buttons: | 156 byte | 104 byte |
4 LEDSegment: | 112 byte | 88 byte |
8 Encoder: | 280 byte | 248 byte |
6 Stepper: | 84 byte | 84 byte |
8 Servos: | 184 byte | 184 byte |
2 LCD: | 36 byte | 36 byte |
3 AnalogIn: | 87 byte | 87 byte |
4 OutputShifter: | 60 byte | 36 byte |
4 InputShifter: | 68 byte | 44 byte |
4 MUX: | 36 byte | 24 byte |
- MobiFlight Connector Installation
- Mobiflight Connector BETA version installation
- Modules
- MobiFlight Connector Files Structure
- MobiFlight Connector Uninstall
- Modules Reset to factory default
- Verifying the WASM module installation and locating the MSFS2020 community folder
- Using a Winwing FCU with MobiFlight
- Providing logs from MobiFlight
- MobiFlight Connector How does it work
- Mobiflight Connector Main Window
- Flash module with MobiFlight firmware
- Input and Output devices
- Joysticks
- Midi Boards
- Sim Variables (for Output)
- Input Actions
- Merging configuration files
- Disabling specific COM ports
- Examples Output LEDs
- Examples Input Switch
- Example 7 segment display
- Example Servo motor
- Controlling LEDs with an output shift register
- Adding lots of buttons with an input shift register
- Beginner's guide to input multiplexers
- Key Matrix with standard MobiFlight and Multiplexers
- Tutorial Easy Driver and x.27 or x.40 Stepper Motor
- Tutorial for Airbus VS display via 7-Segment LED Module
- Example Analog Input Potentiometer
- Baron G58 Tutorial Gear, Flaps, Mags, ELT Input Output Programming
- Using Mobiflight to control arduino-based 3rd party panels (RealSimGear GNS530)
- How to use a VNH2SP30 DC motor shield with MobiFlight
- Using 3D printer mainboards
- Playing sounds by sending keystrokes to AutoHotKey
- Using the selector knob on a Honeycomb Bravo
- Using an adjustable 12 position switch as a GA starter
- Brightness of LCD displays with I2C
- Using three-position switches
- Transponder with one Rotary
- MSFS2020 RPN Tips and Tricks
- MSFS2020 Using the Custom Input Code Box
- MSFS2020 Install WASM module and Event List
- MSFS2020 How to Create and Use User Defined Lvars
- MSFS2020 How to Create a Blinking LED configuration
- MSFS2020 User Defined WASM Module Events Best Practices
- MSFS2020 Developer Mode, Model Behavior dialog and Console window
- MSFS2020 PMDG 737‐700 List of Events that require use of FSUIPC7
- MSFS2020 PMDG 737‐700 Calibrate throttle idle and reverse thrust using interpolation (Valkyrie)
- MSFS2020 PMDG 737-700 Chrono unit functions implemented in Mobiflight
- Configuring PMDG 737 Parking Brake Lever Auto-Release with a Servo in Mobiflight
- Using encoder to drive a value back and forth within a given range
- Adding a custom board to MobiFlight
- User guide - Community Board and Custom Devices
- Developing your own custom devices/boards