Skip to content

Commit 08b4956

Browse files
committed
Update CMakeLists.txt
1 parent e07957c commit 08b4956

File tree

3 files changed

+20
-1
lines changed

3 files changed

+20
-1
lines changed

CMakeLists.txt

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -73,6 +73,7 @@ set(LIBRARY_SRCS
7373
libraries/Ticker/src/Ticker.cpp
7474
libraries/Update/src/Updater.cpp
7575
libraries/Update/src/HttpsOTAUpdate.cpp
76+
libraries/USB/USBMSC.cpp
7677
libraries/WebServer/src/WebServer.cpp
7778
libraries/WebServer/src/Parsing.cpp
7879
libraries/WebServer/src/detail/mimetable.cpp
@@ -151,6 +152,7 @@ set(includedirs
151152
libraries/SPI/src
152153
libraries/Ticker/src
153154
libraries/Update/src
155+
libraries/USB/src
154156
libraries/WebServer/src
155157
libraries/WiFiClientSecure/src
156158
libraries/WiFi/src

libraries/USB/src/USBMSC.cpp

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
// Copyright 2015-2020 Espressif Systems (Shanghai) PTE LTD
1+
// Copyright 2015-2021 Espressif Systems (Shanghai) PTE LTD
22
//
33
// Licensed under the Apache License, Version 2.0 (the "License");
44
// you may not use this file except in compliance with the License.
@@ -11,6 +11,7 @@
1111
// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
1212
// See the License for the specific language governing permissions and
1313
// limitations under the License.
14+
1415
#include "esp32-hal.h"
1516
#include "esp32-hal-tinyusb.h"
1617
#include "USBMSC.h"

libraries/USB/src/USBMSC.h

Lines changed: 16 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,20 @@
1+
// Copyright 2015-2021 Espressif Systems (Shanghai) PTE LTD
2+
//
3+
// Licensed under the Apache License, Version 2.0 (the "License");
4+
// you may not use this file except in compliance with the License.
5+
// You may obtain a copy of the License at
6+
7+
// http://www.apache.org/licenses/LICENSE-2.0
8+
//
9+
// Unless required by applicable law or agreed to in writing, software
10+
// distributed under the License is distributed on an "AS IS" BASIS,
11+
// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
12+
// See the License for the specific language governing permissions and
13+
// limitations under the License.
14+
115
#pragma once
16+
#include <stdint.h>
17+
#include <stdbool.h>
218

319
// Invoked when received Start Stop Unit command
420
// - Start = 0 : stopped power mode, if load_eject = 1 : unload disk storage

0 commit comments

Comments
 (0)