ram, instr reel, runtime, etc
This commit is contained in:
@@ -1,17 +1,5 @@
|
||||
#pragma once
|
||||
|
||||
// ========================================================== //
|
||||
// Compiling or Writing? //
|
||||
// ========================================================== //
|
||||
|
||||
#ifdef SPIDER_WRITING
|
||||
#error "[Spider Distro] Please do not set this macro."
|
||||
#endif
|
||||
|
||||
#ifndef SPIDER_COMPILING
|
||||
#define SPIDER_WRITING
|
||||
#endif
|
||||
|
||||
// ========================================================== //
|
||||
// Distro //
|
||||
// ========================================================== //
|
||||
@@ -43,11 +31,9 @@
|
||||
#define SPIDER_DISTRO_DESKTOP
|
||||
#define SPIDER_OS_LINUX
|
||||
#else
|
||||
// ========================================================== //
|
||||
// MUST be a microcontroller! //
|
||||
// ========================================================== //
|
||||
#include <spider/config_mcu.hpp>
|
||||
#ifdef SPIDER_DISTRO_MICRO
|
||||
// === MUST be a microcontroller! === //
|
||||
#include <spider/runtime/native/distro_mcu.hpp>
|
||||
#ifndef SPIDER_DISTRO_MICRO
|
||||
#error "[Spider Distro] Could not autodetect. Please select a distro and OS manually."
|
||||
#endif
|
||||
#endif
|
||||
@@ -107,8 +93,6 @@
|
||||
|
||||
#elif defined(SPIDER_DISTRO_MICRO)
|
||||
|
||||
#include <spider/runtime/native/distro_mcu.hpp>
|
||||
|
||||
#define SPIDER_DISTRO_NAME "Micro"
|
||||
|
||||
#if !defined(SPIDER_USE_ICU) && !defined(SPIDER_NO_ICU)
|
||||
@@ -127,4 +111,5 @@
|
||||
|
||||
#endif
|
||||
|
||||
|
||||
// === Include Distro Defaults === //
|
||||
#include <spider/runtime/native/distro_defs.hpp>
|
||||
|
||||
Reference in New Issue
Block a user