-
Notifications
You must be signed in to change notification settings - Fork 5.1k
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
[bsp][lpc55sxx]add: rw007_lpc55sxx_port.c #7450
Conversation
bsp/lpc55sxx/lpc55s69_nxp_evk/board/ports/rw007_lpc55sxx_port.c
Outdated
Show resolved
Hide resolved
bsp/lpc55sxx/lpc55s69_nxp_evk/board/ports/rw007_lpc55sxx_port.c
Outdated
Show resolved
Hide resolved
bsp/lpc55sxx/lpc55s69_nxp_evk/board/ports/rw007_lpc55sxx_port.c
Outdated
Show resolved
Hide resolved
{ | ||
rt_pin_attach_irq(RW007_INT_BUSY_PIN, PIN_IRQ_MODE_FALLING, int_wifi_irq, 0); | ||
rt_pin_irq_enable(RW007_INT_BUSY_PIN, RT_TRUE); | ||
} |
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.
} | |
} | |
@@ -9,6 +9,9 @@ MCUX_Config/board/clock_config.c | |||
MCUX_Config/board/pin_mux.c | |||
""") | |||
|
|||
if GetDepend(['PKG_USING_RW007']): | |||
src += Glob('ports/rw007_port.c') |
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.
src += Glob('ports/rw007_port.c') | |
src += ['ports/rw007_port.c'] |
@@ -9,6 +9,9 @@ MCUX_Config/board/clock_config.c | |||
MCUX_Config/board/pin_mux.c | |||
""") | |||
|
|||
if GetDepend(['PKG_USING_RW007']): | |||
src += Glob('ports/rw007_port.c') | |||
|
|||
CPPPATH = [cwd,cwd + '/MCUX_Config/board'] |
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.
CPPPATH = [cwd,cwd + '/MCUX_Config/board'] | |
CPPPATH = [cwd, cwd + '/MCUX_Config/board'] |
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.
os.path.join(cwd, 'MCUX_Config', 'board')
{ | ||
char sn_version[32]; | ||
|
||
rt_err_t rt_hw_spi_device_attach(const char *bus_name, const char *device_name, rt_uint32_t pin); |
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.
include <drv_spi.h>
拉取/合并请求描述:(PR description)
[
为什么提交这份PR (why to submit this PR)
你的解决方案是什么 (what is your solution)
在什么测试环境下测试通过 (what is the test environment)
]
当前拉取/合并请求的状态 Intent for your PR
必须选择一项 Choose one (Mandatory):
代码质量 Code Quality:
我在这个拉取/合并请求中已经考虑了 As part of this pull request, I've considered the following:
#if 0
代码,不包含已经被注释了的代码 All redundant code is removed and cleaned up