Skip to content

Commit

Permalink
bricks/ev3rt/app: Fix code start area not set.
Browse files Browse the repository at this point in the history
There isn't any code for this build but we should still set it to ensure a code size of 0.
  • Loading branch information
laurensvalk committed Oct 15, 2024
1 parent 34bc5c4 commit c0b7ca9
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions bricks/ev3rt/app.c
Original file line number Diff line number Diff line change
Expand Up @@ -27,6 +27,7 @@ void main_task(intptr_t unused) {
while (true) {
pbsys_main_program_t program = {
.id = PBIO_PYBRICKS_USER_PROGRAM_ID_REPL,
.code_start = heap,
.code_end = heap,
.user_ram_start = heap,
.user_ram_end = heap + sizeof(heap),
Expand Down

0 comments on commit c0b7ca9

Please sign in to comment.