Skip to content

Feature/button and timer task config#90

Merged
finger563 merged 3 commits intomainfrom
feature/button-and-timer-task-config
Jul 13, 2023
Merged

Feature/button and timer task config#90
finger563 merged 3 commits intomainfrom
feature/button-and-timer-task-config

Conversation

@finger563
Copy link
Contributor

Description

  • Add task priority and core id (defaults to Task::Config defaults of 0 and -1 respectively) to the button config to allow users to customize the task configuration for the button if they wish.
    • Add task priority and core id (defaults to Task::Config defaults of 0 and -1 respectively) to the timer config to allow users to customize the task configuration for the timer if they wish.

Motivation and Context

This allows users to adjust the priority and optionally pin the associated tasks to a specific core for both the Button and Timer components.

How has this been tested?

Building the respective examples.

Screenshots (if appropriate, e.g. schematic, board, console logs, lab pictures):

Types of changes

  • Bug fix (non-breaking change which fixes an issue)
  • New feature (non-breaking change which adds functionality)
  • Breaking change (fix or feature that would cause existing functionality to not work as expected)
  • Documentation Update
  • Hardware (schematic, board, system design) change
  • Software change

Checklist:

  • My change requires a change to the documentation.
  • I have added / updated the documentation related to this change via either README or WIKI

Software

  • I have added tests to cover my changes.
  • I have updated the .github/workflows/build.yml file to add my new test to the automated cloud build github action.
  • All new and existing tests passed.
  • My code follows the code style of this project.

* Add task priority and core id (defaults to Task::Config defaults of 0 and -1 respectively) to the button config to allow users to customize the task configuration for the button if they wish.
* Add task priority and core id (defaults to Task::Config defaults of 0 and -1 respectively) to the timer config to allow users to customize the task configuration for the timer if they wish.
@finger563 finger563 added enhancement New feature or request button timer labels Jul 13, 2023
@finger563 finger563 merged commit 612274c into main Jul 13, 2023
@finger563 finger563 deleted the feature/button-and-timer-task-config branch July 13, 2023 18:57
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

button enhancement New feature or request timer

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant