Skip to content

Feature/ftp - #419

Draft
victorsowa12 wants to merge 5 commits into
developfrom
feature/ftp
Draft

Feature/ftp#419
victorsowa12 wants to merge 5 commits into
developfrom
feature/ftp

Conversation

@victorsowa12

Copy link
Copy Markdown
Collaborator

What changed?

How does it make Bristlemouth better?

Where should reviewers focus?

Checklist

  • Add or update unit tests for changed code
  • Ensure all submodules up to date. If this PR relies on changes in submodules, merge those PRs first, then point this PR at/after the merge commit
  • Ensure code is formatted correctly with clang-format. If there are large formatting changes, they should happen in a separate whitespace-only commit on this PR after all approvals.

… a bug in nvm that causes the size check to be too large - but this commit allows us to test file transfer larger than the chunk size, showing that they work!

bool NvmPartition::crc16(uint32_t offset, size_t len, uint16_t &crc, uint32_t timeoutMs) {
configASSERT(offset + len + (len % _storage_driver.getAlignmentBytes()) < _partition.fa_size);
configASSERT(offset + len < _partition.fa_size);

Copy link
Copy Markdown
Collaborator Author

Choose a reason for hiding this comment

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

not sure if this is an actual bug, but it prevented 2560 from being read/written to in the nvm.

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.

1 participant