Commit graph

13 commits

Author SHA1 Message Date
oliverschmidt 4e30e73bdb Activated Platform-specific File System (PFS) for the C128 by default for all programs with R/O CFS access. 2010-04-06 10:39:50 +00:00
oliverschmidt 6c4c98644e Activated Platform-specific File System (PFS) for the C64 by default for all programs with R/O CFS access. 2010-04-06 10:24:43 +00:00
oliverschmidt 57ce5f8fba Reverted last change. 2010-01-31 15:11:02 +00:00
oliverschmidt 0ebe86802c Use a simpler project name as it now ends up as program file name. 2010-01-31 11:59:07 +00:00
oliverschmidt 57f8e86532 Minor formatting change. 2008-11-10 22:47:10 +00:00
oliverschmidt 4dcbc3273e Now that we started adding files to the CVS which are normally generated with a 'save...' make goal we can remove the DEFAULT_TARGET mechanism altogether and just add Makefile.target files. 2008-05-26 10:09:12 +00:00
oliverschmidt 1cab294517 The Contiki 2.x build system allows to define arbitrary macros for the C compiler preprocessor (in other word add -d<macro[=value]>'s to the C compiler command line) directly from the gnumake command line by setting the gnumake variable DEFINES to a comma-seperated list of macros (and optionally values) like this:
make TARGET=mytarget DEFINES=MYLOG, MYSIZE=100, MYTRACE

The build system does however _NOT_ take care to rebuild things if the DEFINES change so most likely a 'make clean' is advisable. To ease usage the DEFINES may be saved individually per target with the goal 'savedefines' similiar to savinf the target.

The 6502-based target leverage the DEFINES mechanism by introducing so-called 'high level config macros' which allow to configure Contiki per target AND per project.

Most of the time there's exactly one reasonable set of high level config macros for every combination of target and project. Therefore it makes sense to place them into CVS.
2008-05-26 09:28:28 +00:00
oliverschmidt b2810f02e1 Many project Makefiles build just one Contiki binary. Up to now the name of this binary was only available to the 'all' goal as prerequisite. So it was possible to create a non-project-specific rule to i.e. load that binary into the target device.
Therefore I introduced the make variable CONTIKI_PROJECT. Now a typical project Makefile starts with:

CONTIKI_PROJECT = hello-world
all: $(CONTIKI_PROJECT)
2008-05-26 07:37:24 +00:00
oliverschmidt ad7ad61482 Added some sample content for the webserver example using CFS. 2008-05-21 07:43:53 +00:00
oliverschmidt 7f7f11d30f Set default target to minimal-net. 2007-05-26 22:42:02 +00:00
oliverschmidt a07a39d3c2 Allow to easily build the webserver example with cfs support by running make with the parameter HTTPD-CFS=1. 2007-04-23 23:30:14 +00:00
adamdunkels ade5db05f5 Removed unneeded target 2006-06-17 22:53:09 +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