Recent

Author Topic: crosscompiler avr embedded size hex file  (Read 2314 times)

alexpseletr

  • New Member
  • *
  • Posts: 10
crosscompiler avr embedded size hex file
« on: March 31, 2016, 07:38:20 pm »
anyone know whether there is any parameter to reduce the size of the hex file generated by fpc, I made a simple example set on a pin in pascal (184bits) and did the same example in C (68 bits) found a big difference even using the build parameter -O3 and -XX

I have idea to leave the C and Pascal create in libraries for use in atmega (similar to the delay, serial etc.) however the ability of these devices is limited (8kb and 32kb) A code 3 times will be a big problem.

If someone can give an idea is welcome.

Alex
« Last Edit: April 01, 2016, 09:33:20 pm by alexpseletr »

 

TinyPortal © 2005-2018