Title: Issue · GitHub
Open Graph Title: Issue · feilipu/Arduino_FreeRTOS_Library
X Title: Issue · feilipu/Arduino_FreeRTOS_Library
Description: A FreeRTOS Library for all Arduino ATmega Devices (Uno R3, Leonardo, Mega, etc). - Issue · feilipu/Arduino_FreeRTOS_Library
Open Graph Description: A FreeRTOS Library for all Arduino ATmega Devices (Uno R3, Leonardo, Mega, etc). - Issue · feilipu/Arduino_FreeRTOS_Library
X Description: A FreeRTOS Library for all Arduino ATmega Devices (Uno R3, Leonardo, Mega, etc). - Issue · feilipu/Arduino_FreeRTOS_Library
Opengraph URL: https://github.com/feilipu/Arduino_FreeRTOS_Library
X: @github
Domain: github.com
{"@context":"https://schema.org","@type":"DiscussionForumPosting","headline":"`megaavr` support","articleBody":"Hi Phillip,\r\n\r\nI recently got hold of some AVR128DB28. Though they are pretty new, Spence Konde already supports them with [DxCore](https://github.com/SpenceKonde/DxCore). They belong to the `megaavr` family of controllers that feature a PIT instead of a WDT.\r\n\r\nI'm trying to port the Arduino_FreeRTOS_Library to the PIT and have started a branch [here](https://github.com/Floessie/Arduino_FreeRTOS_Library/tree/megaavr). It's completely WIP, but already compiles and runs for a few ticks.\r\n\r\nThe first nicety I came across was that `megaavr`s have a \"Timer/Counter type B\" which is defined as `TCB_t` in the toolchain headers. :unamused: I've thus renamed FreeRTOS' `TCB_t`, but there must be a better workaround.\r\n\r\nNow the problem is the premature halt after some ticks. Seems like the serial freaks out although there's no output from the blink task, then the PIT interrupt stops. Can you give me some hints concerning debugging or architectural differences between `avr` and `megaavr`?\r\n\r\nBest,\r\nFlössie","author":{"url":"https://github.com/Floessie","@type":"Person","name":"Floessie"},"datePublished":"2020-12-11T16:22:27.000Z","interactionStatistic":{"@type":"InteractionCounter","interactionType":"https://schema.org/CommentAction","userInteractionCount":8},"url":"https://github.com/88/Arduino_FreeRTOS_Library/issues/88"}
| route-pattern | /:user_id/:repository/issues/:id(.:format) |
| route-controller | issues |
| route-action | show |
| fetch-nonce | v2:35dffec7-966f-3485-82bf-ae7eb83f480b |
| current-catalog-service-hash | 81bb79d38c15960b92d99bca9288a9108c7a47b18f2423d0f6438c5b7bcd2114 |
| request-id | 95A0:1E2ADA:C7AB85:113E5E5:6A61A4B7 |
| html-safe-nonce | d0169889b83f80e79daa6f52976d81083169493100e405e5a09f57378ae7f77f |
| visitor-payload | eyJyZWZlcnJlciI6IiIsInJlcXVlc3RfaWQiOiI5NUEwOjFFMkFEQTpDN0FCODU6MTEzRTVFNTo2QTYxQTRCNyIsInZpc2l0b3JfaWQiOiIzNjkyOTAyMTM2NjAwOTYyMjMxIiwicmVnaW9uX2VkZ2UiOiJpYWQiLCJyZWdpb25fcmVuZGVyIjoiaWFkIn0= |
| visitor-hmac | 3627dbb24978feee03aa5cab905ceeab37acd655f58dcaa6f5f80cb1f7113601 |
| hovercard-subject-tag | repository:46898167 |
| github-keyboard-shortcuts | repository,issues,copilot |
| google-site-verification | Apib7-x98H0j5cPqHWwSMm6dNU4GmODRoqxLiDzdx9I |
| octolytics-url | https://collector.github.com/github/collect |
| analytics-location | / |
| fb:app_id | 1401488693436528 |
| apple-itunes-app | app-id=1477376905, app-argument=https://github.com/feilipu/Arduino_FreeRTOS_Library/issues/88 |
| twitter:image | https://opengraph.githubassets.com/2343a7fc91e5d3446dd773b5b452d9301c2e948b616eea0244c06c108ba272a7/feilipu/Arduino_FreeRTOS_Library |
| twitter:card | summary_large_image |
| og:image | https://opengraph.githubassets.com/2343a7fc91e5d3446dd773b5b452d9301c2e948b616eea0244c06c108ba272a7/feilipu/Arduino_FreeRTOS_Library |
| og:image:alt | A FreeRTOS Library for all Arduino ATmega Devices (Uno R3, Leonardo, Mega, etc). - Issue · feilipu/Arduino_FreeRTOS_Library |
| og:image:width | 1200 |
| og:image:height | 600 |
| og:site_name | GitHub |
| og:type | object |
| hostname | github.com |
| expected-hostname | github.com |
| None | 6f4633bcf01c1ad14b73fd07dd39ac31d61f3d3c2578ee08ec1792b7b351eeb9 |
| turbo-cache-control | no-cache |
| go-import | github.com/feilipu/Arduino_FreeRTOS_Library git https://github.com/feilipu/Arduino_FreeRTOS_Library.git |
| octolytics-dimension-user_id | 3955592 |
| octolytics-dimension-user_login | feilipu |
| octolytics-dimension-repository_id | 46898167 |
| octolytics-dimension-repository_nwo | feilipu/Arduino_FreeRTOS_Library |
| octolytics-dimension-repository_public | true |
| octolytics-dimension-repository_is_fork | false |
| octolytics-dimension-repository_network_root_id | 46898167 |
| octolytics-dimension-repository_network_root_nwo | feilipu/Arduino_FreeRTOS_Library |
| turbo-body-classes | logged-out env-production page-responsive |
| disable-turbo | false |
| browser-stats-url | https://api.github.com/_private/browser/stats |
| browser-errors-url | https://api.github.com/_private/browser/errors |
| release | ac296ae7f21856f1f92adbad22f870b6fbb4b907 |
| ui-target | full |
| theme-color | #1e2327 |
| color-scheme | light dark |
Links:
Viewport: width=device-width