surfacedemo update: now consistently themed... #card10 #l0dable
@card10badge
Behind the scenes: I had to create a variant of my library for this crawling text. The original library ignores the projection part of homogeneous coordinates, significantly reducing the computational load of the matrix magic.
Finally! PNG reader and surface/framebuffer libraries work as expected. I'm cleaning up the code right now, so I can update the repo tonight. #card10 #l0dable
@card10badge
Still can't get my arm-none-eabi toolchain to compile a #card10badge firmware that boots.
binutils-2.33.1
gcc-9.2.0-r3 +libssp
newlib-2.5.0 +nano
My #l0dable compiles and runs as long as I don't call certain library functions (like printf with string conversion or math stuff) -- such things freeze my app. epic_file_open() stalls, too.
I don't have debugging hardware, so I have to dissect the elf files. I suspect incompatibility with my newlib nano instance.
The newest version of my #card10badge #l0dable applies an affine transformation matrix during image composition. This means the sprite can be moved, rotated, sheared, scaled, squeezed etc before painting it onto a surface. LEDs show a cycletime of approx. 20 ms.
@card10badge
@card10badge I can build a #card10 #l0dable, but when using math.h float functions (fmodf, sinf etc) I get undefined references. I can resolve these with -lgcc. But then the l0dable freezes when calling any float math function. My firmware fails to boot, too. (used official v1.14 to run the l0dable)
My current toolchain setup:
cross-arm-eabi/binutils-2.33.1
cross-arm-eabi/gcc-9.2.0-r3 +libssp +vanilla
cross-arm-eabi/newlib-3.1.0 +nano
I am at a loss.