-
Notifications
You must be signed in to change notification settings - Fork 1.2k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Author: Gregory Nutt <[email protected]>
Run all .c and .h files in last PR through nxstyle. Author: 脚蹬破拖鞋 <[email protected]> Add Imxrt usdhc insert or remove detection (#43) * Add usdhc card insertion and removal detection using interrupt for imxrt. * Add interrupt handle when usdhc insert or remove.
- Loading branch information
1 parent
981d700
commit 0b3dac2
Showing
3 changed files
with
34 additions
and
5 deletions.
There are no files selected for viewing
This file contains 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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,7 +1,7 @@ | ||
/**************************************************************************** | ||
* arch/arm/src/imxrt/imxrt_ehci.c | ||
* | ||
* Copyright (C) 2013-2017 Gregory Nutt. All rights reserved. | ||
* Copyright (C) 2013-2017, 2020 Gregory Nutt. All rights reserved. | ||
* Authors: Gregory Nutt <[email protected]> | ||
* Dave Marples <[email protected]> | ||
* | ||
|
This file contains 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
This file contains 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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,7 +1,7 @@ | ||
/**************************************************************************** | ||
* boards/arm/imxrt/imxrt1060-evk/src/imxrt_bringup.c | ||
* | ||
* Copyright (C) 2018 Gregory Nutt. All rights reserved. | ||
* Copyright (C) 2018, 2020 Gregory Nutt. All rights reserved. | ||
* Authors: Gregory Nutt <[email protected]> | ||
* David Sidrane <[email protected]> | ||
* | ||
|
@@ -121,7 +121,10 @@ static int nsh_sdmmc_initialize(void) | |
"ERROR: Failed to bind SDIO to the MMC/SD driver: %d\n", | ||
ret); | ||
} | ||
|
||
imxrt_usdhc_set_sdio_card_isr(sdmmc, NULL, NULL); | ||
} | ||
|
||
return OK; | ||
} | ||
#else | ||
|