Compare commits
2 Commits
48eb7c91dd
...
2e2290cc8c
Author | SHA1 | Date | |
---|---|---|---|
2e2290cc8c | |||
da041de646 |
@ -76,7 +76,7 @@ constexpr uint32_t fb_concat(uint32_t num) { return (num & 0x3) << 4; }
|
|||||||
namespace fb_depth {
|
namespace fb_depth {
|
||||||
constexpr uint32_t _0555_rgb_16bit = 0 << 2;
|
constexpr uint32_t _0555_rgb_16bit = 0 << 2;
|
||||||
|
|
||||||
constexpr uint32_t _0565_rgb_16bit = 1 << 2;
|
constexpr uint32_t _565_rgb_16bit = 1 << 2;
|
||||||
|
|
||||||
constexpr uint32_t _888_rgb_24bit_packed = 2 << 2;
|
constexpr uint32_t _888_rgb_24bit_packed = 2 << 2;
|
||||||
|
|
||||||
|
@ -1,6 +1,7 @@
|
|||||||
#include <fstream>
|
#include <fstream>
|
||||||
#include <string>
|
#include <string>
|
||||||
#include <iostream>
|
#include <iostream>
|
||||||
|
#include <bit>
|
||||||
|
|
||||||
#include "primary_volume_descriptor.hpp"
|
#include "primary_volume_descriptor.hpp"
|
||||||
#include "directory_record.hpp"
|
#include "directory_record.hpp"
|
||||||
@ -15,6 +16,8 @@ void write_field(const uint8_t * s, const int len)
|
|||||||
|
|
||||||
int main()
|
int main()
|
||||||
{
|
{
|
||||||
|
using namespace iso9660;
|
||||||
|
|
||||||
std::ifstream ifs("test.iso");
|
std::ifstream ifs("test.iso");
|
||||||
std::string content( (std::istreambuf_iterator<char>(ifs) ),
|
std::string content( (std::istreambuf_iterator<char>(ifs) ),
|
||||||
(std::istreambuf_iterator<char>() ) );
|
(std::istreambuf_iterator<char>() ) );
|
||||||
|
@ -14,7 +14,7 @@ FREETYPE_LDFLAGS = $(shell pkg-config --libs freetype2)
|
|||||||
FTDI_CFLAGS = $(shell pkg-config --cflags libftdi1) -I.
|
FTDI_CFLAGS = $(shell pkg-config --cflags libftdi1) -I.
|
||||||
FTDI_LDFLAGS = $(shell pkg-config --libs libftdi1)
|
FTDI_LDFLAGS = $(shell pkg-config --libs libftdi1)
|
||||||
|
|
||||||
all: ttf_outline
|
all: ftdi_transfer
|
||||||
|
|
||||||
crc32.o: crc32.c
|
crc32.o: crc32.c
|
||||||
$(CC) -std=gnu2x $(CFLAGS) -I. -c $< -o $@
|
$(CC) -std=gnu2x $(CFLAGS) -I. -c $< -o $@
|
||||||
|
Loading…
x
Reference in New Issue
Block a user