ok so read up on linker scripts & tried to compile hempl for aleph last night, outside of avr32lib/aleph repo:
https://github.com/rick-monster/hempl
with:
scons cpu=AT32UC3A0512
no response from aleph on the serial port. Notice that power button works correctly with the new firmware flashed but other than that totally dark. Didn’t brick the aleph though - was able to reflash bees and back to normal… Any idea what might be going wrong or how I might be able to debug?
- is it possible the usb UART is set up differently on the mizar32 board to aleph?
- there was a bunch of stuff I didn’t understand in the aleph linker script. Is my revised hempl linker script missing vital stuff?
- EVK1100 build target seems to be broken in the hempl master branch - maybe next step would be try to figure out what’s up with that?
- Or somehow import config headers for the aleph board to hempl?
EDIT:
ok! on linux at least we can use fmemopen magic to spoof stdin/stdout! Fingers crossed it also works with avr32-gcc…
EDIT: aiieeeeeee! miniPicoLisp also uses a bunch of weird junk in a .d file (is that assembly!?) - tried hacking the picolisp from hempl into a clone of new aleph repo - somehow got it compiling but blows up on the device when you actually try to load simple (+ 1 1) expr using in-memory stream stdin. Trying again now to add aleph build target for hempl…