commit
efc9448ea4
11 changed files with 23 additions and 0 deletions
|
@ -19,6 +19,7 @@ FEATURE: Added gdispDrawPoly() and gdispFillConvexPoly()
|
|||
FEATURE: Added arrow button style to GWIN buttons
|
||||
FEATURE: Added the ability to specify a custom button drawing routine
|
||||
FEATURE: SSD1963 rework by username 'fred'
|
||||
FEATURE: Added Picture converter tool
|
||||
|
||||
|
||||
*** changes after 1.4 ***
|
||||
|
|
BIN
tools/file2c/binaries/file2c
Executable file
BIN
tools/file2c/binaries/file2c
Executable file
Binary file not shown.
|
@ -1,6 +1,11 @@
|
|||
This utility converts a file (of any type) into a c array
|
||||
so that it can be compiled into your project.
|
||||
|
||||
Please note that we don't take any responsibility for the
|
||||
precompiled binaries at all. They are provided 'as is' without
|
||||
any warranty.
|
||||
|
||||
|
||||
For example:
|
||||
file2c -cs test.bmp test-image.h
|
||||
|
||||
|
|
15
tools/file2c/source/Makefile
Normal file
15
tools/file2c/source/Makefile
Normal file
|
@ -0,0 +1,15 @@
|
|||
TARGET = file2c
|
||||
SRCS = $(shell find -name '*.c')
|
||||
OBJS = $(addsuffix .o,$(basename $(SRCS)))
|
||||
|
||||
CFLAGS = -Wall -p
|
||||
|
||||
CC = /usr/bin/gcc
|
||||
RM = /bin/rm -f
|
||||
|
||||
all: clean
|
||||
$(CC) $(CFLAGS) -o $(TARGET) $(SRCS)
|
||||
|
||||
clean:
|
||||
$(RM) $(TARGET) $(OBJS)
|
||||
|
|
@ -17,6 +17,7 @@
|
|||
You should have received a copy of the GNU General Public License
|
||||
along with this program. If not, see <http://www.gnu.org/licenses/>.
|
||||
*/
|
||||
|
||||
#include <stdio.h>
|
||||
#include <fcntl.h>
|
||||
#include <string.h>
|
||||
|
@ -190,3 +191,4 @@ size_t i;
|
|||
|
||||
return 0;
|
||||
}
|
||||
|
Loading…
Add table
Reference in a new issue