Skip to content

GCC Project

Georgi Angelov edited this page Jul 2, 2019 · 3 revisions

Create New Project

  • PlatformIO Home - New Project
    • Name: HelloWorld
    • Board: GCC Project (search wizio)
    • Framework: gcc

View project INI file

[env:gcc]
platform = wizio
board = gcc
framework = gcc
;build_flags = -D SOME_VAL=1024

Source

#include <stdio.h>
#include <windows.h> // for Sleep()

int main()
{
    printf("GCC Hello World\n");
    while (1)
    {
        printf("Loop ");
        Sleep(5000);
    }
    return 0;
}

click [ BUILD ] or [ UPLOAD ] to RUN application

Clone this wiki locally