This commit is contained in:
2026-06-18 13:32:10 +09:00
parent 82eccb559d
commit 27a5f79fcc
48 changed files with 136532 additions and 1918 deletions

View File

@@ -53,7 +53,7 @@ SET CPU2_OPTION=CPU2_NOT_USED
SET CPU3_OPTION=CPU3_NOT_USED
IF "%COMPILER_INSTALL_DIR%"=="" (
SET COMPILER_INSTALL_DIR=C:\ARMCompiler6.16.2\bin
SET COMPILER_INSTALL_DIR=C:\Program Files\ArmCompilerforEmbeddedFuSa6.16.2\bin
)
IF /i "%1"=="DisplEnv" (

View File

@@ -531,7 +531,7 @@ echo.AUTOSAR_VERSION (*) - AUTOSAR version to be compiled which is availabl
echo. R19-11
echo.
echo DEVICE (*) - Device Name to be compiled which is available :
echo. V4M : V4M
echo. V4H : V4H
echo.
echo MULTIINSTANCE - Yes : Build sample application with multi instances (applicable for: none)
echo No or unset(null) : Build sample application with single instance (applicable for: all supported modules)

View File

@@ -165,25 +165,25 @@ void sample_end(void)
if (LucFlagFinalResult == TRUE)
{
#if (CAN_CR52_PROC == STD_ON) || defined(CAN_V4H_PROC)
Console_Print("EXECUTED OK\n");
Console_Print("\r\nWoody CAN EXECUTED OK\n");
#else
GucFinalResult = "EXECUTED OK";
GucFinalResult = "Woody CAN EXECUTED OK";
#endif
}
else
{
#if (CAN_CR52_PROC == STD_ON) || defined(CAN_V4H_PROC)
Console_Print("EXECUTED NOT OK\n");
Console_Print("\r\nWoody CAN EXECUTED NOT OK\n");
#else
GucFinalResult = "EXECUTED NOT OK";
GucFinalResult = "Woody CAN EXECUTED NOT OK";
#endif
}
/* End of program */
#if (CAN_CR52_PROC == STD_ON) || defined(CAN_V4H_PROC)
Console_Print("PROGRAM STOP\n");
Console_Print("\r\nWoody CAN PROGRAM STOP\n");
Timer_End();
#else /* G4MH */
GucProgramStop = "PROGRAM STOP";
GucProgramStop = "Woody CAN PROGRAM STOP";
#endif
}
@@ -210,10 +210,10 @@ int main(void)
#if (CAN_CR52_PROC == STD_ON) || defined(CAN_V4H_PROC)
Scif_Init();
/* PROGRAM START */
Console_Print("PROGRAM START\n");
Console_Print("\r\nWoody CAN PROGRAM START\n");
#else
/* PROGRAM START */
GucProgramStart = "PROGRAM START";
GucProgramStart = "Woody CANPROGRAM START";
#endif
Clock_Init();

View File

@@ -174,7 +174,7 @@ int main (void)
/* Initialize scif */
Interrupt_Init();
/* Print out PROGRAM START */
Console_Print("PROGRAM START\n");
Console_Print("\r\nWoody CRC PROGRAM START\n");
#if (CDDCRC_VERSION_INFO_API == STD_ON)
/* Get version information */
@@ -424,14 +424,14 @@ int main (void)
/* Final Result*/
if (LucFlagFinalResult == TRUE)
{
Console_Print("EXECUTED OK\r\n");
Console_Print("\r\nWoody CRC EXECUTED OK\r\n");
}
else
{
Console_Print("EXECUTED NOT OK\r\n");
Console_Print("\r\nWoody CRC EXECUTED NOT OK\r\n");
}
/* Print out PROGRAM STOP */
Console_Print("PROGRAM STOP\n");
Console_Print("\r\nWoody CRC PROGRAM STOP\r\n");
return 0;
}

View File

