move outline material to embedded binary
This commit is contained in:
@@ -0,0 +1,12 @@
|
||||
.global OUTLINE_OUTLINE_OFFSET;
|
||||
.global OUTLINE_OUTLINE_SIZE;
|
||||
|
||||
.global OUTLINE_PACKAGE
|
||||
.section .rodata
|
||||
OUTLINE_PACKAGE:
|
||||
.incbin "outline.bin"
|
||||
OUTLINE_OUTLINE_OFFSET:
|
||||
.int 0
|
||||
OUTLINE_OUTLINE_SIZE:
|
||||
.int 112782
|
||||
|
||||
@@ -0,0 +1,12 @@
|
||||
.global _OUTLINE_OUTLINE_OFFSET;
|
||||
.global _OUTLINE_OUTLINE_SIZE;
|
||||
|
||||
.global _OUTLINE_PACKAGE
|
||||
.section __TEXT,__const
|
||||
_OUTLINE_PACKAGE:
|
||||
.incbin "outline.bin"
|
||||
_OUTLINE_OUTLINE_OFFSET:
|
||||
.int 0
|
||||
_OUTLINE_OUTLINE_SIZE:
|
||||
.int 112782
|
||||
|
||||
Binary file not shown.
File diff suppressed because it is too large
Load Diff
@@ -0,0 +1,13 @@
|
||||
#ifndef OUTLINE_H_
|
||||
#define OUTLINE_H_
|
||||
|
||||
#include <stdint.h>
|
||||
|
||||
extern "C" {
|
||||
extern const uint8_t OUTLINE_PACKAGE[];
|
||||
extern int OUTLINE_OUTLINE_OFFSET;
|
||||
extern int OUTLINE_OUTLINE_SIZE;
|
||||
}
|
||||
#define OUTLINE_OUTLINE_DATA (OUTLINE_PACKAGE + OUTLINE_OUTLINE_OFFSET)
|
||||
|
||||
#endif
|
||||
Reference in New Issue
Block a user