Commit Graph

66 Commits

Author SHA1 Message Date
Antonio Lignan 37470bbc1b Merge pull request #1055 from sumanpanchal/msp430x-elfloader
Added MSP430x ELFLOADER support to load image with large memory model.
2015-08-27 21:19:27 +02:00
Sumankumar Panchal db4df30366 Added MSP430X ELFLOADER support to load image with large memory model. 2015-06-15 17:53:18 +05:30
Antonio Lignan e8b1a57ac6 Merge pull request #809 from cmorty/pull/msp430_gstabs
[MSP430] Add gstabs debug information (dwarf is broken)
2015-05-16 11:01:47 +02:00
Antonio Lignan 4cc070944f Changed code region to any 2014-11-03 22:40:51 +01:00
Moritz 'Morty' Strübe e9ac379730 [MSP430] Add gstabs debug information (dwarf is broken)
Currently there is an linker error when compiling with debug information.
This is only the case for dwarf (the default). Everything is fine with
stabs, thus allowing to debug and use all the other nice tools like
"objdump -S".
2014-10-16 15:24:25 +02:00
Antonio Lignan 3d64b80e40 Added flags to enable 20-bit support from msp430-gcc 4.7.x 2014-06-17 12:55:08 +02:00
Niclas Finne 2c953c3346 Support verbosity control when building MSP430-based platforms with
the IAR compiler.
2014-04-11 17:36:42 +02:00
Niclas Finne 279b7fd040 Added rule to autocompile mspsim if needed and show warning if submodule MSPSim has not been initialized 2014-03-28 11:11:51 +01:00
Peter A. Bigot 5fc0575e99 Makefile.include: support make clean all
Historically $(OBJECTDIR) was created when Makefile.include is read.  A
consequence is that combining "clean" with "all" (or any other build
target) results in an error because the clean removes the object
directory that is required to exist when building dependencies.
Creating $(OBJECTDIR) on-demand ensures it is present when needed.

Removed creation of $(OBJECTDIR) on initial read, and added an order-only
dependency forcing its creation all Makefile* rules where the target is
explicitly or implicitly in $(OBJECTDIR).
2013-06-20 17:45:41 -05:00
Mariano Alvira 4087c0785f remove -g
see http://comments.gmane.org/gmane.os.contiki.devel/13869
2012-10-29 10:34:28 -04:00
Niclas Finne 767e8bb551 Default value for _DATA20_HEAP_SIZE when using the IAR compiler on MSP430 platforms 2012-09-20 14:01:56 +02:00
Niclas Finne 4630945475 Made the stack and heap size configurable when using the IAR compiler on the MSP430 platforms 2012-09-19 22:49:19 +02:00
Niclas Finne 1b13b69814 Added support for mspgcc 4.6+ that no longer supports generic MCU identifiers such as msp430x1611 2012-04-10 16:05:10 +02:00
Niclas Finne 57a166c3db Corrected compiler flags for the IAR compiler 2012-04-10 15:27:44 +02:00
simonduq 95ae5c5d51 avoid unnecessary symbols.c/h copying 2012-03-26 23:00:43 +02:00
Niclas Finne ff7a977dc7 Improved support for the IAR compiler for the MSP430 platforms 2012-03-07 23:09:05 +01:00
Niclas Finne 2eee14a1d8 Allow compiler flag SMALL to be set to disable SMALL-build. Patch by Andre Frimberger. 2012-03-06 15:35:20 +01:00
Niclas Finne fd81a0d393 Minor cleanup (avoid setting some compiler flags twice) 2012-01-09 14:55:54 +01:00
Niclas Finne 8e1e12dfd3 Ignore SMALL when using IAR compiler 2012-01-09 14:55:48 +01:00
Nicolas Tsiftes eba64bdc5e Be more explicit with the relationship between inheritance between MSP430 families. 2012-01-09 14:55:45 +01:00
Niclas Finne cdfa8708e3 * Added f2xxx for two series (for example z1)
* f1xxx is baseline and always included
* Cleaned up the names of uart and spi (no x in names)
* Updated SPI configuration for WiSMote
2012-01-09 14:54:57 +01:00
Niclas Finne f4f84ffca4 Updated SPI config for faster SPI, split msp430/clock/spi into separate versions for MSP430/MSP430X 2012-01-09 14:54:01 +01:00
Niclas Finne 05b10eb9ce Initial WiSMote port based on code from Arago Systems. 2012-01-09 12:25:06 +01:00
Niclas Finne 367c82a5ab added compiler flags and macros for IAR and mspgcc 4.4.5 compilers 2012-01-09 12:24:33 +01:00
Joakim Eriksson 5b1d9617c4 moved io and signal and IAR-GCC checks from driver files into contiki include file 2011-09-26 10:38:41 +02:00
Joakim Eriksson 95dde73618 fixed Sky platform for IAR compiler 2011-09-11 17:18:02 +02:00
Joakim Eriksson af601dfb23 improved support for IAR compiler for z1 2011-06-05 00:21:47 +02:00
Joakim Eriksson 3fa8da5ddf fixed IAR compilation paths 2011-05-02 15:19:28 +02:00
Joakim Eriksson f603c965c1 Merge branch 'master' of ssh://contiki.git.sourceforge.net/gitroot/contiki/contiki 2011-04-06 20:15:44 +02:00
Joakim Eriksson 928bf6b6c1 fixed cpu/msp430 for compilation with IAR compiler 2011-04-06 20:08:48 +02:00
Oliver Schmidt f83fb3704b Replaced make-empty-symbols with empty-symbols.[c|h]
The symbol generation shell scripts cause CRLF issues on Windows/Cygwin again and again. Instead of fixing this yet again I opted to remove the symbol generation script at least for the "no symbols" scenario with two C source files to be copied.
2011-04-03 13:24:58 +02:00
adamdunkels 8f283b3989 Bugfix 2011-01-19 07:30:31 +00:00
adamdunkels 6f076dbe1a A set of compiler options that reduce the size of the final code size and RAM usage with ~10%. Courtesy of Simon Duquennoy. 2011-01-19 07:24:37 +00:00
joxe c0549cad3d added some files for MSP430X I/O 2010-08-24 16:23:20 +00:00
nifi 9638789d9d Added rule to use MSPSim to show the maptable from the last compilation on MSP430 targets 2010-04-20 15:38:09 +00:00
nifi efdbbf9fe3 minor cleanup: random.c is already included in Makefile.include 2009-11-19 17:33:05 +00:00
adamdunkels 790f2f632a Moved putchar into separate file to make it easier to override its implementation 2009-10-30 15:06:26 +00:00
adamdunkels 18486d4e3d Patch by Gideon Ernst: use explicit $(CONTIKI) path instead of implicit ../../ path to the mknmlist script 2009-09-03 17:41:58 +00:00
adamdunkels 0076bfe8a5 Changed the name of the 'serial' module to 'serial-line' to signify that the module is about lines of data from the serial port, not individual bytes, and to make sdcc happy 2009-03-17 15:56:32 +00:00
nvt-se bff9841fbf Removed obsolete definitions. 2009-02-20 23:16:08 +00:00
nifi 9bf0dff605 Compile using . instead of separate make rules for .firmware 2008-12-16 13:54:25 +00:00
nifi 2013c4fece Simulator for MSP430-based platforms 2008-11-24 11:09:36 +00:00
adamdunkels 7c459c849d The .ihex file use the intermediate Contiki-wide .$(TARGET) target instead of the MSP430-specific .firmware 2008-07-02 14:11:34 +00:00
adamdunkels cf5ff2bbb2 Made SLIP code coexist with ordinary serial code. If WITH_UIP=1, the SLIP code is used instead. 2008-02-03 20:59:35 +00:00
adamdunkels 345d0a8a79 Added a WERROR definition that can be used to turn -Werror on 2008-01-08 08:01:01 +00:00
adamdunkels 6e0e6e1279 Removed -Werror since LPM*_EXIT; and friends trigger an internal mspgcc compiler error 2007-11-26 23:23:20 +00:00
adamdunkels 22cb35e9f6 Added -Werror to turn compiler warnings into errors to ensure that code always compile without warnings 2007-11-17 10:11:58 +00:00
adamdunkels 585f00a804 Removed old codeprop-tmp.c 2007-11-06 20:35:42 +00:00
oliverschmidt ae2073cac9 Factored out setup directory search path for source files into Makefile.include.
- All compilers used support the -I option for setting an include search directory.

- The Contiki source tree follows the (common) approach of placing declarations (in headerf iles) in the same directory as definitions (in source files).

As a result it makes sense to use the -I compiler option for just the same set of directories used for the vpath gnumake directive.

Note: I checked several builds but nevertheless one or the other might need some additional adjustsments. Sorry for the inconvenience.
2007-05-19 07:54:53 +00:00
adamdunkels 4364a9929a Removed WITH_UIP 2007-05-15 08:09:45 +00:00