|
3 | 3 | # This can be dropped into an external project to help locate this SDK
|
4 | 4 | # It should be include()ed prior to project()
|
5 | 5 |
|
| 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 | + |
6 | 28 | if (DEFINED ENV{PICO_SDK_PATH} AND (NOT PICO_SDK_PATH))
|
7 | 29 | set(PICO_SDK_PATH $ENV{PICO_SDK_PATH})
|
8 | 30 | message("Using PICO_SDK_PATH from environment ('${PICO_SDK_PATH}')")
|
|
0 commit comments