@@ -449,8 +449,8 @@ int main (void)
Scif_Init();
/* Start program */
Console_Print("PROGRAM START\r\n");
Console_Print("[Cortex] EMM CDD Sample Application Start. \r\n");
Console_Print("\r\nWoody EMM PROGRAM START\r\n");
Console_Print("\r\n[Cortex] EMM CDD Sample Application Start. \r\n");
/* Get version information */
(void)CddEmm_GetVersionInfo(&EmmVersionInfo);
@@ -4260,15 +4260,15 @@ int main (void)
if (((boolean)CDDEMM_TRUE == CddEmm_GblTestResult) && \
((boolean)CDDEMM_TRUE == CddEmm_GucVerCheckStatus))
{
Console_Print("EXECUTED OK\r\n");
Console_Print("\r\nWoody EMM EXECUTED OK\r\n");
}
else
{
Console_Print("EXECUTED NOT OK\r\n");
Console_Print("\r\nWoody EMM EXECUTED NOT OK\r\n");
}
/* Stop program */
Console_Print("PROGRAM STOP\r\n");
Console_Print("\r\nWoody EMM PROGRAM STOP\r\n");
}

View File

@@ -174,7 +174,7 @@ int main (void)
/* Start Sample Application */
#if (CDDICCOM_DEVICE_NAME != RTM8RC79FG)
Console_Print("PROGRAM START\r\n");
Console_Print("\r\nWoody ICCOM PROGRAM START\r\n");
#else
GucProgramStart = "PROGRAM START";
#endif /* CDDICCOM_DEVICE_NAME != RTM8RC79FG */

View File

@@ -148,7 +148,7 @@ int main (void)
LstSlaveInterface.ulMaxRxByte = 2048;
/* Print the inital message of sample application */
Console_Print("PROGRAM START\r\n");
Console_Print("\r\nWoody IIC PROGRAM START\r\n");
#if (CDDIIC_VERSION_INFO_API == STD_ON)
/* Get version information */
@@ -279,14 +279,14 @@ int main (void)
/* Sample Application checkpoint */
if (TEST_PASSED == LucDataResult)
{
Console_Print("EXECUTED OK\r\n");
Console_Print("\r\nWoody IIC EXECUTED OK\r\n");
}
else
{
Console_Print("EXECUTED NOT OK\r\n");
Console_Print("\r\nWoody IIC EXECUTED NOT OK\r\n");
}
/* Print the ending message of sample application */
Console_Print("PROGRAM STOP\r\n");
Console_Print("\r\nWoody IIC PROGRAM STOP\r\n");
}
#if(CDDIIC_CH0_USED == STD_ON)

View File

@@ -123,7 +123,7 @@ int main (void)
Interrupt_Init();
/* Start program */
Console_Print("PROGRAM START\r\n");
Console_Print("\r\nWoody RFSO PROGRAM START\r\n");
Console_Print("CDDRFSO Sample Application Start. \r\n");
/* To get the RFSO Driver version information */
@@ -332,15 +332,15 @@ int main (void)
if (CDDRFSO_OK == GddCddRfsoCheckResult &&
CDDRFSO_SAMPLE_FIFTEEN == GddCddRfsoCountCheck)
{
Console_Print("EXECUTED OK\r\n");
Console_Print("\r\nWoody RFSO EXECUTED OK\r\n");
}
else
{
Console_Print("EXECUTED NOT OK\r\n");
Console_Print("\r\nWoody RFSO EXECUTED NOT OK\r\n");
}
/* Stop program */
Console_Print("PROGRAM STOP\r\n");
Console_Print("\r\nWoody RFSO PROGRAM STOP\r\n");
}
/* Callback function for interval timer interrupt */

View File

@@ -122,7 +122,7 @@ int main()
Scif_Init();
/* Start program */
Console_Print("PROGRAM START\r\n");
Console_Print("\r\nWoody THS PROGRAM START\r\n");
/* Initialize MCU */
Mcu_Init();
@@ -406,21 +406,21 @@ int main()
&& (ZERO_UNIT8_NUMBER != GusCheckNotification2))
#endif /* End of (CDD_THS_THERMAL_INTERRUPTION == STD_ON) */
{
Console_Print("EXECUTED OK\r\n");
Console_Print("\r\nWoody THS EXECUTED OK\r\n");
}
#if (CDD_THS_THERMAL_INTERRUPTION == STD_ON)
else
{
Console_Print("EXECUTED NOT OK\r\n");
Console_Print("\r\nWoody THS EXECUTED NOT OK\r\n");
}
#endif /* End of (CDD_THS_THERMAL_INTERRUPTION == STD_ON) */
}
else
{
Console_Print("EXECUTED NOT OK\r\n");
Console_Print("\r\nWoody THS EXECUTED NOT OK\r\n");
}
/* Stop program */
Console_Print("PROGRAM STOP\r\n");
Console_Print("\r\nWoody THS PROGRAM STOP\r\n");
return 0;
}

View File

@@ -114,7 +114,7 @@ int main (void)
/* Initialize Serial Log */
Scif_Init();
/* Print out PROGRAM START */
Console_Print("PROGRAM START\n");
Console_Print("\r\nWoody DIO PROGRAM START\n");
/* Initialize Watchdog */
Wdg_Init();
@@ -376,15 +376,15 @@ int main (void)
/* Final Result */
if (LucFlagFinalResult == TRUE)
{
Console_Print("EXECUTED OK\n");
Console_Print("\r\nWoody DIO EXECUTED OK\n");
}
else
{
Console_Print("EXECUTED NOT OK\n");
Console_Print("\r\nWoody DIO EXECUTED NOT OK\n");
}
/* Print out PROGRAM STOP */
Console_Print("PROGRAM STOP\n");
Console_Print("\r\nWoody DIO PROGRAM STOP\n");
return 0;
}
/* End of main() function */

View File

