e2 studio v7.5.0でFreeRTOS+SCFGプロジェクトではRTOS Objectコンポーネントというものは使えないのかな

こんにちは。NoMaYです。

今首を傾げているのですが、以下のドキュメントによると、e2 studio v7.5.0ではAmazon FreeRTOSプロジェクトに於いてスマートコンフィグレータでRTOS Objectコンポーネントというものが使用出来る/存在するらしいのですが、これは単なるFreeRTOSプロジェクトでは使用出来ない/存在しないものなのでしょうか?(スマートコンフィグレータウィンドウの、コンポーネントタブ上に表示されない&コンポーネント追加ダイアロにも表示されない、ので、そうなのかな、とは思っているのですが、Amazon FreeRTOSプロジェクトとFreeRTOSプロジェクトで、このような部分で違っているのが意外でしたので、、、)

e2 studio 7.5.0 Release Note
www.renesas.com/jp/ja/doc/products/tool/doc/016/r20ut4556ee0101-e2studio.pdf
Page 17 of 72

New Amazon FreeRTOS Configuration user interface provide within e2 studio 7.5 featuring:
● Imported FreeRTOS project with pre-loaded FreeRTOS Components (Object, Kernel and Amazon Libraries).

o FreeRTOS Object configuration: allow user to be able to create, configure multiple FreeRTOS objects using GUI (Tasks, Semaphores, Queues, Software Timers, Event Groups, Message Buffers, Stream Buffers)
o Create/Remove FreeRTOS Objects with user friendly UI.



ちなみに、プロジェクトの生成では、コンパイラはCC-RX V3.01、デバイスはR5F565NEDxFP、に設定して試しました。

Parents
  • シェルティさん、こんにちは。NoMaYです。

    FreeRTOSのRenesas RXのポートレイヤのIAR版を見ていて気付いたのですが、IAR版はコンフィグレーションファイルがFreeRTOSConfig.hの他に(ポートレイヤのアセンブラソースの為)もう1つPriorityDefinitions.hがありますね。将来のRXスマートコンフィグレータでのIAR版のサポート(があると思っています)が、ちょっと面倒そうですね。(RXスマートコンフィグレータはIAR版に対して2つコンフィグレーションファイルを扱わなければならなくなるから。)

    何か対策を考えておられますか?もし、私の方でPriorityDefinitions.hを不要にするように改造したら、(うまくいくかどうかは今後の作業の結果次第として、) そちらで困った問題が発生するようなことはありますか?(あと、FreeRTOS.orgの方で受け入れられるかという点もありますが。)

    ●CC-RX版のポートレイヤと関連ファイル

    port.c
    port_asm.src
    portmacro.h
    FreeRTOSConfig.h

    ●GNURX版のポートレイヤと関連ファイル

    port.c
    portmacro.h
    FreeRTOSConfig.h

    ●IAR版のポートレイヤと関連ファイル

    port.c
    port_asm.s
    portmacro.h
    FreeRTOSConfig.h
    PriorityDefinitions.h

    なお、PriorityDefinitions.hは以下の通りでした。(定型のCopyrightの部分は省略しました。)

    #ifndef PRIORITY_DEFINITIONS_H
    #define PRIORITY_DEFINITIONS_H

    #ifndef __IASMRX__
        #error This file is only intended to be included from the FreeRTOS IAR port layer assembly file.
    #endif

    /* The interrupt priority used by the kernel itself for the tick interrupt and
    the pended interrupt.  This would normally be the lowest priority. */
    #define configKERNEL_INTERRUPT_PRIORITY         1

    /* The maximum interrupt priority from which FreeRTOS API calls can be made.
    Interrupts that use a priority above this will not be effected by anything the
    kernel is doing. */
    #define configMAX_SYSCALL_INTERRUPT_PRIORITY    4

    #endif /* PRIORITY_DEFINITIONS_H */

     

Reply
  • シェルティさん、こんにちは。NoMaYです。

    FreeRTOSのRenesas RXのポートレイヤのIAR版を見ていて気付いたのですが、IAR版はコンフィグレーションファイルがFreeRTOSConfig.hの他に(ポートレイヤのアセンブラソースの為)もう1つPriorityDefinitions.hがありますね。将来のRXスマートコンフィグレータでのIAR版のサポート(があると思っています)が、ちょっと面倒そうですね。(RXスマートコンフィグレータはIAR版に対して2つコンフィグレーションファイルを扱わなければならなくなるから。)

    何か対策を考えておられますか?もし、私の方でPriorityDefinitions.hを不要にするように改造したら、(うまくいくかどうかは今後の作業の結果次第として、) そちらで困った問題が発生するようなことはありますか?(あと、FreeRTOS.orgの方で受け入れられるかという点もありますが。)

    ●CC-RX版のポートレイヤと関連ファイル

    port.c
    port_asm.src
    portmacro.h
    FreeRTOSConfig.h

    ●GNURX版のポートレイヤと関連ファイル

    port.c
    portmacro.h
    FreeRTOSConfig.h

    ●IAR版のポートレイヤと関連ファイル

    port.c
    port_asm.s
    portmacro.h
    FreeRTOSConfig.h
    PriorityDefinitions.h

    なお、PriorityDefinitions.hは以下の通りでした。(定型のCopyrightの部分は省略しました。)

    #ifndef PRIORITY_DEFINITIONS_H
    #define PRIORITY_DEFINITIONS_H

    #ifndef __IASMRX__
        #error This file is only intended to be included from the FreeRTOS IAR port layer assembly file.
    #endif

    /* The interrupt priority used by the kernel itself for the tick interrupt and
    the pended interrupt.  This would normally be the lowest priority. */
    #define configKERNEL_INTERRUPT_PRIORITY         1

    /* The maximum interrupt priority from which FreeRTOS API calls can be made.
    Interrupts that use a priority above this will not be effected by anything the
    kernel is doing. */
    #define configMAX_SYSCALL_INTERRUPT_PRIORITY    4

    #endif /* PRIORITY_DEFINITIONS_H */

     

Children
No Data