forked from ARMmbed/DAPLink
-
Notifications
You must be signed in to change notification settings - Fork 2
Lpc4322/rt1170 gcc #9
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
Open
groleo
wants to merge
20
commits into
flit:feature/gcc
Choose a base branch
from
groleo:lpc4322-gcc
base: feature/gcc
Could not load branches
Branch not found: {{ refName }}
Loading
Could not load tags
Nothing to show
Loading
Are you sure you want to change the base?
Some commits from the old base branch may be removed from the timeline,
and old review comments may become outdated.
Open
Conversation
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
Signed-off-by: Alex Yang <alex.yang@nxp.com> Signed-off-by: Adrian Negreanu <adrian.negreanu@nxp.com>
Compiling ../../../source/family/freescale/target_reset_mimxrt.c
In file included from ../../../source/target/target_config.h:29,
from ../../../source/family/freescale/target_reset_mimxrt.c:50:
../../../source/daplink/util.h: In function 'validate_bin_nvic':
../../../source/daplink/util.h:70:24: error: invalid storage class for function 'util_div_round_up'
70 | inline static uint32_t util_div_round_up(uint32_t dividen, uint32_t divisor)
| ^~~~~~~~~~~~~~~~~
../../../source/daplink/util.h:75:26: error: invalid storage class for function 'util_div_round_down'
75 | __STATIC_INLINE uint32_t util_div_round_down(uint32_t dividen, uint32_t divisor)
| ^~~~~~~~~~~~~~~~~~~
../../../source/daplink/util.h:80:26: error: invalid storage class for function 'util_div_round'
80 | __STATIC_INLINE uint32_t util_div_round(uint32_t dividen, uint32_t divisor)
| ^~~~~~~~~~~~~~
make: *** [Makefile:213: build/target_reset_mimxrt.o] Error 1
Signed-off-by: Adrian Negreanu <adrian.negreanu@nxp.com>
The stack and heap have to reside in m_data. The largest symbols (.bss.TraceBuf, .bss.sector_buf, .bss.DAP_Cmd_queue) are explicitly placed in m_data_2. Signed-off-by: Adrian Negreanu <adrian.negreanu@nxp.com>
this provides definitions needed by GetClockFreq()
It provides GetClockFreq() which is needed by USART_LPC43xx.
Signed-off-by: Adrian Negreanu <adrian.negreanu@nxp.com>
Signed-off-by: Adrian Negreanu <adrian.negreanu@nxp.com>
Signed-off-by: Adrian Negreanu <adrian.negreanu@nxp.com>
This way, one can set SWO_UART from the target's yaml. Signed-off-by: Adrian Negreanu <adrian.negreanu@nxp.com>
Signed-off-by: Adrian Negreanu <adrian.negreanu@nxp.com>
Signed-off-by: Adrian Negreanu <adrian.negreanu@nxp.com>
Signed-off-by: Adrian Negreanu <adrian.negreanu@nxp.com>
Signed-off-by: Adrian Negreanu <adrian.negreanu@nxp.com>
From DAP_config.h: This value is used to calculate the SWD/JTAG clock speed that is generated with I/O Port write operations in the Debug Unit by a Cortex-M MCU. If the Debug Unit uses a Cortex-M0+ processor with high-speed peripheral I/O then only 1 processor cycle might be required. Signed-off-by: Adrian Negreanu <adrian.negreanu@nxp.com>
Signed-off-by: Adrian Negreanu <adrian.negreanu@nxp.com>
Signed-off-by: Adrian Negreanu <adrian.negreanu@nxp.com>
Collaborator
|
Hi @groleo, I am thinking about creating a PR to DAPLink:experimental_compilers with only some of the LPC4322 changes. It already works on GCC on this branch. In order, I am interested:
The MIMXRT1170 could be a later PR. I will probably have a several questions. |
Author
|
Hi, I've left the mimxrt1170 bits out : ARMmbed#813 |
flit
pushed a commit
that referenced
this pull request
Dec 10, 2021
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.