ルネサスさんのRenesas Extensions for Visual Studio Codeを使ってみるスレッド

こんにちは。NoMaYです。

ルネサスさんからRenesas Extensions for Visual Studio Code(テクニカルプレビューバージョン)が出ていましたので触ってみることにしました。

Renesas Extensions for Visual Studio Code(テクニカルプレビューバージョン) 製品ページ
www.renesas.com/jp/ja/software-tool/renesas_extension_of_vscode

Renesas VS Code Extension Help
tool-support.renesas.com/e2studio/vscode/docs/debug/index.html

[関連スレッド]

最近Atom IDEとかVisual Studio Codeとか新しい開発環境が出て来てますね(Renesas CSplusと連携させる方法を探したいですね)
community-ja.renesas.com/cafe_rene/forums-groups/tools/f/forum21/4553/atom-ide-visual-studio-code-renesas-csplus

Visual Studio 2022 Community EditionでRX MCUやRL78 MCUのSoftware Developmentが出来るか試してみようと思います
community-ja.renesas.com/cafe_rene/forums-groups/tools/f/forum21/7703/visual-studio-2022-community-edition-rx-mcu-rl78-mcu-software-development

e2 studioでCMakeでビルドする、というアプリケーションノートがあるのですがスマートコンフィグレータは使えるのでしょうか?
community-ja.renesas.com/cafe_rene/forums-groups/tools/f/forum21/7713/e2-studio-cmake
 

Parents
  • そこで、ほやさんのリプライにもありましたけれども、CMAKE_FIND_ROOT_PATH を設定します。ただ、そのエラーは出なくなりますけれども、いざビルドしようとしてみると今度はCC-RXのリンカでエラーになります。([追記]これって、libgenで出ているのではないかなぁ、と思います。実際、buildフォルダにはlibファイルが生成されていません。)

    cross.cmake

    # Set the environment root directory
    # It can be used to specify the target environment location
    # e.g compiler's location. This variable is most useful when crosscompiling.
    #(Should avoid spaces in the path or have to escape them)

    SET(CMAKE_FIND_ROOT_PATH C:/Renesas/CS+/CC/CC-RX/V3.05.00/bin)

    if (NOT CMAKE_FIND_ROOT_PATH)
    message("Toolchain path not defined. Please use CMAKE_FIND_ROOT_PATH variable to set the toolchain's bin folder")
    endif()

    以下省略

     
    以下、VSCodeのエラーの画面コピーです。


     

Reply
  • そこで、ほやさんのリプライにもありましたけれども、CMAKE_FIND_ROOT_PATH を設定します。ただ、そのエラーは出なくなりますけれども、いざビルドしようとしてみると今度はCC-RXのリンカでエラーになります。([追記]これって、libgenで出ているのではないかなぁ、と思います。実際、buildフォルダにはlibファイルが生成されていません。)

    cross.cmake

    # Set the environment root directory
    # It can be used to specify the target environment location
    # e.g compiler's location. This variable is most useful when crosscompiling.
    #(Should avoid spaces in the path or have to escape them)

    SET(CMAKE_FIND_ROOT_PATH C:/Renesas/CS+/CC/CC-RX/V3.05.00/bin)

    if (NOT CMAKE_FIND_ROOT_PATH)
    message("Toolchain path not defined. Please use CMAKE_FIND_ROOT_PATH variable to set the toolchain's bin folder")
    endif()

    以下省略

     
    以下、VSCodeのエラーの画面コピーです。


     

Children
  • > F0563400:Cannot execute "prelnk"
    この件も既に分かっていることかもしれませんが、前回のレスであえてPATHを通すやり方にも触れたのは
    binフォルダの他のコマンドが呼べないために起きるこの現象の対策にもなるからでした。