Skip to content

Commit

Permalink
Merge pull request #1304 from kkitayam/add_hcd_for_frdm_kl25z
Browse files Browse the repository at this point in the history
Add hcd driver for frdm kl25z
  • Loading branch information
hathach authored Feb 9, 2022
2 parents d6fb185 + ce7a8fe commit 63cb3cd
Show file tree
Hide file tree
Showing 4 changed files with 633 additions and 1 deletion.
2 changes: 1 addition & 1 deletion docs/reference/supported.rst
Original file line number Diff line number Diff line change
Expand Up @@ -42,7 +42,7 @@ Supported MCUs
+--------------+---------+-------------+--------+------+-----------+-------------------+--------------+
| NXP | iMXRT | RT10xx |||| ci_hs | |
| +---------+-------------+--------+------+-----------+-------------------+--------------+
| | Kinetis | KL25 || || | |
| | Kinetis | KL25 || || | |
| | +-------------+--------+------+-----------+-------------------+--------------+
| | | K32L2 || || | |
| +---------+-------------+--------+------+-----------+-------------------+--------------+
Expand Down
1 change: 1 addition & 0 deletions hw/bsp/frdm_kl25z/board.mk
Original file line number Diff line number Diff line change
Expand Up @@ -23,6 +23,7 @@ LD_FILE = $(MCU_DIR)/gcc/MKL25Z128xxx4_flash.ld

SRC_C += \
src/portable/nxp/khci/dcd_khci.c \
src/portable/nxp/khci/hcd_khci.c \
$(MCU_DIR)/system_MKL25Z4.c \
$(MCU_DIR)/project_template/clock_config.c \
$(MCU_DIR)/drivers/fsl_clock.c \
Expand Down
5 changes: 5 additions & 0 deletions hw/bsp/frdm_kl25z/frdm_kl25z.c
Original file line number Diff line number Diff line change
Expand Up @@ -39,7 +39,12 @@
//--------------------------------------------------------------------+
void USB0_IRQHandler(void)
{
#if TUSB_OPT_HOST_ENABLED
tuh_int_handler(0);
#endif
#if TUSB_OPT_DEVICE_ENABLED
tud_int_handler(0);
#endif
}

//--------------------------------------------------------------------+
Expand Down
Loading

0 comments on commit 63cb3cd

Please sign in to comment.