Update sample projects to cmake
This commit is contained in:
@@ -1,16 +0,0 @@
|
||||
|
||||
// ****************************************************************************
|
||||
//
|
||||
// Common definitions
|
||||
//
|
||||
// ****************************************************************************
|
||||
|
||||
// ----------------------------------------------------------------------------
|
||||
// Includes
|
||||
// ----------------------------------------------------------------------------
|
||||
|
||||
#include "../../global.h" // global common definitions
|
||||
#include "../vga.pio.h" // VGA PIO compilation
|
||||
|
||||
// main
|
||||
#include "main.h" // main code
|
||||
@@ -5,7 +5,8 @@
|
||||
//
|
||||
// ****************************************************************************
|
||||
|
||||
#include "include.h"
|
||||
#include "main.h"
|
||||
#include <string.h>
|
||||
|
||||
// copy of images
|
||||
ALIGNED u8 Repro1Img_Copy[sizeof(Repro1Img)];
|
||||
@@ -121,7 +122,7 @@ int main()
|
||||
CopyWhiteImg(Repro3Img_Copy, Repro3Img, sizeof(Repro3Img));
|
||||
|
||||
// run VGA core
|
||||
multicore_launch_core1(VgaCore);
|
||||
StartVgaCore();
|
||||
|
||||
// initialize videomode
|
||||
VideoInit();
|
||||
|
||||
@@ -8,6 +8,8 @@
|
||||
#ifndef _MAIN_H
|
||||
#define _MAIN_H
|
||||
|
||||
#include "picovga.h"
|
||||
|
||||
// screen resolution
|
||||
#define WIDTH 512 // screen width
|
||||
#define HEIGHT 336 // screen height
|
||||
|
||||
Reference in New Issue
Block a user