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

Upgrade to ChibiOS 17.6.3 #2025

Open
wants to merge 43 commits into
base: next
Choose a base branch
from
Open

Commits on Apr 14, 2018

  1. RTOS: Remove ChibiOS 2.6.6

    glowtape committed Apr 14, 2018
    Configuration menu
    Copy the full SHA
    7f71a65 View commit details
    Browse the repository at this point in the history
  2. RTOS: Add ChibiOS 17.6.3

    glowtape committed Apr 14, 2018
    Configuration menu
    Copy the full SHA
    463e649 View commit details
    Browse the repository at this point in the history
  3. Configuration menu
    Copy the full SHA
    e16f726 View commit details
    Browse the repository at this point in the history
  4. ChibiOS,stm32_registry: Prevent redefinition of STM32F40_41xxx

    The way ChibiOS and our CMSIS/StdPeriphs handle platform flags clashes. This is the easiest workaround with the least changes.
    glowtape committed Apr 14, 2018
    Configuration menu
    Copy the full SHA
    ce03587 View commit details
    Browse the repository at this point in the history
  5. Configuration menu
    Copy the full SHA
    3c568ca View commit details
    Browse the repository at this point in the history
  6. ChibiOS,HAL,F446: New ChibiOS suddenly has issues with HSECLK being a…

    …t 16000000 with the F446.
    
    The RE1 sets the HSE clock to 16MHz. ChibiOS 17.x does some more rigorous checks on the mcuconf.h settings than old ChibiOS 2.6, and considers this invalid. We already shipped it like that, though. So I assume this will work anyway, so this check is neutered for our only F446 target.
    
    Untested, because my RE1 is broken.
    glowtape committed Apr 14, 2018
    Configuration menu
    Copy the full SHA
    713caec View commit details
    Browse the repository at this point in the history
  7. pios_mutex: Rename types and calls, update unlocking next mutex metho…

    …d for new ChibiOS.
    
    chMtxUnlock() can't be called without arguments anymore.
    glowtape committed Apr 14, 2018
    Configuration menu
    Copy the full SHA
    cea64dd View commit details
    Browse the repository at this point in the history
  8. Configuration menu
    Copy the full SHA
    6f7456d View commit details
    Browse the repository at this point in the history
  9. Configuration menu
    Copy the full SHA
    8e38a0c View commit details
    Browse the repository at this point in the history
  10. Configuration menu
    Copy the full SHA
    99abbf1 View commit details
    Browse the repository at this point in the history
  11. Configuration menu
    Copy the full SHA
    4261424 View commit details
    Browse the repository at this point in the history
  12. pios: Updated ChibiOS configuration headers (chconf.h, halconf.h)

    Memcore is now enabled, new ChibiOS makes this a dependency for Mempools.
    glowtape committed Apr 14, 2018
    Configuration menu
    Copy the full SHA
    8b13690 View commit details
    Browse the repository at this point in the history
  13. Configuration menu
    Copy the full SHA
    10c7be0 View commit details
    Browse the repository at this point in the history
  14. all targets: Makefile changes, introduce $STM32_SUBTYPE, make non-F4 …

    …use $STM32_TYPE
    
    STM32_TYPE is being defined for all targets, but only the F4 makefiles reference it, the others specify the hosted value statically inside their makefile. Changed that for consistency.
    
    Added STM32_SUBTYPE, to support the stm32_registry stuff in ChibiOS, to be able to define both STM32F405xx and STM32F40_41xxx cleanly together.
    glowtape committed Apr 14, 2018
    Configuration menu
    Copy the full SHA
    8bed3a6 View commit details
    Browse the repository at this point in the history
  15. Configuration menu
    Copy the full SHA
    53ff02e View commit details
    Browse the repository at this point in the history
  16. Configuration menu
    Copy the full SHA
    21d07d7 View commit details
    Browse the repository at this point in the history
  17. Configuration menu
    Copy the full SHA
    a5ed161 View commit details
    Browse the repository at this point in the history
  18. F4: Fix linker script lookup. Specify some startup defines.

    Assuming we're going generally F405 all the way for the F4.
    
    We don't clear the heap (yet?).
    glowtape committed Apr 14, 2018
    Configuration menu
    Copy the full SHA
    d757e00 View commit details
    Browse the repository at this point in the history
  19. Configuration menu
    Copy the full SHA
    2383793 View commit details
    Browse the repository at this point in the history
  20. Configuration menu
    Copy the full SHA
    332b34d View commit details
    Browse the repository at this point in the history
  21. Configuration menu
    Copy the full SHA
    7f5aec7 View commit details
    Browse the repository at this point in the history
  22. Configuration menu
    Copy the full SHA
    8a7fe22 View commit details
    Browse the repository at this point in the history
  23. Configuration menu
    Copy the full SHA
    f043f65 View commit details
    Browse the repository at this point in the history
  24. Configuration menu
    Copy the full SHA
    a55c893 View commit details
    Browse the repository at this point in the history
  25. Configuration menu
    Copy the full SHA
    6dd7b2d View commit details
    Browse the repository at this point in the history
  26. Configuration menu
    Copy the full SHA
    d112bd8 View commit details
    Browse the repository at this point in the history
  27. Configuration menu
    Copy the full SHA
    52a082c View commit details
    Browse the repository at this point in the history
  28. Configuration menu
    Copy the full SHA
    2966618 View commit details
    Browse the repository at this point in the history
  29. sparky: Adapt to new USB IRQ handling, axed two modules to save flash…

    … space.
    
    Storm32Bgc and VtolPathFollower got axed to make it fit the flash image.
    glowtape committed Apr 14, 2018
    Configuration menu
    Copy the full SHA
    c4cfaf0 View commit details
    Browse the repository at this point in the history
  30. Configuration menu
    Copy the full SHA
    402f588 View commit details
    Browse the repository at this point in the history
  31. Configuration menu
    Copy the full SHA
    40e1eed View commit details
    Browse the repository at this point in the history
  32. F1,ChibiOS,stm32_registry: Stop it from whining about platform flags.

    I'm not sure what specific MCU the pipXtreme uses to fix it properly, but STM32F10X_MD needs to be defined anyway for the older CMSIS, so there's a need to touch that header anyway.
    glowtape committed Apr 14, 2018
    Configuration menu
    Copy the full SHA
    ec60584 View commit details
    Browse the repository at this point in the history
  33. Configuration menu
    Copy the full SHA
    5a8600c View commit details
    Browse the repository at this point in the history
  34. pipxtreme: Updated chconf.h and mcuconf.h, resolve variable conflict …

    …between cmsis_system.c and HAL.
    glowtape committed Apr 14, 2018
    Configuration menu
    Copy the full SHA
    00a02b8 View commit details
    Browse the repository at this point in the history

