Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

feat: Flysky PL18 Support #3963

Closed
wants to merge 99 commits into from
Closed

feat: Flysky PL18 Support #3963

wants to merge 99 commits into from

Commits on Aug 23, 2023

  1. Configuration menu
    Copy the full SHA
    ebe394c View commit details
    Browse the repository at this point in the history
  2. Virtual file system

    gagarinlg authored and richardclli committed Aug 23, 2023
    Configuration menu
    Copy the full SHA
    e6ca66c View commit details
    Browse the repository at this point in the history

Commits on Aug 24, 2023

  1. Fix paths in unit tests

    raphaelcoeffic authored and richardclli committed Aug 24, 2023
    Configuration menu
    Copy the full SHA
    d43996c View commit details
    Browse the repository at this point in the history
  2. Configuration menu
    Copy the full SHA
    9505e78 View commit details
    Browse the repository at this point in the history
  3. fix compiler warnings

    gagarinlg authored and richardclli committed Aug 24, 2023
    Configuration menu
    Copy the full SHA
    9873ab7 View commit details
    Browse the repository at this point in the history
  4. chore: more compiler warning fixes

    gagarinlg authored and richardclli committed Aug 24, 2023
    Configuration menu
    Copy the full SHA
    db20324 View commit details
    Browse the repository at this point in the history
  5. remove LittleFS compat code, change VirtualFS API to use const char* …

    …instead of std::String& in most places
    gagarinlg authored and richardclli committed Aug 24, 2023
    Configuration menu
    Copy the full SHA
    c0582ec View commit details
    Browse the repository at this point in the history
  6. use only char* and const char* for VirtualFS to save space

    added ARM-BKPT instruction to assert
    gagarinlg authored and richardclli committed Aug 24, 2023
    Configuration menu
    Copy the full SHA
    0f796d5 View commit details
    Browse the repository at this point in the history
  7. fix storing compiled lua scripts

    gagarinlg authored and richardclli committed Aug 24, 2023
    Configuration menu
    Copy the full SHA
    6956306 View commit details
    Browse the repository at this point in the history
  8. fix B&W bootloader

    gagarinlg authored and richardclli committed Aug 24, 2023
    Configuration menu
    Copy the full SHA
    df04c59 View commit details
    Browse the repository at this point in the history
  9. Configuration menu
    Copy the full SHA
    4081613 View commit details
    Browse the repository at this point in the history
  10. Configuration menu
    Copy the full SHA
    00f29a2 View commit details
    Browse the repository at this point in the history
  11. Configuration menu
    Copy the full SHA
    8a32dac View commit details
    Browse the repository at this point in the history
  12. Configuration menu
    Copy the full SHA
    df201e7 View commit details
    Browse the repository at this point in the history
  13. Configuration menu
    Copy the full SHA
    dba7056 View commit details
    Browse the repository at this point in the history
  14. Configuration menu
    Copy the full SHA
    e26fc19 View commit details
    Browse the repository at this point in the history
  15. update example conf

    richardclli committed Aug 24, 2023
    Configuration menu
    Copy the full SHA
    39f23bd View commit details
    Browse the repository at this point in the history
  16. Configuration menu
    Copy the full SHA
    f725c63 View commit details
    Browse the repository at this point in the history
  17. Configuration menu
    Copy the full SHA
    b1bc83b View commit details
    Browse the repository at this point in the history
  18. Configuration menu
    Copy the full SHA
    654892c View commit details
    Browse the repository at this point in the history
  19. Configuration menu
    Copy the full SHA
    3dc492f View commit details
    Browse the repository at this point in the history
  20. Configuration menu
    Copy the full SHA
    103c2c5 View commit details
    Browse the repository at this point in the history
  21. Configuration menu
    Copy the full SHA
    97ee6c7 View commit details
    Browse the repository at this point in the history
  22. Configuration menu
    Copy the full SHA
    883d0b6 View commit details
    Browse the repository at this point in the history
  23. Configuration menu
    Copy the full SHA
    8c3ded8 View commit details
    Browse the repository at this point in the history
  24. Configuration menu
    Copy the full SHA
    f6aa7a0 View commit details
    Browse the repository at this point in the history
  25. Configuration menu
    Copy the full SHA
    f6c31ac View commit details
    Browse the repository at this point in the history
  26. Typofix (parenthesis).

    rotorman authored and richardclli committed Aug 24, 2023
    Configuration menu
    Copy the full SHA
    7d4c4be View commit details
    Browse the repository at this point in the history
  27. Touch coordinates need to be inverted horizontally and vertically.

    Removed SD presence detection to get Trim 2 Up button also free, assuming SD card is always there.
    Added trim 1 and 2 sampling plus emulated keys from physical trim buttons 3 to 8.
    Trim 6 up == ENTER
    Trim 6 down == RTN/Exit
    rotorman authored and richardclli committed Aug 24, 2023
    Configuration menu
    Copy the full SHA
    58e5ec2 View commit details
    Browse the repository at this point in the history
  28. Configuration menu
    Copy the full SHA
    afa7a9e View commit details
    Browse the repository at this point in the history
  29. Check CST340 presence and read out firmware version and display it on…

    … analogs diagnose page.
    
    Unify the variable name used to display touch chip firmware version with GT911.
    rotorman authored and richardclli committed Aug 24, 2023
    Configuration menu
    Copy the full SHA
    afb9553 View commit details
    Browse the repository at this point in the history
  30. Configuration menu
    Copy the full SHA
    e308844 View commit details
    Browse the repository at this point in the history
  31. Configuration menu
    Copy the full SHA
    9439591 View commit details
    Browse the repository at this point in the history
  32. Analog audio is working, changed SD card to work with 1 bit mode (eas…

    …ier mod).
    
    Plus removed 2 obsolete files.
    rotorman authored and richardclli committed Aug 24, 2023
    Configuration menu
    Copy the full SHA
    8fc8328 View commit details
    Browse the repository at this point in the history
  33. Main battery and RTC coin cell voltage sampling works.

    TODO from the analogs are the VRC and both side sliders.
    rotorman authored and richardclli committed Aug 24, 2023
    Configuration menu
    Copy the full SHA
    32b97fc View commit details
    Browse the repository at this point in the history
  34. Pots VRA to VRC function.

    rotorman authored and richardclli committed Aug 24, 2023
    Configuration menu
    Copy the full SHA
    61afdfd View commit details
    Browse the repository at this point in the history
  35. Matched PL18EV switch types.

    rotorman authored and richardclli committed Aug 24, 2023
    Configuration menu
    Copy the full SHA
    aac9e20 View commit details
    Browse the repository at this point in the history
  36. Configuration menu
    Copy the full SHA
    3d4e156 View commit details
    Browse the repository at this point in the history
  37. Switches A to H work now.

    rotorman authored and richardclli committed Aug 24, 2023
    Configuration menu
    Copy the full SHA
    271fd42 View commit details
    Browse the repository at this point in the history
  38. Extension to 8 trims to support FlySky PL18/PL18EV.

    After these changes, the radio behaves awkwardly (e.g. start screen has no sliders & trims).
    I had to extend the memory size in radio/src/storage/yaml/yaml_datastructs_funcs.cpp to make it build, but apparently something is not yet correct with this commit/patch.
    @pafleraf could you please take a look. Thanks!
    rotorman authored and richardclli committed Aug 24, 2023
    Configuration menu
    Copy the full SHA
    a0e7910 View commit details
    Browse the repository at this point in the history
  39. Generate YAML struct for PL18

    raphaelcoeffic authored and richardclli committed Aug 24, 2023
    Configuration menu
    Copy the full SHA
    115ede1 View commit details
    Browse the repository at this point in the history
  40. Correct trims mapping.

    rotorman authored and richardclli committed Aug 24, 2023
    Configuration menu
    Copy the full SHA
    1a94c9f View commit details
    Browse the repository at this point in the history
  41. Configuration menu
    Copy the full SHA
    427a30d View commit details
    Browse the repository at this point in the history
  42. Avoid concurrent key matrix agitation from multiple tasks.

    PL18/PL18EV key remap improvements, matching key diagnose values.
    rotorman authored and richardclli committed Aug 24, 2023
    Configuration menu
    Copy the full SHA
    5dfbb25 View commit details
    Browse the repository at this point in the history
  43. Configuration menu
    Copy the full SHA
    edc419e View commit details
    Browse the repository at this point in the history
  44. Removed PL18 internal module (remnants of NV14 code) and freeing up U…

    …ART7.
    
    There were further changes necessary, as PL18 is the first color radio w/o an internal RF module.
    rotorman authored and richardclli committed Aug 24, 2023
    Configuration menu
    Copy the full SHA
    b0ca8cf View commit details
    Browse the repository at this point in the history
  45. Side sliders of PL18 are called VRD and VRE not LS and RS.

    SYS button of T16 Family is actually "RADIO" button. Changed labels accordingly.
    rotorman authored and richardclli committed Aug 24, 2023
    Configuration menu
    Copy the full SHA
    2d3941e View commit details
    Browse the repository at this point in the history
  46. Initial steps towards stick pot controls and battery charger(s). I/O …

    …definitions and setting outputs init state.
    rotorman authored and richardclli committed Aug 24, 2023
    Configuration menu
    Copy the full SHA
    97bcc2f View commit details
    Browse the repository at this point in the history
  47. USB detection workaround for PL18

    USB charging working for PL18
    display charge animation on PL18
    gagarinlg authored and richardclli committed Aug 24, 2023
    Configuration menu
    Copy the full SHA
    757a125 View commit details
    Browse the repository at this point in the history
  48. Configuration menu
    Copy the full SHA
    2d06194 View commit details
    Browse the repository at this point in the history
  49. rebase fs_pl18 branch to lvgl branch

    fix compilation of PL18 target
    untested
    gagarinlg authored and richardclli committed Aug 24, 2023
    Configuration menu
    Copy the full SHA
    af0b9e2 View commit details
    Browse the repository at this point in the history
  50. fix PL18 display orientation

    gagarinlg authored and richardclli committed Aug 24, 2023
    Configuration menu
    Copy the full SHA
    9a47183 View commit details
    Browse the repository at this point in the history
  51. fix touch calculcation

    gagarinlg authored and richardclli committed Aug 24, 2023
    Configuration menu
    Copy the full SHA
    0126445 View commit details
    Browse the repository at this point in the history
  52. Configuration menu
    Copy the full SHA
    79a9b77 View commit details
    Browse the repository at this point in the history
  53. fix PL18 compilation after rebase

    untested
    gagarinlg authored and richardclli committed Aug 24, 2023
    Configuration menu
    Copy the full SHA
    61e6a04 View commit details
    Browse the repository at this point in the history
  54. fix simu crash for PL18

    simu screen needs to be rotated
    gagarinlg authored and richardclli committed Aug 24, 2023
    Configuration menu
    Copy the full SHA
    c7c35b4 View commit details
    Browse the repository at this point in the history
  55. remove old truetype fonts reference

    gagarinlg authored and richardclli committed Aug 24, 2023
    Configuration menu
    Copy the full SHA
    d7228db View commit details
    Browse the repository at this point in the history
  56. work around for garbled screen

    usb charging display fix
    gagarinlg authored and richardclli committed Aug 24, 2023
    Configuration menu
    Copy the full SHA
    cf5e492 View commit details
    Browse the repository at this point in the history
  57. ran the YAML generator on PL18

    rotorman authored and richardclli committed Aug 24, 2023
    Configuration menu
    Copy the full SHA
    3c29194 View commit details
    Browse the repository at this point in the history
  58. fix PL18 screen flickering

    gagarinlg authored and richardclli committed Aug 24, 2023
    Configuration menu
    Copy the full SHA
    6bebe30 View commit details
    Browse the repository at this point in the history
  59. Configuration menu
    Copy the full SHA
    39242e8 View commit details
    Browse the repository at this point in the history
  60. Configuration menu
    Copy the full SHA
    a36540d View commit details
    Browse the repository at this point in the history
  61. Configuration menu
    Copy the full SHA
    4c51311 View commit details
    Browse the repository at this point in the history
  62. fix main view with three pots

    gagarinlg authored and richardclli committed Aug 24, 2023
    Configuration menu
    Copy the full SHA
    fb657b8 View commit details
    Browse the repository at this point in the history
  63. fix compilation after rebase

    gagarinlg authored and richardclli committed Aug 24, 2023
    Configuration menu
    Copy the full SHA
    73b93ce View commit details
    Browse the repository at this point in the history
  64. add missing typedef

    gagarinlg authored and richardclli committed Aug 24, 2023
    Configuration menu
    Copy the full SHA
    a629da5 View commit details
    Browse the repository at this point in the history
  65. fix pl18 simu compilation

    gagarinlg authored and richardclli committed Aug 24, 2023
    Configuration menu
    Copy the full SHA
    876d463 View commit details
    Browse the repository at this point in the history
  66. fix PL18 simu lcd

    gagarinlg authored and richardclli committed Aug 24, 2023
    Configuration menu
    Copy the full SHA
    5288feb View commit details
    Browse the repository at this point in the history
  67. adapt to changes from main

    gagarinlg authored and richardclli committed Aug 24, 2023
    Configuration menu
    Copy the full SHA
    ccd2c5d View commit details
    Browse the repository at this point in the history
  68. repair simu after rebase

    gagarinlg authored and richardclli committed Aug 24, 2023
    Configuration menu
    Copy the full SHA
    25f881c View commit details
    Browse the repository at this point in the history
  69. merge fixes

    gagarinlg authored and richardclli committed Aug 24, 2023
    Configuration menu
    Copy the full SHA
    abb803d View commit details
    Browse the repository at this point in the history
  70. Configuration menu
    Copy the full SHA
    ad22d5f View commit details
    Browse the repository at this point in the history
  71. Configuration menu
    Copy the full SHA
    dbd17c3 View commit details
    Browse the repository at this point in the history
  72. Configuration menu
    Copy the full SHA
    45489b6 View commit details
    Browse the repository at this point in the history
  73. Configuration menu
    Copy the full SHA
    7f012e9 View commit details
    Browse the repository at this point in the history
  74. Configuration menu
    Copy the full SHA
    3760db4 View commit details
    Browse the repository at this point in the history
  75. detect HX.. display

    gagarinlg authored and richardclli committed Aug 24, 2023
    Configuration menu
    Copy the full SHA
    7950bef View commit details
    Browse the repository at this point in the history
  76. fix(pl18): input edit screen

    gagarinlg authored and richardclli committed Aug 24, 2023
    Configuration menu
    Copy the full SHA
    8875ef8 View commit details
    Browse the repository at this point in the history
  77. add PL18 to prepare script

    gagarinlg authored and richardclli committed Aug 24, 2023
    Configuration menu
    Copy the full SHA
    1a9c504 View commit details
    Browse the repository at this point in the history
  78. PL18: fix LCD issues

    gagarinlg authored and richardclli committed Aug 24, 2023
    Configuration menu
    Copy the full SHA
    c616b6d View commit details
    Browse the repository at this point in the history
  79. Configuration menu
    Copy the full SHA
    8454520 View commit details
    Browse the repository at this point in the history
  80. Configuration menu
    Copy the full SHA
    6a88ab2 View commit details
    Browse the repository at this point in the history
  81. Configuration menu
    Copy the full SHA
    f389718 View commit details
    Browse the repository at this point in the history
  82. Configuration menu
    Copy the full SHA
    e45034f View commit details
    Browse the repository at this point in the history
  83. Configuration menu
    Copy the full SHA
    142a67e View commit details
    Browse the repository at this point in the history
  84. Configuration menu
    Copy the full SHA
    f8138f8 View commit details
    Browse the repository at this point in the history
  85. Configuration menu
    Copy the full SHA
    b33c228 View commit details
    Browse the repository at this point in the history
  86. Added support for FRM303.

    richardclli committed Aug 24, 2023
    Configuration menu
    Copy the full SHA
    725b1c5 View commit details
    Browse the repository at this point in the history
  87. Fixed MPM module.

    richardclli committed Aug 24, 2023
    Configuration menu
    Copy the full SHA
    607da23 View commit details
    Browse the repository at this point in the history
  88. Configuration menu
    Copy the full SHA
    6859beb View commit details
    Browse the repository at this point in the history
  89. Configuration menu
    Copy the full SHA
    66236ae View commit details
    Browse the repository at this point in the history
  90. Configuration menu
    Copy the full SHA
    3ce7f51 View commit details
    Browse the repository at this point in the history
  91. Configuration menu
    Copy the full SHA
    9bcdf15 View commit details
    Browse the repository at this point in the history
  92. Configuration menu
    Copy the full SHA
    f47e0da View commit details
    Browse the repository at this point in the history
  93. Configuration menu
    Copy the full SHA
    2dc71a9 View commit details
    Browse the repository at this point in the history
  94. Configuration menu
    Copy the full SHA
    a5ae397 View commit details
    Browse the repository at this point in the history
  95. Configuration menu
    Copy the full SHA
    8fda011 View commit details
    Browse the repository at this point in the history
  96. Updated YAML definition.

    richardclli committed Aug 24, 2023
    Configuration menu
    Copy the full SHA
    18e3615 View commit details
    Browse the repository at this point in the history
  97. Fixed some PL18 problems.

    richardclli committed Aug 24, 2023
    Configuration menu
    Copy the full SHA
    cafeb87 View commit details
    Browse the repository at this point in the history