(toppers-users 4154) ARMCC対応 STBEE(Strawberry Linux)簡易パッケージがビルドできない件について

井上真人 masatoinoue00 @ gmail.com
2013年 10月 6日 (日) 21:54:50 JST


TOPPERSユーザーズ各位

井上と申します。

首記の通り、
ARMCC(KEIL uVision)に対応したSTBEE(Strawberry
Linux)簡易パッケージがビルドできないので、メールさせていただきます。

恐れ入りますが、同様の症状が発生することをご確認いただけましたら、
可能なら対象方法をご教示いただけますと幸いです。


■ 対象パッケージ
[[http://www.toppers.jp/asp-e-download.html]]
STBEE(Strawberry Linux)簡易パッケージ
asp_stbee_armcc-20120310.zip(SJIS版)<http://www.toppers.jp/download.cgi/asp_stbee_armcc-20120310.zip>

■ 症状
対象パッケージが uVision4.0 でビルドできません。
( [[http://www.keil.com/arm/mdk.asp]]から、ダウンロードした MDK-ARM 4.72 を使用 )

対象パッケージに同梱されている「asp_proj.uvmpw」を開いた後、
Batch Build すると、下記メッセージが出力されます。

--- ここから
Rebuild target 'cfg1_out'
sample1.cfg: error - custom translator properties not set
Before Build - User command #1: ../../../cfg/cfg/cfg --pass 1 --kernel asp
-I. -I../../../ -I../../../include -I../../../arch -I../..
-I../../../target/stbee_armcc -I../../../arch/arm_m_armcc/stm32f
-I../../../arch/arm_m_gcc/stm32f -I../../../arch/arm_m_armcc/common
-I../../../arch/arm_m_gcc/common -I../../../target/stbee_gcc --api-table
../../../kernel/kernel_api.csv --cfg1-def-table
../../../kernel/kernel_def.csv  --cfg1-def-table
../../../arch/arm_m_gcc/common/core_def.csv ../../../sample/sample1.cfg
linking...
.\cfg1_out.axf: error: L6002U: Could not open file .\cfg1_out.o: No such
file or directory
".\cfg1_out.axf" - 1 Errors, 0 Warning(s).
Target not created

Rebuild target 'libkernel'
Before Build - User command #1: ../../../cfg/cfg/cfg --pass 3 --kernel asp
-I. -I../../../ -I../../../include -I../../../arch -I../..
-I../../../target/stbee_armcc -I../../../arch/arm_m_armcc/stm32f
-I../../../arch/arm_m_gcc/stm32f -I../../../arch/arm_m_gcc/stm32f/cmsis
-I../../../arch/arm_m_armcc/common -I../../../arch/arm_m_gcc/common
-I../../../target/stbee_gcc --rom-image cfg1_out.srec --symbol-table
cfg1_out.syms -T ../../../arch/arm_m_gcc/stm32f/chip_offset.tf --api-table
../../../kernel/kernel_api.csv -
cfg: error: cannot open file `cfg1_out.srec'
cfg: fatal error
compiling alarm.c...
compiling cyclic.c...
compiling dataqueue.c...
compiling eventflag.c...
compiling exception.c...
compiling interrupt.c...
compiling mailbox.c...
compiling mempfix.c...
compiling pridataq.c...
compiling semaphore.c...
compiling startup.c...
compiling sys_manage.c...
compiling task.c...
compiling task_except.c...
compiling task_manage.c...
compiling task_refer.c...
compiling task_sync.c...
compiling time_event.c...
compiling time_manage.c...
compiling wait.c...
compiling target_config.c...
compiling chip_config.c...
compiling core_support.sx...
core_support.sx: Error:  #5: cannot open source input file
"..\..\..\arch\arm_m_armcc\common\core_support.sx": No such file or
directory
".\libkernel.lib" - 1 Errors, 0 Warning(s).
Target not created

Rebuild target 'asp'
compiling sample1.c...
sample1.c: Error:  #5: cannot open source input file "kernel_cfg.h": No
such file or directory
".\asp.axf" - 1 Errors, 0 Warning(s).
Target not created
--- ここまで

■ 補足情報

(1) エラーが出力されるuVision4.0のツールチェインバージョンは以下の通りです。

IDE-Version:
μVision V4.72.10.0
Copyright (C) 2013 ARM Ltd and ARM Germany GmbH. All rights reserved.

Tool Version Numbers:
Toolchain:        MDK-Lite  Version: 4.72.1.0
Toolchain Path:    C:\Keil\ARM\ARMCC\bin\
C Compiler:         Armcc.Exe       V5.03.0.76 [Evaluation]
Assembler:          Armasm.Exe       V5.03.0.76 [Evaluation]
Linker/Locator:     ArmLink.Exe       V5.03.0.76 [Evaluation]
Librarian:             ArmAr.Exe       V5.03.0.76 [Evaluation]
Hex Converter:      FromElf.Exe       V5.03.0.76 [Evaluation]
CPU DLL:               SARMCM3.DLL       V4.72.1.0
Dialog DLL:         DARMSTM.DLL       V1.64.0.0
Target DLL:             UL2CM3.DLL       V1.150.11.0
Dialog DLL:         TARMSTM.DLL       V1.64.0.0


(2) 以下のツールチェインでビルドするとエラー出力されず、期待されるビルド生成物ができあがります。

IDE-Version:
μVision V4.50.0.0
Copyright (C) 2012 ARM Ltd and ARM Germany GmbH. All rights reserved.

Tool Version Numbers:
Toolchain:        MDK-Lite  Version: 4.50.0.0
Toolchain Path:    C:\Keil\ARM\BIN40
C Compiler:         Armcc.Exe       V4.1.0.894 [Evaluation]
Assembler:          Armasm.Exe       V4.1.0.894 [Evaluation]
Linker/Locator:     ArmLink.Exe       V4.1.0.894 [Evaluation]
Librarian:             ArmAr.Exe       V4.1.0.894 [Evaluation]
Hex Converter:      FromElf.Exe       V4.1.0.894 [Evaluation]
CPU DLL:               SARMCM3.DLL       V4.50.0.0
Dialog DLL:         DARMSTM.DLL       V1.63.0.0
Target DLL:             UL2CM3.DLL       V1.102.0.0
Dialog DLL:         TARMSTM.DLL       V1.60


以上、宜しくお願いいたします。

-- 
-------------------------------------------------
INOUE Masato
email:masatoinoue00 @ gmail.com
-------------- next part --------------
HTMLの添付ファイルを保管しました...
URL: <http://www.toppers.jp/pipermail/users/attachments/20131006/cd3ae8b6/attachment.html>