main()
function. If you
want to change the name of the initial file, just edit the main file name afterward.
Press OK when you are satisfied with the settings.See section Starting a New GCC Static Library Project to learn more about Static Library projects.
In the ASF Wizard you can select which Drivers, Components, and Services you would like to use in the project for current build architecture and board.
#define MAXINT 200000 int main(void) { unsigned int t=1000, k=0, l=5, pn=2; unsigned int primes[t]; primes[0]=2; primes[1]=3; while (pn < t || primes[pn] < MAXINT) { for ( k = 0; k <= pn; k++) { if (l % primes[k] == 0) { goto otog; } else { if (k == pn) primes[pn++]=l; } } otog: l += 2; } return 0; }
Dependencies
All the included files are listed here. Double-click on any file to open it in the editor.
Output Files
All output files will be displayed below this item.
Libraries
All Static Library files, Toolchain Library, and other Library Files will be displayed below this item.
See section Library Options to know more about Library options.