Skip to content
GitLab
Menu
Projects
Groups
Snippets
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
Menu
Open sidebar
card10
firmware
Commits
a8cdee86
Commit
a8cdee86
authored
Feb 09, 2021
by
schneider
Browse files
feat(png): add lodepng library
parent
983d8136
Changes
6
Hide whitespace changes
Inline
Side-by-side
.gitmodules
View file @
a8cdee86
...
@@ -10,3 +10,6 @@
...
@@ -10,3 +10,6 @@
[submodule "lib/crypto/SHA256"]
[submodule "lib/crypto/SHA256"]
path = lib/crypto/SHA256
path = lib/crypto/SHA256
url = https://github.com/ilvn/SHA256
url = https://github.com/ilvn/SHA256
[submodule "lib/lodepng/lodepng"]
path = lib/lodepng/lodepng
url = https://github.com/lvandeve/lodepng
lodepng
@
7fdcc96a
Subproject commit 7fdcc96a5e5864eee72911c3ca79b1d9f0d12292
lib/lodepng/lodepng.c
0 → 120000
View file @
a8cdee86
lodepng
/
lodepng
.
cpp
\ No newline at end of file
lib/lodepng/meson.build
0 → 100644
View file @
a8cdee86
includes = include_directories(
'./lodepng',
)
sources = files(
'./lodepng.c',
)
lib = static_library(
'lodepng',
sources,
include_directories: includes,
c_args: ['-O3', '-w', '-DLODEPNG_NO_COMPILE_ENCODER', '-DLODEPNG_NO_COMPILE_DISK', '-DLODEPNG_NO_COMPILE_ALLOCATORS'],
)
lodepng = declare_dependency(
include_directories: includes,
link_with: lib,
)
lib/meson.build
View file @
a8cdee86
...
@@ -17,3 +17,4 @@ subdir('./crypto/')
...
@@ -17,3 +17,4 @@ subdir('./crypto/')
subdir('./card10/')
subdir('./card10/')
subdir('./mx25lba/')
subdir('./mx25lba/')
subdir('./ff13/')
subdir('./ff13/')
subdir('./lodepng/')
tools/code-style.sh
View file @
a8cdee86
...
@@ -41,6 +41,7 @@ formatter_blacklist=(
...
@@ -41,6 +41,7 @@ formatter_blacklist=(
lib/ff13/
lib/ff13/
lib/FreeRTOS/
lib/FreeRTOS/
lib/FreeRTOS-Plus/
lib/FreeRTOS-Plus/
lib/lodepng/
lib/micropython/
lib/micropython/
lib/mx25lba/
lib/mx25lba/
lib/sdk/
lib/sdk/
...
...
Write
Preview
Supports
Markdown
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment