Ignore:
Timestamp:
Jan 21, 2018, 12:10:09 AM (6 years ago)
Author:
coas-nagasima
Message:

prototoolに関連するプロジェクトをnewlibからmuslを使うよう変更・更新
ntshellをnewlibの下位の実装から、muslのsyscallの実装に変更・更新
以下のOSSをアップデート
・mruby-1.3.0
・musl-1.1.18
・onigmo-6.1.3
・tcc-0.9.27
以下のOSSを追加
・openssl-1.1.0e
・curl-7.57.0
・zlib-1.2.11
以下のmrbgemsを追加
・iij/mruby-digest
・iij/mruby-env
・iij/mruby-errno
・iij/mruby-iijson
・iij/mruby-ipaddr
・iij/mruby-mock
・iij/mruby-require
・iij/mruby-tls-openssl

Location:
EcnlProtoTool/trunk/asp3_dcre/cfg
Files:
3 edited

Legend:

Unmodified
Added
Removed
  • EcnlProtoTool/trunk/asp3_dcre/cfg/cfg.rb

    r321 r331  
    532532end
    533533
     534def BZERO(address, size)
     535  if !$romImage.nil?
     536    $romImage.set_data(address, "00" * size)
     537  end
     538end
     539
    534540def PEEK(address, size, signed=false)
    535541  if !$romImage.nil?
  • EcnlProtoTool/trunk/asp3_dcre/cfg/pass1.rb

    r321 r331  
    44#
    55#  Copyright (C) 2015 by FUJI SOFT INCORPORATED, JAPAN
    6 #  Copyright (C) 2015,2016 by Embedded and Real-Time Systems Laboratory
     6#  Copyright (C) 2015-2017 by Embedded and Real-Time Systems Laboratory
    77#              Graduate School of Information Science, Nagoya Univ., JAPAN
    88#
     
    168168    end
    169169
    170     symvalCsv = CSV.open(symvalTableFileName)
     170    symvalCsv = CSV.open(symvalTableFileName,
     171                                                { skip_blanks: true, skip_lines: /^#/ })
    171172    symvalCsv.each do |record|
    172173      # 変数名
    173174      if record[0].nil?
    174         error_exit("invalid variable name in `#{fileName}'")
     175        error_exit("invalid variable name in " \
     176                                                "`#{symvalTableFileName}:#{symvalCsv.to_io.lineno}'")
    175177      end
    176178
     
    235237    line = @cfgFile.gets
    236238    return(nil) if line.nil?
     239
     240        line.encode!("UTF-16BE", "UTF-8",       # 不正なバイト列を除外する
     241                                        :invalid => :replace,
     242                                        :undef => :replace,
     243                                        :replace => '?').encode!("UTF-8")
    237244    @lineNo += 1
    238245
     
    772779
    773780#include "#{CFG1_OUT_TARGET_H}"
    774 #include <limits.h>
     781
     782#if defined(SIL_ENDIAN_BIG) && defined(SIL_ENDIAN_LITTLE)
     783#error Both SIL_ENDIAN_BIG and SIL_ENDIAN_LITTLE are defined.
     784#endif
     785#if !defined(SIL_ENDIAN_BIG) && !defined(SIL_ENDIAN_LITTLE)
     786#error Neither SIL_ENDIAN_BIG nor SIL_ENDIAN_LITTLE is defined.
     787#endif
    775788
    776789const uint32_t #{CFG1_MAGIC_NUM} = 0x12345678;
  • EcnlProtoTool/trunk/asp3_dcre/cfg/pass2.rb

    r321 r331  
    44#
    55#  Copyright (C) 2015 by FUJI SOFT INCORPORATED, JAPAN
    6 #  Copyright (C) 2015,2016 by Embedded and Real-Time Systems Laboratory
     6#  Copyright (C) 2015-2017 by Embedded and Real-Time Systems Laboratory
    77#              Graduate School of Information Science, Nagoya Univ., JAPAN
    88#
     
    154154        value = @objidValues[paramName][param]
    155155      else
     156        apiDef = $apiDefinition[cfgInfo[:APINAME]]
    156157        error("#{apiDef.has_key?(:KEYPAR) ? "E_NOEXS" : "E_ID"}: " \
    157158                                        "`#{param}' in #{cfgInfo[:APINAME]} is not defined", \
Note: See TracChangeset for help on using the changeset viewer.