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

Clean up and extend RAMTRON driver #13621

Closed
wants to merge 26 commits into from

Commits on Mar 5, 2020

  1. AP_RAMTRON: Interpret RDID reg based on manufacturer

    While they share the same register maps, the FRAM devices from Cypress
    and Fujitsu return a different data structure when the RDID register is
    read.
    nexton-winjeel committed Mar 5, 2020
    Configuration menu
    Copy the full SHA
    ce15de4 View commit details
    Browse the repository at this point in the history
  2. Configuration menu
    Copy the full SHA
    df07aec View commit details
    Browse the repository at this point in the history
  3. Configuration menu
    Copy the full SHA
    1d7e3f9 View commit details
    Browse the repository at this point in the history
  4. Configuration menu
    Copy the full SHA
    7b6b4ba View commit details
    Browse the repository at this point in the history

Commits on Mar 6, 2020

  1. Configuration menu
    Copy the full SHA
    95abc66 View commit details
    Browse the repository at this point in the history
  2. Configuration menu
    Copy the full SHA
    18299f6 View commit details
    Browse the repository at this point in the history
  3. Configuration menu
    Copy the full SHA
    598376c View commit details
    Browse the repository at this point in the history
  4. AP_HAL_ChibiOS: Add hwdef param to panic if FRAM init fails

    This driver will panic if HAL_RAMTRON_NO_FALLBACK is defined in the
    hwdef.dat file and the RAMTRON initialisation fails. This prevents us
    from silently falling back to a potentially different parameter set and
    causing unexpected behaviour.
    nexton-winjeel committed Mar 6, 2020
    Configuration menu
    Copy the full SHA
    56e9070 View commit details
    Browse the repository at this point in the history
  5. AP_HAL_ChibiOS: Print console message to indicate which storage type …

    …is used
    
    Note: This usually won't get seen as the USB is not up when this is
    printed. However, adding a delay (of ~2s) into the main_loop() function
    in the HAL_ChibiOS_Class.cpp, just after the scheduler is initialised,
    will allow this message to be seen.
    nexton-winjeel committed Mar 6, 2020
    Configuration menu
    Copy the full SHA
    f67b742 View commit details
    Browse the repository at this point in the history
  6. AP_HAL_ChibiOS: Remove #error pragma for when no storage backend is d…

    …efined
    
    This #error pragma causes the Bootloader to fail, even though this file
    class isn't used by the Bootloader. However, it is included in the base
    AP_HAL definition that the Bootloader pulls in.
    nexton-winjeel committed Mar 6, 2020
    Configuration menu
    Copy the full SHA
    bd1f132 View commit details
    Browse the repository at this point in the history
  7. Configuration menu
    Copy the full SHA
    b3d2ec3 View commit details
    Browse the repository at this point in the history
  8. Configuration menu
    Copy the full SHA
    aa373d2 View commit details
    Browse the repository at this point in the history
  9. Configuration menu
    Copy the full SHA
    03105c6 View commit details
    Browse the repository at this point in the history
  10. AP_HAL_ChibiOS: Remove inline initialisation of VLAs

    Inline initialisation of VLAs will cause a compilation error under
    Clang, as it is not allowed according to the C specification. However,
    GCC will allow it.
    nexton-winjeel committed Mar 6, 2020
    Configuration menu
    Copy the full SHA
    ff29e83 View commit details
    Browse the repository at this point in the history
  11. AP_HAL_ChibiOS: Use ::printf() rather than HAL console

    ::printf() is available earlier than hal.console->printf() during boot.
    nexton-winjeel committed Mar 6, 2020
    Configuration menu
    Copy the full SHA
    9855f26 View commit details
    Browse the repository at this point in the history
  12. AP_HAL_ChibiOS: Invert naming and logic of FALLBACK define

    Change from HAL_RAMTRON_NO_FALLBACK to HAL_RAMTRON_ALLOW_FALLBACK.
    nexton-winjeel committed Mar 6, 2020
    Configuration menu
    Copy the full SHA
    a149a76 View commit details
    Browse the repository at this point in the history
  13. Configuration menu
    Copy the full SHA
    eb80ffe View commit details
    Browse the repository at this point in the history
  14. Configuration menu
    Copy the full SHA
    84008d9 View commit details
    Browse the repository at this point in the history
  15. Configuration menu
    Copy the full SHA
    d54fff0 View commit details
    Browse the repository at this point in the history
  16. Configuration menu
    Copy the full SHA
    1b00b26 View commit details
    Browse the repository at this point in the history
  17. Configuration menu
    Copy the full SHA
    c7aac16 View commit details
    Browse the repository at this point in the history
  18. Configuration menu
    Copy the full SHA
    09bbb92 View commit details
    Browse the repository at this point in the history
  19. Configuration menu
    Copy the full SHA
    6042ac8 View commit details
    Browse the repository at this point in the history
  20. Configuration menu
    Copy the full SHA
    77aea19 View commit details
    Browse the repository at this point in the history
  21. AP_RAMTRON: Add retries to init()

    This adds equivalent functionality that was originally added in:
    ArduPilot#13581
    nexton-winjeel committed Mar 6, 2020
    Configuration menu
    Copy the full SHA
    2dc533a View commit details
    Browse the repository at this point in the history
  22. AP_RAMTRON: Add retries to read()

    This adds equivalent functionality that was originally added in:
    ArduPilot#13581
    nexton-winjeel committed Mar 6, 2020
    Configuration menu
    Copy the full SHA
    528fe35 View commit details
    Browse the repository at this point in the history