Commits on Apr 15, 2018

  1. Configuration menu
    Copy the full SHA
    3467596 View commit details
    Browse the repository at this point in the history
  2. Configuration menu
    Copy the full SHA
    98de70b View commit details
    Browse the repository at this point in the history

Commits on Apr 17, 2018

  1. pios_thread: Fix SNAFU, ticks_total was our own field. (fixup)

    Fixes CPU time accounting for modules in TaskInfo.RunningTime.
    glowtape committed Apr 17, 2018
    Configuration menu
    Copy the full SHA
    3eb5fa9 View commit details
    Browse the repository at this point in the history
  2. Configuration menu
    Copy the full SHA
    b4e69d0 View commit details
    Browse the repository at this point in the history
  3. pios_thread: Use ChibiOS' allocator for aligned alloc. Store stack lo…

    …cation.
    
    ChibiOS 17 moved the thread_t structure from the top of the stack to the bottom. Need to know where stack starts for PIOS_Thread_Get_Stack_Usage. Fixes TaskInfo.StackRemaining.
    glowtape committed Apr 17, 2018
    Configuration menu
    Copy the full SHA
    30d977f View commit details
    Browse the repository at this point in the history
  4. Configuration menu
    Copy the full SHA
    31298ca View commit details
    Browse the repository at this point in the history
  5. Configuration menu
    Copy the full SHA
    1d90679 View commit details
    Browse the repository at this point in the history
  6. Configuration menu
    Copy the full SHA
    330d942 View commit details
    Browse the repository at this point in the history
  7. chibios: Default MSP init to on.

    This is fixed upstream apparently.
    glowtape committed Apr 17, 2018
    Configuration menu
    Copy the full SHA
    69fad6a View commit details
    Browse the repository at this point in the history