Skip to content

ReinhardKeil/USBD

Repository files navigation

USBD Middleware Example - User View

This is the directory structure that a user should get when working with a MDK-Middleware example.

The Board layer is copied into a directory with the name .\Board\B-U585I-IOT02A.

Workflow Issues

  1. Initially the project does not have any target-types. The message should hint the user towards it. Note that the message should refer to the target type.
  target-types:
#    - type: B-U585I-IOT02A
#      board: B-U585I-IOT02A
#      variables:
#       - Board-Layer: $SolutionDir()$\Board\B-U585I-IOT02A\Board.clayer.yml

#    - type: LPC55S69-EVK
#      board: LPC55S69-EVK


2. With Targets added, tool should detect the missing variable `Board-Layer` and search for compatible layers.

```txt
  target-types:
   - type: B-U585I-IOT02A          # type name identical with board name?
     board: B-U585I-IOT02A
     variables:
       - Board-Layer: $SolutionDir()$\Board\B-U585I-IOT02A\Board.clayer.yml

Once variables: are set, the user can compile using:

>cbuild USB_Device.csolution.yml --update-rte --context-set --toolchain AC6

Note: To make it work use CMSIS-Toolbox 2.4.0 pre-release devint1

Known Problems

  • CMSIS-RTX pack: MISSING ARM::CMSIS:RTOS2:Keil RTX5&Source@5.8.0 require Device:Startup

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages