From 80513aaf52bf066322db3f947b203d771a9dc38d Mon Sep 17 00:00:00 2001 From: Dado Sutter Date: Sat, 21 Feb 2009 23:02:39 +0000 Subject: [PATCH] i386 toolchain build tutorial edited to include John Hind fix SConstruct edited just to leave group/files definitions close to the platform/groups. Doc content files mirroed to pt, to ease the portuguese version initial migration --- SConstruct | 36 +- doc/en/tc_386.html | 4 +- doc/pt/bit_ref.html | 132 +++++ doc/pt/building.html | 114 +++++ doc/pt/comunity.html | 27 ++ doc/pt/cpu_ref.html | 184 +++++++ doc/pt/disp_ref.html | 71 +++ doc/pt/dl_binaries.html | 105 ++++ doc/pt/dl_old.html | 82 ++++ doc/pt/dl_sources.html | 52 ++ doc/pt/downloads.html | 7 + doc/pt/eluaapi.html | 15 + doc/pt/examples.html | 144 ++++++ doc/pt/faq.html | 209 ++++++++ doc/pt/genericmodules.html | 15 + doc/pt/gpio_ref.html | 154 ++++++ doc/pt/net_ref.html | 11 + doc/pt/news.html | 138 ++++++ doc/pt/overview.html | 98 ++++ doc/pt/platdependentmodules.html | 17 + doc/pt/platdepmodules.html | 17 + doc/pt/pwm_ref.html | 135 ++++++ doc/pt/refman.html | 806 +++++++++++++++++++++++++++++++ doc/pt/spi_ref.html | 100 ++++ doc/pt/status.html | 418 ++++++++++++++++ doc/pt/sys_ref.html | 69 +++ doc/pt/tc_386.html | 281 +++++++++++ doc/pt/tc_arm.html | 310 ++++++++++++ doc/pt/tc_cortex.html | 343 +++++++++++++ doc/pt/tchainbuild.html | 9 + doc/pt/term_ref.html | 60 +++ doc/pt/tmr_ref.html | 159 ++++++ doc/pt/tut_bootpc.html | 93 ++++ doc/pt/tut_bootstick.html | 103 ++++ doc/pt/tut_openocd.html | 288 +++++++++++ doc/pt/tutorials.html | 7 + doc/pt/uart_ref.html | 75 +++ doc/pt/using.html | 78 +++ doc/pt/versionhistory.html | 9 + 39 files changed, 4956 insertions(+), 19 deletions(-) create mode 100644 doc/pt/bit_ref.html create mode 100644 doc/pt/building.html create mode 100644 doc/pt/comunity.html create mode 100644 doc/pt/cpu_ref.html create mode 100644 doc/pt/disp_ref.html create mode 100644 doc/pt/dl_binaries.html create mode 100644 doc/pt/dl_old.html create mode 100644 doc/pt/dl_sources.html create mode 100644 doc/pt/downloads.html create mode 100644 doc/pt/eluaapi.html create mode 100644 doc/pt/examples.html create mode 100644 doc/pt/faq.html create mode 100644 doc/pt/genericmodules.html create mode 100644 doc/pt/gpio_ref.html create mode 100644 doc/pt/net_ref.html create mode 100644 doc/pt/news.html create mode 100644 doc/pt/overview.html create mode 100644 doc/pt/platdependentmodules.html create mode 100644 doc/pt/platdepmodules.html create mode 100644 doc/pt/pwm_ref.html create mode 100644 doc/pt/refman.html create mode 100644 doc/pt/spi_ref.html create mode 100644 doc/pt/status.html create mode 100644 doc/pt/sys_ref.html create mode 100644 doc/pt/tc_386.html create mode 100644 doc/pt/tc_arm.html create mode 100644 doc/pt/tc_cortex.html create mode 100644 doc/pt/tchainbuild.html create mode 100644 doc/pt/term_ref.html create mode 100644 doc/pt/tmr_ref.html create mode 100644 doc/pt/tut_bootpc.html create mode 100644 doc/pt/tut_bootstick.html create mode 100644 doc/pt/tut_openocd.html create mode 100644 doc/pt/tutorials.html create mode 100644 doc/pt/uart_ref.html create mode 100644 doc/pt/using.html create mode 100644 doc/pt/versionhistory.html 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:

-