I was building an application locally using netbeans on ubuntu with core branch of context-switching (for some reason I switched from master). The problem is as the code size of my application increased, I run into “region ‘FLASH’ overflow by 108234 bytes” error.
In the post https://community.spark.io/t/union-supported-by-compiler/2714, people mentioned that the problem is fixed on the latest release of the master branch. I switched back to that branch and the code compiled without overflow error.
But after I load the code to the spark board, the program didnt work as expected . For test, I compiled a simple LED blink code. It is not able to work using the master branch while it works with the context-switching branch.
I couldnot figure out what the problem is. Any idea?