@@ -65,7 +65,7 @@
* update checkpoint Console_Print();
* 1.4.2: 18/05/2022 : Merge code between S4 and V4H devices
* Add DelayWriteMII, EthTest_WaitMsadd
* Add Console_Print("PROGRAM STOP\n")
* Add Console_Print("Woody PROGRAM STOP\n")
* Update Eth_WriteMii and copy buffer for V4H device
* 1.4.0: 03/03/2022 : Release
* 1.3.2: 19/02/2022 : Re-order variables GucProgramStop and GucFinalResult
@@ -340,7 +340,7 @@ void sample_end(void)
{
/*PROGRAM STOP */
#if defined ETH_AVB_IF
Console_Print("PROGRAM STOP\n");
Console_Print("\r\nWoody ETH PROGRAM STOP\n");
#else
/* The transmitted message and the received message matched.(OK) */
GucProgramStop = "PROGRAM STOP";
@@ -355,7 +355,7 @@ void sample_NG_end(void)
{
/*PROGRAM STOP */
#if defined ETH_AVB_IF
Console_Print("PROGRAM STOP\n");
Console_Print("\r\nWoody ETH PROGRAM STOP\n");
#else
/* The transmitted message and receiving message are different.(NG) */
GucFinalResult = "EXECUTED NOT OK";
@@ -516,9 +516,9 @@ int main(void)
/* PROGRAM START */
#if defined ETH_AVB_IF
Console_Print("PROGRAM START\n");
Console_Print("\r\nWoody ETH PROGRAM START\n");
#else
GucProgramStart = "PROGRAM START";
GucProgramStart = "Woody ETH PROGRAM START";
#endif
/************************* Set up transceiver ****************************/
@@ -1368,17 +1368,17 @@ int main(void)
if (LucFlagFinalResult != ETH_PASSED)
{
#if defined ETH_AVB_IF
Console_Print("EXECUTED NOT OK\n");
Console_Print("\r\nWoody ETH EXECUTED NOT OK\n");
#else
GucFinalResult = "EXECUTED NOT OK";
GucFinalResult = "Woody ETH EXECUTED NOT OK";
#endif
}
else
{
#if defined ETH_AVB_IF
Console_Print("EXECUTED OK\n");
Console_Print("\r\nWoody ETH EXECUTED OK\n");
#else
GucFinalResult = "EXECUTED OK";
GucFinalResult = "Woody ETH EXECUTED OK";
#endif
}

View File

@@ -126,7 +126,7 @@ int main(void)
#ifdef FLS_V4H_SAMPLE
/* Initialize Serial Log */
Scif_Init();
Console_Print("PROGRAM START\n");
Console_Print("\r\nWoody FLS PROGRAM START\n");
#endif
/* Declare and set value for the FLS's sector start address */
Fls_AddressType LulSectorStartAddress;
@@ -643,7 +643,7 @@ int main(void)
{
GucFinalResult = "EXECUTED OK";
#ifdef FLS_V4H_SAMPLE
Console_Print("EXECUTED OK\n");
Console_Print("\r\nWoody FLS EXECUTED OK\n");
#endif
}
@@ -651,7 +651,7 @@ int main(void)
{
GucFinalResult = "EXECUTED NOT OK";
#ifdef FLS_V4H_SAMPLE
Console_Print("EXECUTED NOT OK\n");
Console_Print("\r\nWoody FLS EXECUTED NOT OK\n");
#endif
}
@@ -659,7 +659,7 @@ int main(void)
GucProgramStop = "PROGRAM STOP";
#ifdef FLS_V4H_SAMPLE
/* Print out PROGRAM STOP */
Console_Print("PROGRAM STOP\n");
Console_Print("\r\nWoody FLS PROGRAM STOP\n");
#endif
return 0;

View File

@@ -451,7 +451,7 @@ int main(void)
/* Initialize Serial Log */
Scif_Init();
/* Print out PROGRAM START */
Console_Print("PROGRAM START\n");
Console_Print("\r\nWoody GPT PROGRAM START\n");
/* Init Interrupt */
Interrupt_Init();
@@ -672,15 +672,15 @@ int main(void)
/* Step 19: Final Result*/
if (LucFlagFinalResult == TRUE)
{
Console_Print("EXECUTED OK\n");
Console_Print("\r\nWoody GPT EXECUTED OK\n");
}
else
{
Console_Print("EXECUTED NOT OK\n");
Console_Print("\r\nWoody GPT EXECUTED NOT OK\n");
}
/* Print out PROGRAM STOP */
Console_Print("PROGRAM STOP\n");
Console_Print("\r\nWoody GPT PROGRAM STOP\n");
return E_OK;
} /* End of main() function */

View File

@@ -170,7 +170,7 @@ int main(void)
/* Initialize Serial Log */
Scif_Init();
Console_Print("PROGRAM START\n");
Console_Print("\r\nWoody MCU PROGRAM START\n");
Mcu_GucIntCount = 0;
LucChkCount = 0;
@@ -417,14 +417,14 @@ int main(void)
/* Final Result */
if (MCU_TRUE == LucFlagFinalResult)
{
Console_Print("EXECUTED OK\n");
Console_Print("\r\nWoody MCU EXECUTED OK\n");
}
else
{
Console_Print("EXECUTED NOT OK\n");
Console_Print("\r\nWoody MCU EXECUTED NOT OK\n");
}
/* Print out PROGRAM STOP */
Console_Print("PROGRAM STOP\n");
Console_Print("\r\nWoody MCU PROGRAM STOP\n");
return 0;
}

View File

@@ -102,6 +102,7 @@ int main(void)
{
/* Local variable to hold final result*/
uint8 LucResult = 0;
int i = 0;
Std_VersionInfoType LddversionInfo;
Std_ReturnType LucReturnValue;
@@ -135,8 +136,14 @@ int main(void)
/* Initialize SCIF module */
Scif_Init();
for (i = 0; i < 100000000; i++)
{
/* Wait for a while */
}
/* Start program */
Console_Print("PROGRAM START\r\n");
Console_Print("\r\nWoody PORT PROGRAM START\r\n");
/* Verifying the configuration values for pin1 pins of each groups(4..7) */
/* Check for PFC and GPIO registers*/
@@ -353,16 +360,16 @@ int main(void)
if (LucResult == 11)
{
/* Execute OK */
Console_Print("EXECUTED OK\r\n");
Console_Print("\r\nWoody PORT EXECUTED OK\r\n");
}
else
{
/* Execute NOT OK */
Console_Print("EXECUTED NOT OK\r\n");
Console_Print("\r\nWoody PORT EXECUTED NOT OK\r\n");
}
/* Stop program */
Console_Print("PROGRAM STOP\r\n");
Console_Print("\r\nWoody PORT PROGRAM STOP\r\n");
return (0);
} /* End of main() function */

