towerprime: generalize type for timercode

- no need to restrict that to stack allocation
towerprime-freertos: start filling out codegen

- emits nonsense at the moment, but better than nothing