-
Notifications
You must be signed in to change notification settings - Fork 6.5k
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
Enable imxrt1010 #19335
Enable imxrt1010 #19335
Conversation
All checks are passing now. checkpatch (informational only, not a failure)
Tip: The bot edits this comment instead of posting a new one, so you can check the comment's history to see earlier messages. |
e9f3e54
to
2bea616
Compare
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.
Thanks @jhqian
Please update west.yml
similar to dd783fe to pull the the changes from zephyrproject-rtos/hal_nxp#13. This will help fix the shippable failure.
soc/arm/nxp_imx/rt/Kconfig.soc
Outdated
@@ -263,6 +291,9 @@ config INIT_USB1_PLL | |||
config INIT_VIDEO_PLL | |||
bool "Initialize Video PLL" | |||
|
|||
config HAS_NO_ARM_DIV |
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.
Let's make this positive logic instead. Change to HAS_ARM_DIV
, set default y here (since that is the typical case for most socs in this series), then override the default in Kconfig.defconfig.mimxrt1010
only
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.
Thanks, updated as suggested.
soc/arm/nxp_imx/rt/soc.c
Outdated
@@ -145,7 +146,9 @@ static ALWAYS_INLINE void clkInit(void) | |||
CLOCK_InitVideoPll(&videoPllConfig); | |||
#endif | |||
|
|||
#ifndef CONFIG_HAS_NO_ARM_DIV |
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.
#ifdef CONFIG_HAS_ARM_DIV
2bea616
to
c03c2c6
Compare
soc/arm/nxp_imx/rt/Kconfig.soc
Outdated
@@ -263,6 +290,10 @@ config INIT_USB1_PLL | |||
config INIT_VIDEO_PLL | |||
bool "Initialize Video PLL" | |||
|
|||
config HAS_ARM_DIV | |||
bool "Has the divider for ARM" | |||
default y |
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.
Replace the leading spaces with a tab
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.
will do.
- gnuarmemb | ||
- xtools | ||
ram: 32 | ||
flash: 16384 |
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.
Make this 32. This should help resolve the shippable failures
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.
Sure, thanks.
c272c5b
to
019fcd6
Compare
289ce24
to
e13bc71
Compare
Please address the shippable and documentation failures |
Although there's no Segger public support yet, switch to use external flash as code memory rather than tiny TCM. |
The merge window for 2.1 is now closed so this PR should target |
I don't think that's what we agreed. New GPIO drivers must be developed to match the new GPIO API, based on an the expectation that the new API will be merged in the 2.2 window. We should not be blocking the addition of boards until the new GPIO infrastructure is ready for master, just because they happen to touch a GPIO driver. |
9eaa8ee
to
e000ac1
Compare
Anybody can tell me how I can trigger another shippable check? I just updated the module for NXP hal. Thanks in advance. |
It looks like this is passing now. I guess the only think preventing it being merged is the 2.1 release? |
board_set_flasher_ifnset(jlink) | ||
endif() | ||
|
||
board_runner_args(jlink "--device=cortex-m7") |
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.
Please check JLink V6.60
- DLL: Added debug support for NXPx iMXRT1010 family (e.g. MIMXRT1011CAE4A)
e000ac1
to
aa1d329
Compare
aa1d329
to
4604b3e
Compare
4604b3e
to
f4fcf45
Compare
Is there anything blocking this patch being merged? |
soc/arm/nxp_imx/rt/Kconfig.soc
Outdated
FlexSPI configuration block consists of parameters regarding specific | ||
flash devices including read command sequence, quad mode enablement | ||
sequence (optional), etc. The boot ROM expectes FlexSPI configuration | ||
parameter to be presented in serail nor flash. |
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.
Please adjust the alignment such that it is indented two spaces more than the help
line.
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.
revised.
soc/arm/nxp_imx/rt/dts_fixup.h
Outdated
#define DT_MCUX_IGPIO_5_IRQ_0 DT_NXP_IMX_GPIO_400C0000_IRQ_0 | ||
#define DT_MCUX_IGPIO_5_IRQ_0_PRI DT_NXP_IMX_GPIO_400C0000_IRQ_0_PRIORITY | ||
#define DT_MCUX_IGPIO_5_IRQ_1 DT_NXP_IMX_GPIO_400C0000_IRQ_1 | ||
#define DT_MCUX_IGPIO_5_IRQ_1_PRI DT_NXP_IMX_GPIO_400C0000_IRQ_1_PRIORITY |
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.
Why are you adding IGPIO_5 again? These lines appear to be duplicates
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.
removed
- Check presence of GPIO IRQ related macros before enabling IRQ Signed-off-by: Ryan QIAN <jianghao.qian@nxp.com>
- Add device support for i.MXRT1010 Signed-off-by: Ryan QIAN <jianghao.qian@nxp.com>
Add board support files for mimxrt1010_evk, the development board for i.MXRT1010 (CM7) SoC. - Add pinmux, dts and doc. - Tested samples: hello_world, philosophers, synchronization, basic/blinky, basic/button. Signed-off-by: Ryan QIAN <jianghao.qian@nxp.com>
- extend usb device support for mimxrt1010_evk Signed-off-by: Ryan QIAN <jianghao.qian@nxp.com>
f4fcf45
to
1706602
Compare
- to get the update hal_nxp from PR #13 Signed-off-by: Ryan QIAN <jianghao.qian@nxp.com>
1706602
to
c7e50df
Compare
Add board support for mimxrt1010_evk