Skip to content

Commit 4c6f94c

Browse files
authored
Update flash_program.c
minor comment tweak
1 parent a835597 commit 4c6f94c

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

flash/program/flash_program.c

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -52,7 +52,8 @@ int main() {
5252
// Note that a whole number of sectors must be erased at a time.
5353
printf("\nErasing target region...\n");
5454

55-
// Flash is "execute in place" and so will be in use when any code runs, e.g. an interrupt handler or code running on a different core
55+
// Flash is "execute in place" and so will be in use when any code that is stored in flash runs, e.g. an interrupt handler
56+
// or code running on a different core.
5657
// Calling flash_range_erase or flash_range_program at the same time as flash is running code would cause a crash.
5758
// flash_safe_execute disables interrupts and tries to cooperate with the other core to ensure flash is not in use
5859
// See the documentation for flash_safe_execute and its assumptions and limitations

0 commit comments

Comments
 (0)