-
Notifications
You must be signed in to change notification settings - Fork 276
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
Added initial Renesas G4MH support. #152
Conversation
[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]>
…aries model. 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]>
…te to allow to override them in goil file
…roller 1 channels. Signed-off-by: Adrien Ricciardi <[email protected]>
…o(). Signed-off-by: Adrien Ricciardi <[email protected]>
Signed-off-by: Adrien Ricciardi <[email protected]>
e0f2693
to
930d74d
Compare
//#include "Compiler.h" | ||
#include "tpl_compiler.h" | ||
|
||
uint32 ICCOM_CTA_MEMORY_CH0 = 0x47fc7000; |
There was a problem hiding this comment.
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; |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Could be const
There was a problem hiding this 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:
- in
examples/rh850/iccom/iccom_ll.c
andexamples/rh850/iccom/iccom_ll.h
, functions are not declared using AUTOSAR macros - in
examples/rh850/one_task/one_task.c
, main is not declared using AUTOSAR macro. - Same for
libraries/drivers/can/renesas/spider_can.c
No CI can be provided because this core needs a proprietary compiler that can't be downloaded without an account.