Closed GoogleCodeExporter closed 8 years ago
For the arm portall AVR and Arduino specific code is removed by #if/#ifdev
preprocessor commands. Nevertheless, i agree that some files can be removed
completly. I will try to do this for the next release.
The separation into three layers should be there already and i assume, that the
ARM port could be used with any controller.
For the ARM port: If you find something that is specific to any controller
except for u8g_arm.[hc], then let me know. This would be a bug.
As of now i rate this issue as enhancement (remove arduino/avr specific files
from the arm port)
Original comment by olikr...@gmail.com
on 14 Oct 2013 at 7:15
Thanks! However, may I suggest also removing the preprocessor directives that
distinguish between AVR, arduino and ARM? It's a release for ARMs - you might
even call it generic, this would be even more precise if it really is generic -
so it should not try to do extra things for AVR and arduino. They have their
own releases, which is great and the AVR release worked for me.
I'll post here when I managed to use the ARM release v1.14 with the
controller/display combo above. I have not yet found anything ARM specific
outside of u8g_arm.*, but the preprocessor directives _are_ puzzling.
Original comment by avrbegin...@googlemail.com
on 14 Oct 2013 at 7:59
removing the Arduino/AVR specific files will also remove many conditional
compiler flags. However, some will remain in u8g.h.
I will think about replacing "arm" with "generic".
Original comment by olikr...@gmail.com
on 14 Oct 2013 at 8:31
[deleted comment]
Works as intended:
- teensy 3.0 (mk20dx128)
- adafruit ssd1351 128x128 OLED display
- teensyduino libraries
- custom SPI code in u8g_arm.c
I'll happily provide the code if you want. It's a hackish setup, though.
Original comment by avrbegin...@googlemail.com
on 14 Oct 2013 at 9:52
Great. You can always add code hier as an issue. Other users can access it here
from the issue list and benefit from our work. I do hesitate a little bit
because i am unable to test it.
Original comment by olikr...@gmail.com
on 14 Oct 2013 at 10:13
ToDo:
remove specific arm and arduino files from the arm release (create release
script)
Original comment by olikr...@gmail.com
on 22 Jan 2014 at 8:08
generic version --> issue 236
Original comment by olikr...@gmail.com
on 24 Jan 2014 at 6:57
removed arduino and atmega com files from the release. testing required
Original comment by olikr...@gmail.com
on 24 Jan 2014 at 7:14
Original comment by olikr...@gmail.com
on 24 Jan 2014 at 7:51
Original issue reported on code.google.com by
avrbegin...@googlemail.com
on 14 Oct 2013 at 9:54