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

Lpc17xx40xx eeprom emulation hassert bug #664

Merged
merged 25 commits into from
Oct 7, 2022
Merged
Changes from all commits
Commits
Show all changes
25 commits
Select commit Hold shift + click to select a range
55e7147
Fix OpenMRNLite problem -- need to #undef DEFAULT
RobertPHeller Nov 8, 2020
805edc6
Alternitive fix: change the DEFAULT enum in enum class WlanRole to DE…
RobertPHeller Nov 8, 2020
aa774a5
Merge remote-tracking branch 'upstream/master'
RobertPHeller Nov 15, 2020
b3ab5cc
Protect unimplemented POSIX calls in BroadcastTime::clear_timezone() …
RobertPHeller Nov 16, 2020
63aca21
Protect unimplemented POSIX calls in BroadcastTime::clear_timezone() …
RobertPHeller Nov 16, 2020
744c372
Merge remote-tracking branch 'upstream/master'
RobertPHeller Nov 21, 2020
3c2fa8d
Merge remote-tracking branch 'upstream/master'
RobertPHeller Nov 22, 2020
c69a728
Merge remote-tracking branch 'upstream/master'
RobertPHeller Nov 22, 2020
e702088
Merge remote-tracking branch 'upstream/master'
RobertPHeller Nov 23, 2020
fcad928
Merge remote-tracking branch 'upstream/master'
RobertPHeller Nov 25, 2020
fee89f6
Merge remote-tracking branch 'upstream/master'
RobertPHeller Mar 14, 2021
9747f2f
Merge remote-tracking branch 'upstream/master'
RobertPHeller Apr 24, 2021
f2d5acf
Merge remote-tracking branch 'upstream/master'
RobertPHeller May 9, 2021
9b4e25c
Merge remote-tracking branch 'upstream/master'
RobertPHeller May 29, 2021
bcf47ae
Merge remote-tracking branch 'upstream/master'
RobertPHeller Oct 24, 2021
06dee1a
Merge remote-tracking branch 'upstream/master'
RobertPHeller Nov 7, 2021
f12ef78
Merge remote-tracking branch 'upstream/master'
RobertPHeller Dec 5, 2021
2311b9f
Merge remote-tracking branch 'upstream/master'
RobertPHeller Jul 5, 2022
f8685a1
Merge remote-tracking branch 'upstream/master'
RobertPHeller Aug 4, 2022
73e3c0d
Merge remote-tracking branch 'upstream/master'
RobertPHeller Aug 22, 2022
2687a4f
Merge remote-tracking branch 'upstream/master'
RobertPHeller Sep 11, 2022
42418b7
Merge remote-tracking branch 'upstream/master'
RobertPHeller Sep 26, 2022
08bd6bd
Merge remote-tracking branch 'upstream/master'
RobertPHeller Sep 27, 2022
2d768b2
Fix HASSERT bug in Lpc17xx40xxEEPROMEmulation.cxx
RobertPHeller Oct 7, 2022
e83b7e1
Merge branch 'bakerstu:master' into Lpc17xx40xxEEPROMEmulation-HASSER…
RobertPHeller Oct 7, 2022
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion src/freertos_drivers/nxp/Lpc17xx40xxEEPROMEmulation.cxx
Original file line number Diff line number Diff line change
Expand Up @@ -124,7 +124,7 @@ void LpcEEPROMEmulation::flash_program(
{
HASSERT(relative_sector < sectorCount_);
HASSERT((byte_count % BLOCK_SIZE) == 0);
HASSERT(start_block + (byte_count / BLOCK_SIZE) < rawBlockCount_);
HASSERT(start_block + (byte_count / BLOCK_SIZE) <= rawBlockCount_);
auto* address = get_block(relative_sector, start_block);

/* make sure we have the correct frequency */
Expand Down