Skip to content

Commit

Permalink
[ion/device/n0110] Define OTP blocks in internal flash
Browse files Browse the repository at this point in the history
  • Loading branch information
GabrielNumworks committed Apr 16, 2021
1 parent e456667 commit 524a7d9
Showing 1 changed file with 10 additions and 0 deletions.
10 changes: 10 additions & 0 deletions ion/src/device/n0110/drivers/config/internal_flash.h
Original file line number Diff line number Diff line change
Expand Up @@ -16,6 +16,16 @@ constexpr static uint32_t SectorAddresses[NumberOfSectors+1] = {
0x08010000
};

constexpr static uint32_t OTPStartAddress = 0x1FF07800;
constexpr static uint32_t OTPLocksAddress = 0x1FF07A00;
constexpr static int NumberOfOTPBlocks = 16;
constexpr static uint32_t OTPAddresses[NumberOfOTPBlocks] = {
0x1FF07800, 0x1FF07820, 0x1FF07840, 0x1FF07860,
0x1FF07880, 0x1FF078A0, 0x1FF078C0, 0x1FF078E0,
0x1FF07900, 0x1FF07920, 0x1FF07940, 0x1FF07960,
0x1FF07980, 0x1FF079A0, 0x1FF079C0, 0x1FF079E0,
};

}
}
}
Expand Down

0 comments on commit 524a7d9

Please sign in to comment.