Merged
Conversation
399d7b0 to
03ddb7f
Compare
6e9cfce to
836a2e2
Compare
mkobetic
commented
Apr 13, 2026
| @@ -1,22 +1,3 @@ | |||
| irq_vektor_porta: | |||
Owner
Author
There was a problem hiding this comment.
This was just copied from LM4, and doesn't apply to RA4
mkobetic
commented
Apr 13, 2026
| IRQ_VECTORS: | ||
| .include "arm/vectors.s" | ||
|
|
||
| @ Special interrupt handlers for this particular chip: |
mkobetic
commented
Apr 13, 2026
|
|
||
| STARTDICT | ||
|
|
||
| .include "isr.s" |
Owner
Author
There was a problem hiding this comment.
I moved this after STARTDICT, because if these files add ARM_CONSTANTS, they will fail if run before STARTDICT.
mkobetic
commented
Apr 13, 2026
| .word RAM_upper_returnstack @ 00: Stack top address | ||
| .word PFA_COLD+1 @ 01: Reset Vector +1 wegen des Thumb-Einsprunges | ||
|
|
||
| .word nullhandler+1 @ 02: NMI |
Owner
Author
There was a problem hiding this comment.
I declared nullhandler and faulthandler as .thumb_funcs above so no +1 necessary anymore.
mkobetic
commented
Apr 14, 2026
| # SCI1 Pins | ||
| .equ RA4M1_P501PFS, 0x40040940 + 4 * 1 @ TXD1 | ||
| .equ RA4M1_P502PFS, 0x40040940 + 4 * 2 @ RXD1 | ||
| .equ RA4_P501PFS, 0x40040940 + 4 * 1 @ TXD1 |
Owner
Author
There was a problem hiding this comment.
shortening the prefix to just RA4_
mkobetic
commented
Apr 14, 2026
| # Ref: Renesas RA4M1 User Manual: 2.9 SysTick System Timer | ||
|
|
||
| ARM_CONSTANT "SYST_CSR", SYST_CSR, 0xE000E010 | ||
| ARM_CONSTANT "ARM_SYST_CSR", ARM_SYST_CSR, 0xE000E010 |
Owner
Author
There was a problem hiding this comment.
Adding ARM_ prefix to distinguish ARM features from RA4 features
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
No description provided.