Skip to content

Instantly share code, notes, and snippets.

@jcmvbkbc
jcmvbkbc / Makefile
Last active March 29, 2021 07:45
Makefile for ESP8266 that can build both C and C++
# tnx to mamalala
# Changelog
# Changed the variables to include the header file directory
# Added global var for the XTENSA tool root
#
# This make file still needs some work.
#
# Updated for SDK 0.9.2
#
# Output directors to store intermediate compiled files
@hidsh
hidsh / png2rgb565.py
Last active March 31, 2023 14:40
convert image: png --> rgb565
#! /usr/bin/env python
# -*- coding: utf-8 -*-
from PIL import Image
import struct, os, sys
def usage():
print './png2rgb565.py HOGE.png'
sys.exit(1)