Skip to content

Commit 1ee91e1

Browse files
authored
Add license to pico_sdk_import.cmake (#2239)
1 parent 7dfbb3c commit 1ee91e1

File tree

1 file changed

+22
-0
lines changed

1 file changed

+22
-0
lines changed

external/pico_sdk_import.cmake

Lines changed: 22 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -3,6 +3,28 @@
33
# This can be dropped into an external project to help locate this SDK
44
# It should be include()ed prior to project()
55

6+
# Copyright 2020 (c) 2020 Raspberry Pi (Trading) Ltd.
7+
#
8+
# Redistribution and use in source and binary forms, with or without modification, are permitted provided that the
9+
# following conditions are met:
10+
#
11+
# 1. Redistributions of source code must retain the above copyright notice, this list of conditions and the following
12+
# disclaimer.
13+
#
14+
# 2. Redistributions in binary form must reproduce the above copyright notice, this list of conditions and the following
15+
# disclaimer in the documentation and/or other materials provided with the distribution.
16+
#
17+
# 3. Neither the name of the copyright holder nor the names of its contributors may be used to endorse or promote products
18+
# derived from this software without specific prior written permission.
19+
#
20+
# THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES,
21+
# INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE
22+
# DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT HOLDER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL,
23+
# SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR
24+
# SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY,
25+
# WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF
26+
# THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
27+
628
if (DEFINED ENV{PICO_SDK_PATH} AND (NOT PICO_SDK_PATH))
729
set(PICO_SDK_PATH $ENV{PICO_SDK_PATH})
830
message("Using PICO_SDK_PATH from environment ('${PICO_SDK_PATH}')")

0 commit comments

Comments
 (0)