mirror of
https://github.com/apache/nuttx.git
synced 2026-03-23 14:05:12 +08:00
arm/rp2040: CMake build for Raspberry Pi RP2040 implemented
- CMake added board Raspberry Pi Pico
- Added the entry:
CMake,raspberrypi-pico:bmp280
to the file arm-06.dat.
- Moved the search for the Python 3 interpreter to the
root CMakefile to avoid unnecessary repetition.
Signed-off-by: simbit18 <simbit18@gmail.com>
This commit is contained in:
@@ -53,6 +53,13 @@ if(POLICY CMP0169)
|
||||
cmake_policy(SET CMP0169 OLD)
|
||||
endif()
|
||||
|
||||
# Find Python 3 interpreter
|
||||
|
||||
find_package(Python3 REQUIRED COMPONENTS Interpreter)
|
||||
if(NOT Python3_Interpreter_FOUND)
|
||||
message(FATAL_ERROR "Did NOT find Python interpreter.")
|
||||
endif()
|
||||
|
||||
# Basic CMake configuration ##################################################
|
||||
|
||||
set(CMAKE_CXX_EXTENSIONS OFF)
|
||||
|
||||
Reference in New Issue
Block a user