Skip to content

Commit

Permalink
Merge branch 'dev/v202210.01-lts-rx-1.3.2' into 'main'
Browse files Browse the repository at this point in the history
[Update] Update Configuration folder for LTS#2_v1.3.2

See merge request products/common/rtos/amazon-freertos/lts/iot-reference-rx!255
  • Loading branch information
TomonoriKuwada committed Oct 16, 2024
2 parents 76430ef + ff48701 commit 73be77a
Show file tree
Hide file tree
Showing 337 changed files with 103,896 additions and 101,419 deletions.
9 changes: 9 additions & 0 deletions .gitattributes
Original file line number Diff line number Diff line change
@@ -0,0 +1,9 @@
# Set the default behavior, in case people don't have core.autocrlf set.
* text=auto

# Declare files that will always have CRLF line endings on checkout.
*.c text eol=crlf
*.h text eol=crlf

# Declare files that will always have LF line endings on checkout.
*.sh text eol=lf
121 changes: 121 additions & 0 deletions Configuration/FreeRTOS_IP.mdf
Original file line number Diff line number Diff line change
@@ -0,0 +1,121 @@
<?xml version="1.0" encoding="UTF-8" standalone="no"?>
<!--
/***********************************************************************************************************************
Purpose: Module Description File (MDF) Example (Schema Version 2.0)
This is a description of a sample FIT module configuration file
***********************************************************************************************************************/
-->
<module xmlns:xs="http://www.w3.org/2001/XMLSchema-instance" schemaVersion="2.0" xs:noNamespaceSchemaLocation="schema_mdf_2.00.xsd">
<fileVersion>1.00</fileVersion>
<formatVersion>2.00</formatVersion>
<fileTemplate></fileTemplate>
<configuration>
<property id="ipconfigBYTE_ORDER" display="Byte order of Target MCU" default="pdFREERTOS_LITTLE_ENDIAN" type="combobox">
<option id="ipconfigBYTE_ORDER.0" display="pdFREERTOS_LITTLE_ENDIAN" value="pdFREERTOS_LITTLE_ENDIAN"/>
<option id="ipconfigBYTE_ORDER.1" display="pdFREERTOS_BIG_ENDIAN" value="pdFREERTOS_LITTLE_ENDIAN"/>
<description>Define the byte order of the target MCU.
Valid options are pdFREERTOS_BIG_ENDIAN and pdFREERTOS_LITTLE_ENDIAN.</description>
</property>
<property id="FreeRTOS_debug_printf( MSG )" display="Print out debugging messages function" default="configPRINTF( MSG )" type="textbox">
<description>Print out debugging messages function</description>
</property>
<property id="ipconfigHAS_PRINTF" display="Enable print out non debugging messages" default="1" type="checkbox">
<option id="ipconfigHAS_PRINTF.0" display="Disable" value="0"/>
<option id="ipconfigHAS_PRINTF.1" display="Enable" value="1"/>
<description>Enable print out non debugging messages</description>
</property>
<property id="FreeRTOS_printf( MSG )" display="Print out none debugging messages" default="configPRINTF( MSG )" type="textbox">
<constraint display="default disable" actionOnFail="disable">("${ipconfigHAS_PRINTF}" == 1)</constraint>
<description>Print out none debugging messages</description>
</property>
<property id="ipconfigUSE_NETWORK_EVENT_HOOK" display="Enable application hook event when the network goes up and when it goes down" default="1" type="checkbox">
<option id="ipconfigUSE_NETWORK_EVENT_HOOK.0" display="Disable" value="0"/>
<option id="ipconfigUSE_NETWORK_EVENT_HOOK.1" display="Enable" value="1"/>
<description>Enable to call vApplicationIPNetworkEventHook() event handler when the network goes up and goes down.</description>
</property>
<property id="ipconfigARP_CACHE_ENTRIES" display="Define the number of entries in the ARP cache table" default="6" type="textbox">
<constraint display="Value must be an integer">testInteger("${ipconfigARP_CACHE_ENTRIES}")</constraint>
<description>Define the number of entries in the ARP cache table</description>
</property>
<property id="ipconfigNUM_NETWORK_BUFFER_DESCRIPTORS" display="Define number of network buffers" default="ETHER_CFG_EMAC_TX_DESCRIPTORS" type="textbox">
<description>determines the number of network buffers that are available in the entire application.
Note that the default of 45 may be pretty high for smaller applications. Also note that when the network interface uses zero-copy reception
( ipconfigZERO_COPY_RX_DRIVER ), it will reserve a set of network buffers permanently.
For zero-copy transmission, no network buffers are permanently "reserved" for transmission.</description>
</property>
<property id="ipconfigCHECK_IP_QUEUE_SPACE" display="Define the length of the message queue of the IP-task" default="1" type="checkbox">
<option id="ipconfigCHECK_IP_QUEUE_SPACE.0" display="Disable" value="0"/>
<option id="ipconfigCHECK_IP_QUEUE_SPACE.1" display="Enable" value="1"/>
<description>Define the length of the message queue of the IP-task</description>
</property>
<property id="ipconfigUSE_LLMNR" display="Include LLMNR" default="0" type="checkbox">
<option id="ipconfigUSE_LLMNR.0" display="Disable" value="0"/>
<option id="ipconfigUSE_LLMNR.1" display="Enable" value="1"/>
<description>Include LLMNR</description>
</property>
<property id="ipconfigUSE_NBNS" display="Include NBNS" default="0" type="checkbox">
<option id="ipconfigUSE_NBNS.0" display="Disable" value="0"/>
<option id="ipconfigUSE_NBNS.1" display="Enable" value="1"/>
<description>Include NBNS</description>
</property>
<property id="ipconfigDHCP_REGISTER_HOSTNAME" display="Enable DHCP Server to obtain the name of the embedded device" default="1" type="checkbox">
<option id="ipconfigDHCP_REGISTER_HOSTNAME.0" display="Disable" value="0"/>
<option id="ipconfigDHCP_REGISTER_HOSTNAME.1" display="Enable" value="1"/>
<description>DHCP servers have a table with information about each clients.
One of the fields in this table contains the host name of the DHCP clients.
When 'ipconfigDHCP_REGISTER_HOSTNAME' is defined as non-zero, the DHCP
driver will call 'pcApplicationHostnameHook()' to obtain the name of
the embedded device.</description>
</property>
<property id="ipconfigUSE_DNS_CACHE" display="Enable the results of DNS lookup's can be stored in a cache table" default="1" type="checkbox">
<option id="ipconfigUSE_DNS_CACHE.0" display="Disable" value="0"/>
<option id="ipconfigUSE_DNS_CACHE.1" display="Enable" value="1"/>
<description>Enable the results of DNS lookup's can be stored in a cache table.</description>
</property>
<property id="ipconfigDRIVER_INCLUDED_RX_IP_CHECKSUM" display="Enable the network interface checksums of the incoming packets" default="1" type="checkbox">
<option id="ipconfigDRIVER_INCLUDED_RX_IP_CHECKSUM.0" display="Disable" value="0"/>
<option id="ipconfigDRIVER_INCLUDED_RX_IP_CHECKSUM.1" display="Enable" value="1"/>
<description>When ipconfigDRIVER_INCLUDED_RX_IP_CHECKSUM is enabled,
the network interface is responsible for checking the checksums of the incoming packets.
This can be either done in hardware, or by calling the checksum functions.</description>
</property>
<property id="ipconfigSOCKET_HAS_USER_WAKE_CALLBACK" display="Allows to use a call-back function " default="1" type="checkbox">
<option id="ipconfigSOCKET_HAS_USER_WAKE_CALLBACK.0" display="Disable" value="0"/>
<option id="ipconfigSOCKET_HAS_USER_WAKE_CALLBACK.1" display="Enable" value="1"/>
<description>The macro 'ipconfigSOCKET_HAS_USER_WAKE_CALLBACK' allows to use a call-backfunction
that will be called at the moment one of the above events occurs.
Use the socket option 'FREERTOS_SO_WAKEUP_CALLBACK' to install a function
of the type 'void callback( Socket_t pxSocket )'.
Note that the call-back function runs in the IP-task, so very little things can be done.
Better not to call any networking API, because that could easily lead to a deadlock situation.</description>
</property>
<property id="ipconfigTCP_KEEP_ALIVE" display="Enable protecting established sockets using keep-alive packets" default="1" type="checkbox">
<option id="ipconfigTCP_KEEP_ALIVE.0" display="Disable" value="0"/>
<option id="ipconfigTCP_KEEP_ALIVE.1" display="Enable" value="1"/>
<description>TCP only: if the 'ipconfigTCP_KEEP_ALIVE' macro is defined as 1,
sockets in state "ESTABLISHED" can be protected using keep-alive packets.
These packets will be sent as soon as there hasn't been any activity
for a while.
The macro 'ipconfigTCP_KEEP_ALIVE_INTERVAL' determines the interval at
which keep-alive packets are sent.</description>
</property>
<property id="ipconfigUSE_DHCP" display="Enable DHCP protocol" default="1" type="checkbox">
<option id="ipconfigUSE_DHCP.0" display="Disable" value="0"/>
<option id="ipconfigUSE_DHCP.1" display="Enable" value="1"/>
<description>Enable DHCP to assign IP address via DHCP server.
DHCP will assign an IP-address, a netmask, a gateway address, and one or more DNS addresses to the endpoint.</description>
</property>
<property id="ipconfigUSE_DHCP_HOOK" display="Enable DHCP hook function" default="1" type="checkbox">
<option id="ipconfigUSE_DHCP_HOOK.0" display="Disable" value="0"/>
<option id="ipconfigUSE_DHCP_HOOK.1" display="Enable" value="1"/>
<description>During the DHCP process, the driver will call an application hook if 'ipconfigUSE_DHCP_HOOK' is non-zero.
It lets the application decide if the DHCP offer shall be accepted.</description>
</property>
<property id="ipconfigSUPPORT_OUTGOING_PINGS" display="Enable sending ping requests" default="1" type="checkbox">
<option id="ipconfigSUPPORT_OUTGOING_PINGS.0" display="Disable" value="0"/>
<option id="ipconfigSUPPORT_OUTGOING_PINGS.1" display="Enable" value="1"/>
<description>If ipconfigSUPPORT_OUTGOING_PINGS is set to 1 then the
FreeRTOS_SendPingRequest() API function is available.</description>
</property>
</configuration>
</module>
105 changes: 105 additions & 0 deletions Configuration/FreeRTOS_IP.xml
Original file line number Diff line number Diff line change
@@ -0,0 +1,105 @@
<?xml version="1.0" encoding="UTF-8"?>
<refinfo>
<!-- only one package entry allowed -->
<package>
<type>rtosmodule</type>
<name>FreeRTOS_IP</name>
<version>3.1.0</version>
<category>rtos.library</category>
<function>RTOS</function>
<application>FreeRTOSLTSLibrary</application>
<desc>FreeRTOS-Plus-TCP</desc>
<details>FreeRTOS-Plus-TCP is a scalable, open source and thread safe TCP/IP stack for FreeRTOS.</details>
<dependency>
<module>r_ether_rx</module>
<version>1.23</version>
</dependency>
<!-- linkdir section -->
<!-- impdir section -->
<impdir>
<file>Configuration/samples/minimal_tcp/src/frtos_config/FreeRTOSIPConfig.h</file>
<path>src/frtos_config</path>
</impdir>
<!-- resource filter section -->
<resourcefilter>
<name>Common/FreeRTOS_common</name>
<type>13</type>
<arguments>
<key>name</key>
<regularexpression>true</regularexpression>
<folder>network_support</folder>
</arguments>
</resourcefilter>
<resourcefilter>
<name>Middleware/FreeRTOS</name>
<type>9</type>
<arguments>
<key>name</key>
<regularexpression>true</regularexpression>
<folder>FreeRTOS-Plus-TCP</folder>
</arguments>
</resourcefilter>
<resourcefilter>
<name>Middleware/FreeRTOS/FreeRTOS-Plus-TCP</name>
<type>9</type>
<arguments>
<key>name</key>
<regularexpression>true</regularexpression>
<folder>source</folder>
</arguments>
</resourcefilter>
<resourcefilter>
<name>Middleware/FreeRTOS/FreeRTOS-Plus-TCP/source/portable/BufferManagement</name>
<type>5</type>
<arguments>
<key>name</key>
<regularexpression>true</regularexpression>
<file>BufferAllocation_2.c</file>
</arguments>
</resourcefilter>
<resourcefilter>
<toolchain>RXC</toolchain>
<name>Middleware/FreeRTOS/FreeRTOS-Plus-TCP/source/portable/Compiler</name>
<type>9</type>
<arguments>
<key>name</key>
<regularexpression>true</regularexpression>
<folder>Renesas</folder>
</arguments>
</resourcefilter>
<resourcefilter>
<toolchain>GNURX</toolchain>
<name>Middleware/FreeRTOS/FreeRTOS-Plus-TCP/source/portable/Compiler</name>
<type>9</type>
<arguments>
<key>name</key>
<regularexpression>true</regularexpression>
<folder>GCC</folder>
</arguments>
</resourcefilter>
<resourcefilter>
<name>Middleware/FreeRTOS/FreeRTOS-Plus-TCP/source/portable/NetworkInterface</name>
<type>9</type>
<arguments>
<key>name</key>
<regularexpression>true</regularexpression>
<folder>RX</folder>
</arguments>
</resourcefilter>
<!-- incdir section -->
<incdir>
<path>Common/FreeRTOS_common/network_support</path>
</incdir>
<incdir>
<path>Middleware/FreeRTOS/FreeRTOS-Plus-TCP/source/include</path>
</incdir>
<incdir>
<toolchain>RXC</toolchain>
<path>Middleware/FreeRTOS/FreeRTOS-Plus-TCP/source/portable/Compiler/Renesas</path>
</incdir>
<incdir>
<toolchain>GNURX</toolchain>
<path>Middleware/FreeRTOS/FreeRTOS-Plus-TCP/source/portable/Compiler/GCC</path>
</incdir>
</package>
</refinfo>
19 changes: 8 additions & 11 deletions Configuration/FreeRTOS_Kernel.mdf
Original file line number Diff line number Diff line change
Expand Up @@ -73,6 +73,13 @@ Disable: use 32bit_ticks</description>
<option id="configIDLE_SHOULD_YIELD.1" display="Enable" value="1"/>
<description>Enable: Idle task will yield immediately if any other task at the idle priority is ready to run. That task will share the same time slice with idle task.
Disable: prevents the idle task from yielding processing time until the end of time slice. This ensure all tasks at the idle priority are allocated an equal amount of processing time.</description>
</property>
<property id="configUSE_CO_ROUTINES" display="Co-routine" default="0" type="checkbox">
<option id="configUSE_CO_ROUTINES.0" display="Disable" value="0"/>
<option id="configUSE_CO_ROUTINES.1" display="Enable" value="1"/>
<description>Enable: include co-routine functionality in the build.
To include co-routines croutine.c must be included in the project.
Disable: omit co-routine functionality from the build. </description>
</property>
<property id="configUSE_MUTEXES" display="Mutex functionality" default="1" type="checkbox">
<option id="configUSE_MUTEXES.0" display="Disable" value="0"/>
Expand Down Expand Up @@ -227,13 +234,6 @@ Disable: disable use of event groups</description>
portCONFIGURE_TIMER_FOR_RUN_TIME_STATS()
portGET_RUN_TIME_COUNTER_VALUE()
Disable: Omit time statistics.</description>
</property>
<property id="configUSE_CO_ROUTINES" display="Co-routine" default="0" type="checkbox">
<option id="configUSE_CO_ROUTINES.0" display="Disable" value="0"/>
<option id="configUSE_CO_ROUTINES.1" display="Enable" value="1"/>
<description>Enable: include co-routine functionality in the build.
To include co-routines croutine.c must be included in the project.
Disable: omit co-routine functionality from the build. </description>
</property>
<property id="configMAX_CO_ROUTINE_PRIORITIES" display="Maximum number of priorities to the application co-routines" default="2" type="textbox">
<constraint display="Value must be an integer">testInteger("${configMAX_CO_ROUTINE_PRIORITIES}")</constraint>
Expand Down Expand Up @@ -360,16 +360,13 @@ Disable: exclude the xTaskAbortDelay() from your build</description>
<description>Enable: enable stats formatting function
Disable: disable stats formatting function</description>
</property>
<property id="configPRINTF ( X )" display="configPRINTF ( X )" default="vLoggingPrintf X" type="textbox">
<constraint display="default disable" actionOnFail="disable">("${configPRINTF ( X )}" == vLoggingPrintf X)</constraint>
<property id="configPRINTF( X )" display="configPRINTF( X )" default="vLoggingPrintf X" type="textbox">
<description>The function that implements FreeRTOS printf style output, and the macro that maps the configPRINTF() macros to that function.</description>
</property>
<property id="configPRINT( X )" display="configPRINT( X )" default="vLoggingPrint( X )" type="textbox">
<constraint display="default disable" actionOnFail="disable">("${configPRINT( X )}" == vLoggingPrint( X ))</constraint>
<description>Non-format version thread-safe print</description>
</property>
<property id="configPRINT_STRING( x )" display="configPRINT_STRING( x )" default="vOutputString(x)" type="textbox">
<constraint display="default disable" actionOnFail="disable">("${configPRINT_STRING( x )}" == vOutputString(x))</constraint>
<description>Map the logging task's printf to the board specific output function.</description>
</property>
<property id="configLOGGING_MAX_MESSAGE_LENGTH" display="Max message length" default="192" type="textbox">
Expand Down
Loading

0 comments on commit 73be77a

Please sign in to comment.