View File

@@ -167,7 +167,7 @@ int main(void)
#if (SPI_MSIOF_CONFIGURED == STD_ON)
/* PROGRAM START */
Console_Print("PROGRAM START\n");
Console_Print("\r\nWoody SPI PROGRAM START\n");
#else
/* PROGRAM START */
GucProgramStart = "PROGRAM START";
@@ -325,7 +325,7 @@ int main(void)
{
#if (SPI_MSIOF_CONFIGURED == STD_ON)
Console_Print("EXECUTED OK\n");
Console_Print("\r\nWoody SPI EXECUTED OK\n");
#else
GucFinalResult = "EXECUTED OK";
#endif
@@ -333,14 +333,14 @@ int main(void)
else
{
#if (SPI_MSIOF_CONFIGURED == STD_ON)
Console_Print("EXECUTED NOT OK\n");
Console_Print("\r\nWoody SPI EXECUTED NOT OK\n");
#else
GucFinalResult = "EXECUTED NOT OK";
#endif
}
#if (SPI_MSIOF_CONFIGURED == STD_ON)
/* Print out PROGRAM STOP */
Console_Print("PROGRAM STOP\n");
Console_Print("\r\nWoody SPI PROGRAM STOP\n");
#else
/*PROGRAM STOP */
GucProgramStop = "PROGRAM STOP";

View File

@@ -259,7 +259,7 @@ int main(void)
Gpt_Init(1800);
/* Start Sample Application */
Console_Print("PROGRAM START\r\n");
Console_Print("\r\nWoody WDG PROGRAM START\r\n");
/* To get the version of the Watchdog Driver */
Wdg_GetVersionInfo(&Lddversioninfo);
@@ -331,14 +331,14 @@ int main(void)
/* Final Result*/
if (LucFlagFinalResult == TRUE)
{
Console_Print("EXECUTED OK\r\n");
Console_Print("\r\nWoody WDG EXECUTED OK\r\n");
}
else
{
Console_Print("EXECUTED NOT OK\r\n");
Console_Print("\r\nWoody WDG EXECUTED NOT OK\r\n");
}
/* Stop Sample Application */
Console_Print("PROGRAM STOP\r\n");
Console_Print("\r\nWoody WDG PROGRAM STOP\r\n");
#endif /* End of (WDG_WDTB_CONFIGURED == STD_ON) */
return 0;
} /* End of main() function */

View File

@@ -116,10 +116,10 @@ include $(MODULE_CORE_PATH)\make\renesas_$(MODULE_NAME)_rules.mak
# ################################################################################
# # Port Module
# #
# PORT_CORE_PATH = $(PROJECT_ROOT)\$(MICRO_FAMILY)\modules\port
# include $(PORT_CORE_PATH)\make\renesas_port_defs.mak
# include $(PORT_CORE_PATH)\make\renesas_port_check.mak
# include $(PORT_CORE_PATH)\make\renesas_port_rules.mak
PORT_CORE_PATH = $(PROJECT_ROOT)\$(MICRO_FAMILY)\modules\port
include $(PORT_CORE_PATH)\make\renesas_port_defs.mak
include $(PORT_CORE_PATH)\make\renesas_port_check.mak
include $(PORT_CORE_PATH)\make\renesas_port_rules.mak
# ################################################################################
# # Mcu Module

View File

@@ -2,7 +2,25 @@
** Include Section **
*******************************************************************************/
#include "App_Woody_Common_Sample.h"
#include "Port.h"
#include "scif.h"
#include "log.h"
int main(void)
{
int i = 0;
/* Invoke Mcu_Init to supply clock for GPIO */
Mcu_Init();
/* This API will initialize all the registers to the initial values */
Port_Init();
/* Initialize SCIF module */
Scif_Init();
/* Start program */
Console_Print("Woody PROGRAM START\r\n");
return 0;
}