solarcaratuva / Rivanna2

Embedded system code for Rivanna 2
5 stars 1 forks source link

Correct maximum flash size #157

Closed edward-noe closed 2 years ago

edward-noe commented 2 years ago

This commit corrects the amount of flash memory we have available. Our chips have 256KB of flash, but only 128KB is available in dual-bank mode, which we are running. We could enable single-bank mode to increase the available amount, but we can only use 128KB at the moment.

Prior to this commit, the maximum size was 512KB, likely because we are using a slightly different MCU than planned.