Quantcast
Viewing all articles
Browse latest Browse all 20046

Re: How to remove Arduino sketch file size limitation?

I suspect that this is an oversight, but I can confirm that if you edit the line in arduino/hardware/arduino/x86/boards.txt, you can change it to something closer to 200MB:

 

izmir_fd.upload.maximum_size=200000000

 

I tested with this script:

 

int array[1000000];

 

void setup() {

  for (int i=0; i<1000000; ++i)

    array[i] = rand();

  Serial.begin(115200);

}

 

void loop() {

  for (int i=0; i<1000000; ++i)

    Serial.println(array[i]);

}


Viewing all articles
Browse latest Browse all 20046

Trending Articles