Skip to content

OpenNuvoton/M2L31BSP

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

M2L31 Series CMSIS BSP

This BSP folder

.\Document\

  • CMSIS.html
    Document of CMSIS version 5.1.1.

  • NuMicro M2L31 Series CMSIS BSP Driver Reference Guide.chm
    This document describes the usage of drivers in M2L31 BSP.

  • NuMicro M2L31 Series CMSIS BSP Revision History.pdf
    This document shows the revision history of M2L31 BSP.

.\Library\

  • CMSIS
    Cortex® Microcontroller Software Interface Standard (CMSIS) V5.1.1 definitions by Arm® Corp.

  • Device
    CMSIS compliant device header file.

  • PowerDeliveryLib
    UTCPD Library and header file.

  • StdDriver
    All peripheral driver header and source files.

  • TKLib
    Library for controlling touch key module.

  • UsbHostLib
    Library for USB Host and header file.

.\Sample Code\

  • Hard_Fault_Sample
    Show hard fault information when hard fault happened.

    The hard fault handler shows some information including program counter, which is the address where the processor is executed when the hard fault occurs. The listing file (or map file) can show what function and instruction that is.

    It also shows the Link Register (LR), which contains the return address of the last function call. It can show the status where CPU comes from to get to this point.

  • ISP
    Sample codes for In-System-Programming.

  • PowerDelivery
    Sample codes for SINK, Source and Dual Role.

  • PowerManagement
    Power management sample code.

  • Semihost
    Show how to print and get character through IDE console window.

  • StdDriver
    Sample code to demonstrate the usage of M2L31 series MCU peripheral driver APIs.

  • Template
    A project template for M2L31 series MCU.

  • TouchKey
    Demonstrate how to free-run the TouchKey after calibration.

.\ThirdParty\

  • FatFs
    An open source FAT/exFAT filesystem library.

License

SPDX-License-Identifier: Apache-2.0

Copyright in some of the content available in this BSP belongs to third parties. Third parties license is specified in a file header or license file.

M2L31 BSP files are provided under the Apache-2.0 license.