Intel:Nios® II SBT (Software Build Tools for Eclipse) の BSP Editor で Null Pointer エラー が発生します。
Nios II
カテゴリー:Nios® II
ツール:Nios® II EDS
デバイス:-
BSP Editor のオプション設定に none を設定していると、makefile にそのオプション記述が無くなってしまい、none から変更した時に Null Pointer エラーが発生します。
例えば、
BSP_CFLAGS_DEBUG の設定を none にした場合、makefile に BSP_CFLAGS_DEBUG の記述が無くなります。
オプションを再度有効にするには、makefile を直接編集して、BSP_CFLAGS_DEBUG の下記記述を追加する必要があります。
# C/C++ compiler debug level. '-g' provides the default set of debug symbols
# typically required to debug a typical application. Omitting '-g' removes
# debug symbols from the ELF. This setting defines the value of
# BSP_CFLAGS_DEBUG in Makefile.
BSP_CFLAGS_DEBUG = -g