Project

General

Profile

Activity

From 05/20/2019 to 06/18/2019

06/15/2019

FO 10:29 AM Feature #76: Merge down to trunk
Perhaps a state machine to do the in request too, then I do not even need to call poll. foft
FO 10:28 AM Feature #76: Merge down to trunk
Perhaps I could even write byte stream to a hardware buffer and have regs for axis offset, axis type (signed/unsigned), button offset. Then poll becomes just sending an in request and writing to this hardware buffer. init becomes initial... foft
FO 10:26 AM Feature #76: Merge down to trunk
Need to save 6k. Lots of complexity in the USB, largely for supporting the custom mcc joysticks. I could comment them but its mostly for the MCC that I have memory issues so I want to support the official joypads!
Idea: Really USB pol...
foft

06/12/2019

FO 10:52 PM Feature #76: Merge down to trunk
Probably split into too many functions, adding function call overhead...
Anyway should probably target some of these big items:
nm --print-size --size-sort --radix=d ECLAIREXL.elf | less
0007457 00000527 T tfp_format
00012850 0...
foft
FO 10:31 PM Feature #76: Merge down to trunk
Haha, working and much neater, but 300 bytes more foft

06/09/2019

FO 11:31 PM Feature #76: Merge down to trunk
Experimenting with replacing the menu with a simple structure/code approach, should cut code size somewhat. foft

06/07/2019

FO 09:53 PM Feature #76: Merge down to trunk
-flto gets me to 33244 foft
FO 09:39 PM Feature #76: Merge down to trunk
That was with 64-bit riscv, switched to the 32-bit version and its bigger: 39512 foft

06/04/2019

FO 10:34 PM Feature #76: Merge down to trunk
Tried building with riscv and the firmware size dropped from 37KB to <32KB. Which is great! So might need to reactivate the zpu->riscv plan... foft

05/28/2019

FO 10:45 PM Feature #76: Merge down to trunk
freezer 1024 1
antic 1536 1
scandoubler1 14600 2
scandoubler2 14600 2
zpu rom 327680 40
zpu ram 16384 2
" 16384 2
" 16384 2
" 16384 2
sio fifo rx 3840 1
sio fifo tx 2048 1...
foft
FO 10:28 PM Feature #76: Merge down to trunk
Building the mcc216 with this latest firmware + plumbing changes. Realized the scandoubler will not fit in the memory at the same time as this larger firmware, arg! foft
FO 09:31 PM Feature #79: SDHC and SDXC support
Tested my 32GB card from the Pandora and its working. This is the maximum supported by the Chameleon menu right now. foft

05/25/2019

FO 08:00 PM Feature #76: Merge down to trunk
I think chameleon 1 and chameleon 2 are good. firmware_eclaire is running on them and also on the eclaire.
Heading back to some other targets soon.
foft
FO 07:59 PM Feature #80 (Closed): Read roms from spi flash on chameleon
foft
FO 07:57 PM Feature #80: Read roms from spi flash on chameleon
Jens confirmed that they are all using the same flash chip.
Backport looking good to me...
foft

05/20/2019

FO 10:56 PM Feature #80: Read roms from spi flash on chameleon
Same flash chip as I'd used on the Eclaire... Pretty luck! Anyway the backport seemed to work without issue so far, just some plumbing. foft
FO 10:35 PM Feature #80: Read roms from spi flash on chameleon
Working on the backport now chameleon 2 is working well... foft
FO 10:34 PM Feature #78 (Closed): Get chameleon v2 working
Chameleon 2 is working pretty well.
Moving onto Chameleon 1 backport then will check all other cores work...
foft
 

Also available in: Atom