Closed benlye closed 5 years ago
one way to fix it might be to add
#if defined(INTMODULE_USART) || defined(EXTMODULE_USART)
...
#endif
around the lines (40 and 101) in multi_arm.cpp, right? At least it will compile then. But why was the pxx_uart removed for the t12 instead of handling the situation inside of the union ModulePulsesData in pulses_arm.h ?
I tested my idea and it compiles. Uploaded it to my T12 and everything seems to work fine. Pull Request #15 : https://github.com/JumperXYZ/JumperTX/pull/15
Cool, I'll try it out on my T16 and make sure that the internal and external modules still work as expected.
Presumably you are using a multi-protocol module with telemetry in your T12?
Tried it out - my T16 works fine with both internal and external multiprotocol modules - I get telemetry from the module (version number) and RSSI from the model.
Yes, I am using the external jumper 4in1 multiprotocol that was shipped with the t12. I flashed it with the latest multiprotocol Firmware from github. It is amazing: all e010 toy tiny whoops that never worked with the t12 are now working perfectly :)
Since PR #9 was merged to add support for the T16's internal module, JumperTX no longer builds for the T12.
Attempting to configure the firmware gives this result when
cmake
is called:Full compile output is here: https://pastebin.com/raw/0KaHyesq
Prior to the changes in PR #9 the same CMAKE command succeeded for the T12.