mirror of
https://github.com/UpsilonNumworks/Upsilon.git
synced 2026-01-18 16:27:34 +01:00
Multiple platform support
This commit is contained in:
@@ -1,10 +1,28 @@
|
||||
#ifndef KANDINSKY_CONFIG_H
|
||||
#define KANDINSKY_CONFIG_H
|
||||
|
||||
#ifdef KD_CONFIG_H
|
||||
#include "kandinsky_config.h"
|
||||
#endif
|
||||
|
||||
#ifndef KD_FRAMEBUFFER_ADDRESS
|
||||
#error Kandinsky expects KD_FRAMEBUFFER_ADDRESS to be defined to the start of the framebuffer
|
||||
#endif
|
||||
|
||||
#ifndef KD_FRAMEBUFFER_WIDTH
|
||||
#error Kandinsky expects KD_FRAMEBUFFER_WIDTH to be defined to the width of the framebuffer
|
||||
#endif
|
||||
|
||||
// FIXME: #define this
|
||||
typedef uint8_t KDColor;
|
||||
|
||||
/*
|
||||
#include <platform/platform.h>
|
||||
|
||||
#define KD_FRAMEBUFFER_ADDRESS Platform.framebuffer_address
|
||||
#define KD_FRAMEBUFFER_WIDTH Platform.framebuffer_width
|
||||
typedef uint8_t KDColor;
|
||||
|
||||
*/
|
||||
|
||||
#endif
|
||||
|
||||
Reference in New Issue
Block a user