c3c icon indicating copy to clipboard operation
c3c copied to clipboard

Add support for xtensa and avr llvm embedded targets

Open xfcasio opened this issue 1 year ago • 1 comments

Request to add xtensa (for esp boards) and avr (for arduino boards) llvm targets to c3c.

xfcasio avatar Jul 29 '24 23:07 xfcasio

Xtensa is only available with LLVM 19-20. I've tried it and have LLVM crashes trying to run some simple code. I'll check in the result, but it's not usable yet.

AVR is a bit odd as it has multiple address spaces and 16 bit pointers. I'm not sure C3 can do that without some major additions (pointers with address spaces in particular)

lerno avatar Jul 30 '24 23:07 lerno

Can we split these into three?

  1. Xtensa
  2. AVR
  3. RiscV ESP boards

lerno avatar Aug 02 '24 16:08 lerno

sounds like a good idea :+1:

xfcasio avatar Aug 02 '24 23:08 xfcasio

Can you file them?

lerno avatar Aug 02 '24 23:08 lerno

And then close this one.

lerno avatar Aug 02 '24 23:08 lerno