diff --git a/SConstruct b/SConstruct index e87ec48a..42b1415b 100644 --- a/SConstruct +++ b/SConstruct @@ -6,23 +6,6 @@ boardname = ARGUMENTS.get( 'board' , '').upper() cprefix = ARGUMENTS.get( 'cprefix', '') optram = int( ARGUMENTS.get( 'optram', '1' ) ) -# ROMFS file list -romfs = { 'bisect' : [ 'bisect.lua' ], - 'hangman' : [ 'hangman.lua' ], - 'lhttpd' : [ 'index.pht', 'lhttpd.lua', 'test.lua' ], - 'pong' : [ 'pong.lua', 'LM3S.lua' ], - 'led' : [ 'led.lua' ], - 'piano' : [ 'piano.lua' ], - 'pwmled' : [ 'pwmled.lua' ], - 'tvbgone' : [ 'tvbgone.lua', 'codes.bin' ], - 'hello' : [ 'hello.lua' ], - 'info' : [ 'info.lua' ], - 'morse' : [ 'morse.lua' ], - 'dualpwm' : [ 'dualpwm.lua' ], - 'adcscope' : [ 'adcscope.lua' ], - 'life' : [ 'life.lua' ] - } - # List of platform/CPU combinations cpu_list = { 'at91sam7x' : [ 'AT91SAM7X256', 'AT91SAM7X512' ], 'lm3s' : [ 'LM3S8962', 'LM3S6965' ], @@ -46,6 +29,25 @@ board_list = { 'SAM7-EX256' : [ 'AT91SAM7X256', 'AT91SAM7X512' ], 'ATEVK1100' : [ 'AT32UC3A0512' ] } +# ROMFS file list "groups" +# To include a file in a ROMFS build, include it in a group here and make +# sure the group is listed on your platform "groups list" right below. +romfs = { 'bisect' : [ 'bisect.lua' ], + 'hangman' : [ 'hangman.lua' ], + 'lhttpd' : [ 'index.pht', 'lhttpd.lua', 'test.lua' ], + 'pong' : [ 'pong.lua', 'LM3S.lua' ], + 'led' : [ 'led.lua' ], + 'piano' : [ 'piano.lua' ], + 'pwmled' : [ 'pwmled.lua' ], + 'tvbgone' : [ 'tvbgone.lua', 'codes.bin' ], + 'hello' : [ 'hello.lua' ], + 'info' : [ 'info.lua' ], + 'morse' : [ 'morse.lua' ], + 'dualpwm' : [ 'dualpwm.lua' ], + 'adcscope' : [ 'adcscope.lua' ], + 'life' : [ 'life.lua' ] + } + # List of board/romfs data combinations file_list = { 'SAM7-EX256' : [ 'bisect', 'hangman' , 'led', 'piano', 'hello', 'info', 'morse' ], 'EK-LM3S8962' : [ 'bisect', 'hangman', 'lhttpd', 'pong', 'led', 'piano', 'pwmled', 'tvbgone', 'hello', 'info', 'morse', 'adcscope' ], diff --git a/doc/en/tc_386.html b/doc/en/tc_386.html index fed241b6..ab33c01d 100644 --- a/doc/en/tc_386.html +++ b/doc/en/tc_386.html @@ -228,7 +228,7 @@ to allow the linker to perform dead code stripping:

$ make CFLAGS_FOR_TARGET="-ffunction-sections --fdata-sections-DPREFER_SIZE_OVER_SPEED -D__OPTIMIZE_SIZE__ -Os +-fdata-sections -D__PREFER_SIZE_OVER_SPEED -D__OPTIMIZE_SIZE__ -Os -fomit-frame-pointer -D__BUFSIZ__=256" @@ -240,7 +240,7 @@ CFLAGS_FOR_TARGET="-ffunction-sections

Some notes about the flags used in the above sequence:

-