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

Board config: timer config simplifications #13871

Merged
merged 33 commits into from Feb 13, 2020
Merged

Commits on Feb 13, 2020

  1. crazyflie: fix PWM channel ordering

    Channels belonging to a certain timer were not all grouped together.
    This is required by the .first_channel_index and .last_channel_index data
    members.
    
    We introduce a new mixer geometry to solve the problem.
    bkueng committed Feb 13, 2020
    Configuration menu
    Copy the full SHA
    db3947b View commit details
    Browse the repository at this point in the history
  2. Configuration menu
    Copy the full SHA
    657bf38 View commit details
    Browse the repository at this point in the history
  3. io timer: remove some fields from io_timers_t and split out channel i…

    …ndexes
    
    - reduces amount of board configuration required
    - removes the cyclic dependency between io_timers_t and timer_io_channels_t
    
    Fixes a bug in the fmuk66-v3 config: the 2. timer has 3 channels associated
    not 2.
    Fixes a bug in the modelai config: the 2. timer has 4 channels associated.
    bkueng committed Feb 13, 2020
    Configuration menu
    Copy the full SHA
    b231bdd View commit details
    Browse the repository at this point in the history
  4. io pins: avoid using GPIO_GPIOx_OUTPUT, use timer_io_channels instead

    The whole system now uses timer_io_channels, which will allow the redundant
    GPIO_GPIOx_OUTPUT definitions to be removed.
    bkueng committed Feb 13, 2020
    Configuration menu
    Copy the full SHA
    b252311 View commit details
    Browse the repository at this point in the history
  5. px4_micro_hal: add PX4_MAKE_GPIO_INPUT and PX4_MAKE_GPIO_OUTPUT

    Instead of using macros defined in the board config.
    bkueng committed Feb 13, 2020
    Configuration menu
    Copy the full SHA
    0adb510 View commit details
    Browse the repository at this point in the history
  6. px4_arch: add hw description constexpr util methods

    These will be used in the board configurations.
    bkueng committed Feb 13, 2020
    Configuration menu
    Copy the full SHA
    ef928eb View commit details
    Browse the repository at this point in the history
  7. Configuration menu
    Copy the full SHA
    9320eb9 View commit details
    Browse the repository at this point in the history
  8. Configuration menu
    Copy the full SHA
    675b86e View commit details
    Browse the repository at this point in the history
  9. Configuration menu
    Copy the full SHA
    959babf View commit details
    Browse the repository at this point in the history
  10. Configuration menu
    Copy the full SHA
    8616242 View commit details
    Browse the repository at this point in the history
  11. Configuration menu
    Copy the full SHA
    6dd1f14 View commit details
    Browse the repository at this point in the history
  12. Configuration menu
    Copy the full SHA
    d457c63 View commit details
    Browse the repository at this point in the history
  13. Configuration menu
    Copy the full SHA
    d46aa03 View commit details
    Browse the repository at this point in the history
  14. Configuration menu
    Copy the full SHA
    5b82f6b View commit details
    Browse the repository at this point in the history
  15. Configuration menu
    Copy the full SHA
    b2f1e13 View commit details
    Browse the repository at this point in the history
  16. Configuration menu
    Copy the full SHA
    a159661 View commit details
    Browse the repository at this point in the history
  17. Configuration menu
    Copy the full SHA
    84d7339 View commit details
    Browse the repository at this point in the history
  18. Configuration menu
    Copy the full SHA
    c6b9c08 View commit details
    Browse the repository at this point in the history
  19. Configuration menu
    Copy the full SHA
    2c4c98e View commit details
    Browse the repository at this point in the history
  20. Configuration menu
    Copy the full SHA
    9a275ef View commit details
    Browse the repository at this point in the history
  21. Configuration menu
    Copy the full SHA
    df08c2c View commit details
    Browse the repository at this point in the history
  22. Configuration menu
    Copy the full SHA
    5bc9eb4 View commit details
    Browse the repository at this point in the history
  23. Configuration menu
    Copy the full SHA
    5356b0d View commit details
    Browse the repository at this point in the history
  24. Configuration menu
    Copy the full SHA
    00abc07 View commit details
    Browse the repository at this point in the history
  25. Configuration menu
    Copy the full SHA
    51dadc1 View commit details
    Browse the repository at this point in the history
  26. Configuration menu
    Copy the full SHA
    6c1bd46 View commit details
    Browse the repository at this point in the history
  27. Configuration menu
    Copy the full SHA
    ae1b456 View commit details
    Browse the repository at this point in the history
  28. nuttx configs: disable nuttx timers which are used for PWM output

    These are not required, and to be consistent we enforce disabling them now.
    bkueng committed Feb 13, 2020
    Configuration menu
    Copy the full SHA
    7634dad View commit details
    Browse the repository at this point in the history
  29. imxrt io_timer: remove some fields from io_timers_t and split out cha…

    …nnel indexes
    
    IOMUX uses different enumeration from GPIO pin + port, so we cannot use
    .gpio_out, and add a .gpio_portpin.
    bkueng committed Feb 13, 2020
    Configuration menu
    Copy the full SHA
    8b661ce View commit details
    Browse the repository at this point in the history
  30. Configuration menu
    Copy the full SHA
    6d5aceb View commit details
    Browse the repository at this point in the history
  31. Configuration menu
    Copy the full SHA
    e7ebea0 View commit details
    Browse the repository at this point in the history
  32. Configuration menu
    Copy the full SHA
    90b3822 View commit details
    Browse the repository at this point in the history
  33. Configuration menu
    Copy the full SHA
    aa224a0 View commit details
    Browse the repository at this point in the history