Skip to content

feat(button): update config#75

Merged
finger563 merged 1 commit intomainfrom
feature/button
Jun 22, 2023
Merged

feat(button): update config#75
finger563 merged 1 commit intomainfrom
feature/button

Conversation

@finger563
Copy link
Contributor

Description

  • Allow button task stack size to be configured
  • Rebuild docs

Motivation and Context

Right now the Button task had a fixed stack size of 4KB, which works for simple examples, but if the user starts doing a lot of processing / utilizing a lot of stack within the callback function provided then the task can run out of stack space. This update allows the user to customize the amount of stack space allocated to the button task.

How has this been tested?

Building the button example.

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.

* Allow button task stack size to be configured
* Rebuild docs
@finger563 finger563 added enhancement New feature or request button labels Jun 22, 2023
@finger563 finger563 merged commit a2dabbc into main Jun 22, 2023
@finger563 finger563 deleted the feature/button branch June 22, 2023 21:56
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

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant