Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Added initial Renesas G4MH support. #152

Conversation

RICCIARDI-Adrien
Copy link
Contributor

@RICCIARDI-Adrien RICCIARDI-Adrien commented Nov 13, 2023

No CI can be provided because this core needs a proprietary compiler that can't be downloaded without an account.

fsylvestre and others added 25 commits November 10, 2023 12:13
[Adrien Ricciardi: Added .gitignore]
[Adrien Ricciardi: Changed GOIL version from 4.2 to 4.0]
It's needed because durring interrupts these registers must be saved,
so we also need to be able to restore them after a context switch call.
[Adrien Ricciardi: Added .gitignore]
[Adrien Ricciardi: Added .gitignore]
[Adrien Ricciardi: Changed GOIL version from 4.2 to 4.0]
…ion.

It allows to unlock the CAN 0 module access from Cortex-R52 core.

Signed-off-by: Adrien Ricciardi <[email protected]>
This address has been changed from 0x200 to 0x400 in the Renesas Whitebox SDK V4.x,
so do the same here.

Signed-off-by: Adrien Ricciardi <[email protected]>
…tion steps.

The 'build.sh' script now also generates the '_build/App_CDD_ICCOM_S4_Sample_G4MH.srec'
firmware to provide to the Flash_Tools 'burn.sh' script.

Signed-off-by: Adrien Ricciardi <[email protected]>
Also created the CAN library in the G4MH GOIL templates.

Signed-off-by: Adrien Ricciardi <[email protected]>
… increments the ID and the payload bytes, then send it back.

This is the same application than the Cortex-R52 example for the Spider board.

Signed-off-by: Adrien Ricciardi <[email protected]>
@RICCIARDI-Adrien RICCIARDI-Adrien force-pushed the initial_renesas_g4mh_support branch from e0f2693 to 930d74d Compare November 14, 2023 15:28
//#include "Compiler.h"
#include "tpl_compiler.h"

uint32 ICCOM_CTA_MEMORY_CH0 = 0x47fc7000;
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Could be const

#include "tpl_compiler.h"

uint32 ICCOM_CTA_MEMORY_CH0 = 0x47fc7000;
uint32 ICCOM_CTA_MEMORY_CH1 = 0x47fc9000;
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Could be const

Copy link
Member

@jlbirccyn jlbirccyn left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Ok for this one too. Some remarks:

  1. in examples/rh850/iccom/iccom_ll.c and examples/rh850/iccom/iccom_ll.h, functions are not declared using AUTOSAR macros
  2. in examples/rh850/one_task/one_task.c, main is not declared using AUTOSAR macro.
  3. Same for libraries/drivers/can/renesas/spider_can.c

@RICCIARDI-Adrien RICCIARDI-Adrien merged commit eb042f4 into TrampolineRTOS:master Nov 16, 2023
39 checks passed
@RICCIARDI-Adrien RICCIARDI-Adrien deleted the initial_renesas_g4mh_support branch December 1, 2023 15:46
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

4 participants