* Drop SingleChannelStateSequence in favor of MultiChannelStateSequenceWithData Most all the users were Multi* anyways, so just improve that: 1. Allow up to 8 waveforms to share one byte per timestamp. It could be better but this is simple and gets most of the benefit. 2. Use a wrapper structure to handle reserving space for the arrays. Makes the interface simpler and more rigid. Also saves 4 bytes per Multi*. Downside is access is now via -> and *, not . and (nothing). Saves 224 bytes of BSS, 1832 bytes of RAM4/CCM, 952 bytes of TEXT, and 103 bytes of RODATA * Instantiate a base_t to make debugging easier. Also fixes crash on real firmware by using &m_base instead - LTO optimization issue? * No magical templated StaticAlloc thingy. Just virtual functions. |
||
---|---|---|
.. | ||
readme.md | ||
trigger_chrysler.cpp | ||
trigger_chrysler.h | ||
trigger_gm.cpp | ||
trigger_gm.h | ||
trigger_honda.cpp | ||
trigger_honda.h | ||
trigger_mazda.cpp | ||
trigger_mazda.h | ||
trigger_mercedes.cpp | ||
trigger_mercedes.h | ||
trigger_misc.cpp | ||
trigger_misc.h | ||
trigger_mitsubishi.cpp | ||
trigger_mitsubishi.h | ||
trigger_nissan.cpp | ||
trigger_nissan.h | ||
trigger_renix.cpp | ||
trigger_renix.h | ||
trigger_rover.cpp | ||
trigger_rover.h | ||
trigger_structure.cpp | ||
trigger_structure.h | ||
trigger_subaru.cpp | ||
trigger_subaru.h | ||
trigger_suzuki.cpp | ||
trigger_suzuki.h | ||
trigger_toyota.cpp | ||
trigger_toyota.h | ||
trigger_universal.cpp | ||
trigger_universal.h | ||
trigger_vw.cpp | ||
trigger_vw.h | ||
triggers-meta.yaml |
readme.md
Trigger Decoders
This folder is and should not be aware of engine.h or engine_configuration.h
Hints on adding new trigger
Step 1: add into rusefi_config.txt
Step 2: add into rusefi_enums.h, update TT_UNUSED, invoke gen_enum script
Step 3: get it working.
It's useful to un-comments AllTriggersFixture line in unit_tests/main.cpp
It's useful to add setVerboseTrigger(true) into unit tests while troubleshooting fresh trigger code