[TriEmbed] TriEmbed Digest, Vol 83, Issue 19

Alex Davis alexd at matrixwide.com
Wed Apr 22 14:19:17 CDT 2020


> >> Also, since you?re defining the array at global scope, the size of it 
> >> must be a compile time const-expression anyways, so you wouldn?t even 
> >> need dynamic memory allocation.

it's not going to work (in the 96K RAM of a Due, anyway):
arm-none-eabi-gcc/4.8.3-2014q1/bin/../lib/gcc/arm-none-eabi/4.8.3/../../../../arm-none-eabi/bin/ld: address 0x20096900 of /tmp/arduino_build_252939/simple-wireframe.ino.elf section `.bss' is not within region `ram'

Womp womp! This happens even if I set my image space to 10x10x10, so I'm guessing it's out of space on just code.

I'll have to get it working on a Beaglebone Black and use the PRU to run the DACs.

There's probably some way to get it done. I know the game Elite had very simple 3D graphics with backface culling and hidden line removal, and I know there was a c port of it.


-- 
"The theater of noise is proof of our potential."
|\ |  (¯  \/ |¯\  |V| |\ ¯|¯ |¯) | \/ | | | |¯\ (¯   /¯  /\ |V|
|-||_ (_  /\ |_/ @| | |-| |  | \ | /\ |^| | |_/ (_ . \_  \/ | |

You won't find me on Facebook.




More information about the TriEmbed mailing list