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

Pr option block cleanup #19

Closed

Conversation

fjmolinas
Copy link
Collaborator

Contribution description

This PR cleans up some duplicated code. If changes are agreed I will open a PR on master for the first commit adding the block2 wrapper.

Testing procedure

Follow examples/suit_update/README.md everything still works.

Issues/PRs references

kaspar030 and others added 30 commits June 28, 2019 21:09
Co-authored-by: Koen Zandberg <koen@bergzand.net>
kaspar030 and others added 20 commits June 28, 2019 21:09
Previously, boards with large flashpages (e.g., nrf52 with 4k) would
overflow their stack as a riotboot_flashpage_t structure containing a
FLASHPAGE_SIZE'ed buffer was allocated on stack.
This disables automatic use of the softdevice, which is currently not
working correctly in tandem with riotboot.
- If the file name extension is larger than 64 bytes
  handling of the url will fail because of SOCK_URLPATH_MAXLEN.
- update README according to new use case
In particular:
- add a table of contents
- rework the prerequisites section
- fix some inconsistencies
@kaspar030
Copy link
Collaborator

If changes are agreed I will open a PR on master for the first commit adding the block2 wrapper.

I kept this in suit/ as the change collides with @kb2ma's coap PR's...

@fjmolinas
Copy link
Collaborator Author

fjmolinas commented Jul 2, 2019

I kept this in suit/ as the change collides with @kb2ma's coap PR's...

Oh, I did not know that. So what is the plan then? Wait for RIOT-OS#11002 to get merged? Push RIOT-OS#11002 merge?

Are there other dependencies in suit code?

@kb2ma
Copy link

kb2ma commented Jul 2, 2019

Of course I would love to see progress toward merging RIOT-OS#11002 and the rest in the series, as shown in the last couple of comments on RIOT-OS#10732. I have time available at present for this work.

@fjmolinas
Copy link
Collaborator Author

@kb2ma great to hear that! I'll try to give it a review then!, I'll have to refresh my block-coap Knowledge before though.

@fjmolinas
Copy link
Collaborator Author

Closing in favor of #30

@fjmolinas fjmolinas closed this Jul 9, 2019
@fjmolinas fjmolinas deleted the pr_option_block_cleanup branch July 24, 2019 07:30
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.

6 participants