Commit graph

13 commits

Author SHA1 Message Date
David Kopf 6e45dfe5ff PROGMEM changes needed for newer avr-gcc compiler 2012-02-21 11:10:57 -05:00
Nicholas J Humfrey 372de7d08a Converted u8_t to uint8_t and u16_t to uint16_t in the rest of core (specifically ctk/vnc, slip and the loader code) 2012-02-21 08:33:24 -05:00
David Kopf e2ad2acde4 Add stk500 platform and changes suggested by Daniel Willmann 2011-08-03 11:18:55 -04:00
dak664 95d844d09f Third attempt with INCLUDE_APPLICATE_SOURCE to remove compile warnings without breaking any platforms 2009-07-16 18:02:34 +00:00
dak664 5e6769b4c1 Fix previous 2 overhasty commits which broke required signedness of address shifts 2009-07-16 17:43:39 +00:00
dak664 c4b4c25e1c Bugs in previous change, could include 32 bit code on 16 bit builds 2009-07-16 17:33:50 +00:00
dak664 4531d66986 INCLUDE_APPLICATE_SOURCE defined to remove compiler warnings. Untested but should work on all AVR builds. 2009-07-16 17:17:22 +00:00
nvt-se a0226e2418 switched all users of cfs_seek(x,y) to cfs_seek(x,y,CFS_SEEK_SET) 2009-02-27 14:28:02 +00:00
fros4943 12338bee6d changed R_AVR_CALL relocation (but unsure why the old didn't work)
+ defined debug output
2007-11-16 09:16:31 +00:00
barner 54ac97990d - Fix / enhence AVR specific part of the ELF relocator. Some relocation types
are still unsupported and will write warings on the second serial port.

- Fix elfloader_arch_write_rom (), which has to reside in a special bootloader
  section of flash rom. The code is heavly inspired from avr-libc's documentation.

- Prelimiary implementation of elfloader_arch_allocate_rom: Code is
  flashed to fixed address 0x8000. Note that on the AVR, flash rom is adressed
  word (16bit)-wise, not byte wise!

- Preliminary implementation of elfloader_arch_allocate_ram using the mmem
  module. Current code does not free the memory.
2006-12-22 17:10:54 +00:00
fros4943 060225a97a added parameter to relocate method
+ renamed write_text() to write_rom()
+ added parameter to write_rom()
2006-12-18 14:54:04 +00:00
adamdunkels 7bfd457bbc Fixed bug where instruction to be relocated was fetched from an incorrect location 2006-09-01 07:10:01 +00:00
adamdunkels c9e808d638 Import of the contiki-2.x development code from the SICS internal CVS server 2006-06-17 22:41:10 +00:00