mirror of
https://github.com/logicog/RTLPlayground.git
synced 2026-08-30 14:52:51 +08:00
Merge pull request #165 from feelfree69/bank0_overflow
Fail building image on BANK0 overflow
This commit is contained in:
@@ -112,8 +112,8 @@ int main(int argc, char **argv)
|
||||
}
|
||||
for (int b = BANK0_SIZE; b < BANK_STRIDE + BANK0_SIZE; b ++) {
|
||||
if (buffer[b]) {
|
||||
printf("WARNING: Bank 0: code segment too large at 0x%x!\n", b);
|
||||
break;
|
||||
printf("Error: Bank 0: code segment too large at 0x%x!\n", b);
|
||||
return 5;
|
||||
}
|
||||
}
|
||||
for (int bank = 1; bank <= nbanks; bank++) {
|
||||
|
||||
Reference in New Issue
Block a user