gregd72002 / sumd2ppm

Graupner SUMD to PPM converter
1 stars 1 forks source link

Compilation error #1

Open urlu75 opened 7 years ago

urlu75 commented 7 years ago

Thanks for providing a SUMD2PPM program. Very useful if I can make it works :)

Got the following error message with arduino 1.8.0, Teensy LC board selected : In file included from /var/folders/02/p05qymsd2y31lkxg79wmp2g00000gn/T/arduino_build_46925/sketch/sumd.c:44:0: sumd.h:58: error: expected '=', ',', ';', 'asm' or 'attribute' before '#pragma'

pragma pack(push, 1)

     ^

sumd.c:47: error: expected '=', ',', ';', 'asm' or 'attribute' before 'enum' enum SUMD_DECODE_STATE { ^ expected '=', ',', ';', 'asm' or 'attribute' before '#pragma'

Any adea, does this require a specific release of arduino or Teensy lib ? Would you have a pre compile hex file available ? And last, do you think this code would run on an arduino pro mini board ?

thanks !

gregd72002 commented 7 years ago

hi, i've added precompiled HEX for TeensyLC

I've used Arduino 1.0.5 and Teensy core.

This will not work on arduino pro mini without significant re-write.