Skip to content

led3: thread type fix #104

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

Merged
merged 3 commits into from
Jul 4, 2018
Merged

led3: thread type fix #104

merged 3 commits into from
Jul 4, 2018

Conversation

0xc0170
Copy link
Contributor

@0xc0170 0xc0170 commented Jul 4, 2018

Do not use internal rtx type. This will be removed from our includes soon.

Do not use internal rtx type. This will be removed from our includes soon.
@0xc0170
Copy link
Contributor Author

0xc0170 commented Jul 4, 2018

The cleanup happens ARMmbed/mbed-os#7364. This fix however do not require it, as the mbed thread storage type is already in the codebase just not used here

@orenc17
Copy link

orenc17 commented Jul 4, 2018

/morph uvisor-test

orenc17
orenc17 previously approved these changes Jul 4, 2018
@0xc0170
Copy link
Contributor Author

0xc0170 commented Jul 4, 2018

All green , should be good to go

alzix
alzix previously approved these changes Jul 4, 2018
source/led3.cpp Outdated
@@ -62,7 +62,7 @@ static void led3_main(const void *)
SecureAllocator alloc = secure_allocator_create_with_pages(4 * kB, 1 * kB);
/* Prepare the thread definition structure. */
osThreadAttr_t thread_attr = {0};
mbed_rtos_storage_thread_t thread_def = {0};
Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I think we should use this mbed storage instead, so no RTX types

Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Oren. I was about to send same comment. But Martin was faster.
This is mbed-os-example-* mbed-os types are most appropriate here.

@alzix alzix dismissed stale reviews from orenc17 and themself via c5d0262 July 4, 2018 11:47
@alzix
Copy link
Contributor

alzix commented Jul 4, 2018

/morph uvisor-test

@alzix alzix merged commit d8ffa32 into ARMmbed:master Jul 4, 2018
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants