/hal_rpi_pico-3.4.0/.github/workflows/ |
D | multi-gcc.yml | 6 - 'master' 7 - 'test_workflow' 10 build: 12 runs-on: [self-hosted, Linux, X64] 15 - name: Clean workspace 18 rm -rf "${{ github.workspace }}" 19 mkdir -p "${{ github.workspace }}" 21 - name: Checkout repo 24 - name: Checkout submodules 25 run: git submodule update --init [all …]
|
D | cmake.yml | 5 # Customize the CMake build type here (Release, Debug, RelWithDebInfo, etc.) 9 build: 11 runs-on: [self-hosted, Linux, X64] 14 - name: Clean workspace 17 rm -rf "${{ github.workspace }}" 18 mkdir -p "${{ github.workspace }}" 20 - name: Checkout repo 23 - name: Checkout submodules 24 run: git submodule update --init 26 - name: Create Build Environment [all …]
|
D | macOS.yml | 1 name: Build on macOS 6 - 'develop' 7 - 'master' 8 - 'test_workflow' 11 build: 12 runs-on: macos-12 14 - name: Clean workspace 17 rm -rf "${{ github.workspace }}" 18 mkdir -p "${{ github.workspace }}" 19 - name: Checkout repo [all …]
|
D | windows.yml | 1 name: Build on Windows 6 - 'develop' 7 - 'master' 8 - 'test_workflow' 11 build: 12 runs-on: windows-2022 14 - name: Clean workspace 18 rm -rf "${{ github.workspace }}/pico-sdk" 19 - name: Checkout repo 21 - name: Checkout submodules [all …]
|
/hal_rpi_pico-3.4.0/src/ |
D | rp2_common.cmake | 6 …add_custom_command(TARGET ${TARGET} POST_BUILD COMMAND ${CMAKE_OBJCOPY} -Oihex $<TARGET_FILE:${TAR… 11 …add_custom_command(TARGET ${TARGET} POST_BUILD COMMAND ${CMAKE_OBJCOPY} -Obinary $<TARGET_FILE:${T… 17 …COMMAND ${CMAKE_OBJDUMP} -h $<TARGET_FILE:${TARGET}> > $<IF:$<BOOL:$<TARGET_PROPERTY:${TARGET},OUT… 18 …COMMAND ${CMAKE_OBJDUMP} -d $<TARGET_FILE:${TARGET}> >> $<IF:$<BOOL:$<TARGET_PROPERTY:${TARGET},OU… 27 …CMAKE_CONFIG: PICO_NO_TARGET_NAME, Don't define PICO_TARGET_NAME, type=bool, default=0, group=build 28 …, The name of the build target being compiled (unless PICO_NO_TARGET_NAME set in build), type=stri… 40 COMMAND rm -f "${PICO_SYMLINK_ELF_AS_FILENAME}" 41 COMMAND ln -s -r $<TARGET_FILE:${TARGET}> "${PICO_SYMLINK_ELF_AS_FILENAME}" 45 # PICO_CMAKE_CONFIG: PICO_NO_UF2, Disable UF2 output, type=bool, default=0, group=build 54 …PTION: Whether the build is not targeting an RP2040 device, type=bool, default=1 when PICO_PLATFOR… [all …]
|
/hal_rpi_pico-3.4.0/docs/ |
D | mainpage.md | 3 …build system necessary to write programs for RP2040-based devices such as the Raspberry Pi Pico in… 5 …ng the RP2040’s hardware, including DMA, IRQs, and the wide variety of fixed-function peripherals … 7 …-level libraries for dealing with timers, USB, synchronization and multi-core programming, along w… 13 …-offs between performance and other factors (e.g. edge-case error handling, runtime vs compile-tim… 15 …he developer as much control and power as possible (if they want it) to fine-tune every aspect of … 17 ## The Build System 19 …build. CMake is widely supported by IDEs (Integrated Development Environments), and allows a simpl… 21 Apart from being a widely-used build system for C/C++ development, CMake is fundamental to the way … 23 …an executable which is bare-metal, i.e. it includes the entirety of the code needed to run on the … 27 …spberry Pi (Trading) Ltd. and licensed under the [3-Clause BSD](https://opensource.org/licenses/BS…
|
D | CMakeLists.txt | 5 option(PICO_BUILD_DOCS "Build HTML Doxygen docs" ${PICO_BUILD_DOCS_DEFAULT}) 14 message(FATAL_ERROR "Doxygen is needed to build the documentation.") 26 add_custom_target(doc-pico-examples) 28 ExternalProject_Add(doc-pico-examples 29 GIT_REPOSITORY https://github.com/raspberrypi/pico-examples 35 ExternalProject_Get_property(doc-pico-examples SOURCE_DIR) 36 ExternalProject_Get_property(doc-pico-examples GIT_REPOSITORY) 37 ExternalProject_Get_property(doc-pico-examples GIT_TAG) 58 add_dependencies(docs doc-pico-examples)
|
/hal_rpi_pico-3.4.0/ |
D | README.md | 3 The Raspberry Pi Pico SDK (henceforth the SDK) provides the headers, libraries and build system 4 necessary to write programs for the RP2040-based devices such as the Raspberry Pi Pico 7 The SDK is designed to provide an API and programming environment that is familiar both to non-embe… 11 … level libraries for dealing with timers, synchronization, USB (TinyUSB) and multi-core programming 14 The SDK can be used to build anything from simple applications, to fully fledged runtime environmen… 15 such as RP2040's on-chip bootrom itself. 17 …t ready for inclusion in the SDK can be found in [pico-extras](https://github.com/raspberrypi/pico… 21 See [Getting Started with the Raspberry Pi Pico](https://rptl.io/pico-get-started) for information … 22 hardware, IDE/environment and for how to build and debug software for the Raspberry Pi Pico 23 and other RP2040-based devices. [all …]
|
D | CMakeLists.txt | 3 # Note: this CMakeLists.txt can be used as a top-level CMakeLists.txt for the SDK itself. For all o… 7 # This is a no-op unless we are the top-level CMakeLists.txt 12 message("Build type is ${CMAKE_BUILD_TYPE}") 15 … message("Using fully de-optimized debug build (set PICO_DEOPTIMIZED_DEBUG=0 to optimize)") 17 … message("Using regular optimized debug build (set PICO_DEOPTIMIZED_DEBUG=1 to de-optimize)") 48 … set(PICO_SDK_TESTS_ENABLED "${PICO_SDK_TESTS_ENABLED}" CACHE INTERNAL "Enable build of SDK tests")
|
D | .gitignore | 3 cmake-* 5 build
|
/hal_rpi_pico-3.4.0/cmake/ |
D | pico_pre_load_toolchain.cmake | 1 …O_TOOLCHAIN_PATH, Path to search for compiler, default=none (i.e. search system paths), group=build 4 # Set a default build type if none was specified 8 message(STATUS "Defaulting build type to '${default_build_type}' since not specified.") 9 …set(CMAKE_BUILD_TYPE "${default_build_type}" CACHE STRING "Choose the type of build, options are: … 10 # Set the possible values of build type for cmake-gui 16 error("Default build type is NOT supported") 19 …rent compiler (other than pico_arm_gcc.cmake) - this is not yet fully supported, default=none, gro…
|
/hal_rpi_pico-3.4.0/src/rp2_common/boot_stage2/include/boot_stage2/ |
D | config.h | 4 * SPDX-License-Identifier: BSD-3-Clause 14 // PICO_CONFIG: PICO_BUILD_BOOT_STAGE2_NAME, The name of the boot stage 2 if selected by the build,… 20 …0 as the boot stage 2 when no boot stage 2 selection is made by the CMake build, type=bool, defaul… 29 …0 as the boot stage 2 when no boot stage 2 selection is made by the CMake build, type=bool, defaul… 38 …l as the boot stage 2 when no boot stage 2 selection is made by the CMake build, type=bool, defaul… 47 …a as the boot stage 2 when no boot stage 2 selection is made by the CMake build, type=bool, defaul… 57 …h as the boot stage 2 when no boot stage 2 selection is made by the CMake build, type=bool, defaul…
|
/hal_rpi_pico-3.4.0/.github/workflows/scripts/ |
D | generate_multi_gcc_workflow.py | 15 gcc_path = os.path.join(fullpath, "bin/arm-none-eabi-gcc") 16 version = subprocess.run([gcc_path, "--version"], capture_output=True) 17 stdout = version.stdout.decode('utf-8') 18 stderr = version.stderr.decode('utf-8') 42 - 'develop' 43 - 'master' 46 build: 48 runs-on: [self-hosted, Linux, X64] 51 - name: Clean workspace 54 rm -rf "${{ github.workspace }}" [all …]
|
/hal_rpi_pico-3.4.0/src/rp2_common/boot_stage2/ |
D | CMakeLists.txt | 1 …etting is useful when explicitly setting the default build from a per board CMake file, group=build 2 …s src/rp2_common/boot_stage2/{PICO_DEFAULT_BOOT_STAGE2}.S, default=compile_time_choice, group=build 42 # todo bit of an abstraction failure - revisit for Clang support anyway 44 target_link_options(${NAME} PRIVATE "-nostdlib") 46 target_link_options(${NAME} PRIVATE "--specs=nosys.specs") 47 target_link_options(${NAME} PRIVATE "-nostartfiles") 54 target_link_options(${NAME} PRIVATE "LINKER:--script=${PICO_BOOT_STAGE2_DIR}/boot_stage2.ld") 66 …add_custom_command(OUTPUT ${ORIGINAL_BIN} DEPENDS ${NAME} COMMAND ${CMAKE_OBJCOPY} -Obinary $<TARG… 71 …COMMAND ${Python3_EXECUTABLE} ${PICO_BOOT_STAGE2_DIR}/pad_checksum -s 0xffffffff ${ORIGINAL_BIN} $… 86 -DPICO_BUILD_BOOT_STAGE2_NAME="${BOOT_STAGE2_BI_NAME}") [all …]
|
/hal_rpi_pico-3.4.0/src/rp2_common/pico_standard_link/ |
D | CMakeLists.txt | 14 target_link_options(pico_standard_link INTERFACE "LINKER:-nostdlib") 59 …"LINKER:--script=$<IF:$<BOOL:$<TARGET_PROPERTY:PICO_TARGET_LINKER_SCRIPT>>,$<TARGET_PROPERTY:PICO_… 63 …# PICO_BUILD_DEFINE: PICO_NO_FLASH, whether this is a 'no_flash' build, type=bool, default=0, but … 66 …# PICO_BUILD_DEFINE: PICO_USE_BLOCKED_RAM, whether this is a 'blocked_ram' build, type=bool, defau… 69 …# PICO_BUILD_DEFINE: PICO_COPY_TO_RAM, whether this is a 'copy_to_ram' build, type=bool, default=0… 77 # todo revisit/recall reasoning for why not -nostartfiles always? 78 # -nostartfiles will be added if PICO_NO_FLASH would be defined to 1 79 …:$<BOOL:${PICO_NO_FLASH}>,$<STREQUAL:,$<TARGET_PROPERTY:PICO_TARGET_BINARY_TYPE>>>>:-nostartfiles>) 85 target_link_options(pico_standard_link INTERFACE "LINKER:-z,max-page-size=4096") 88 #target_link_options(pico_standard_link INTERFACE "LINKER:--build-id=none") [all …]
|
/hal_rpi_pico-3.4.0/src/rp2_common/cmsis/ |
D | CMakeLists.txt | 4 …S_PATH, directory to locate CMSIS installation, default="included stub CORE only impl", group=build 13 ## PICO_CMAKE_CONFIG: PICO_CMSIS_VENDOR, vendor name for CMSIS, default="RaspberryPi", group=build 24 ## PICO_CMAKE_CONFIG: PICO_CMSIS_DEVICE, device name for CMSIS, default="RP2040", group=build 44 # message(WARNING "Non-standard vendor ${PICO_CMSIS_VENDOR} amd device ${PICO_CMSIS_DEVICE} spec…
|
/hal_rpi_pico-3.4.0/zephyr/ |
D | module.yml | 2 build: 3 cmake-ext: True 4 kconfig-ext: True
|
/hal_rpi_pico-3.4.0/cmake/preload/toolchains/ |
D | set_flags.cmake | 6 set(CMAKE_${LANG}_FLAGS_DEBUG_INIT "-O0") 8 set(CMAKE_${LANG}_FLAGS_DEBUG_INIT "-Og") 10 set(CMAKE_${LANG}_LINK_FLAGS "-Wl,--build-id=none") 14 # functions like _exit. So pass -nostdlib so it doesn't link in an exit() 17 set(CMAKE_${LANG}_LINK_FLAGS "${CMAKE_${LANG}_LINK_FLAGS} -nostdlib")
|
/hal_rpi_pico-3.4.0/src/common/pico_base/include/pico/ |
D | config.h | 4 * SPDX-License-Identifier: BSD-3-Clause 10 // ----------------------------------------------------- 14 // ------------- 17 // entries are dumped in order at build time into this generated header
|
/hal_rpi_pico-3.4.0/src/host/ |
D | README.md | 3 It is selected by `PICO_PLATFORM=host` in your CMake build 12 …unctionality. For an example of this see the [pico-host-sdl](https://github.com/raspberrypi/pico-h… 13 … SDL2 library to add additional library support for pico_multicore, timers/alarms in pico-time and 14 pico-audio/pico-scanvideo from [pico-extras](https://github.com/raspberrypi/pico-extras)
|
/hal_rpi_pico-3.4.0/src/rp2_common/pico_cyw43_arch/include/pico/ |
D | cyw43_arch.h | 4 * SPDX-License-Identifier: BSD-3-Clause 49 …lwIP (for TCP/IP stack) into the SDK. It is also necessary for accessing the on-board LED on Pico W 56 …* * \em 'poll' - This not multi-core/IRQ safe, and requires the user to call \ref cyw43_arch_poll … 57 …* * \em 'thread_safe_background' - This is multi-core/thread/task safe, and maintenance of the dri… 58 …* * \em 'freertos' - This is multi-core/thread/task safe, and uses a separate FreeRTOS task to han… 80 …* other libraries are made available to the build which aggregate the defines and other dependenci… 82 … \b pico_cyw43_arch_lwip_poll - For using the RAW lwIP API (in `NO_SYS=1` mode) without any backgr… 87 * - Sets \c CYW43_LWIP=1 to enable lwIP support in \c pico_cyw43_arch and \c cyw43_driver. 88 * - Sets \c PICO_CYW43_ARCH_POLL=1 to select the polling behavior. 89 * - Adds the \c pico_lwip as a dependency to pull in lwIP. [all …]
|
/hal_rpi_pico-3.4.0/src/rp2_common/pico_stdio_semihosting/include/pico/ |
D | stdio_semihosting.h | 4 * SPDX-License-Identifier: BSD-3-Clause 34 … automatically called by \ref stdio_init_all() if `pico_stdio_semihosting` is included in the build
|
/hal_rpi_pico-3.4.0/src/common/pico_base/include/ |
D | pico.h | 4 * SPDX-License-Identifier: BSD-3-Clause 27 … include in place of the default pico/config.h which may be desirable for build systems which can'…
|
/hal_rpi_pico-3.4.0/src/rp2_common/pico_unique_id/ |
D | unique_id.c | 4 * SPDX-License-Identifier: BSD-3-Clause 17 // build. Since this constructor is pre-main it would be annoying to in _retrieve_unique_id_on_boot() 18 // debug, so just produce something well-defined and obviously wrong. in _retrieve_unique_id_on_boot() 34 for (i = 0; (i < len - 1) && (i < PICO_UNIQUE_BOARD_ID_SIZE_BYTES * 2); i++) { in pico_get_unique_board_id_string() 35 int nibble = (retrieved_id.id[i/2] >> (4 - 4 * (i&1))) & 0xf; in pico_get_unique_board_id_string() 36 id_out[i] = (char)(nibble < 10 ? nibble + '0' : nibble + 'A' - 10); in pico_get_unique_board_id_string()
|
/hal_rpi_pico-3.4.0/src/rp2_common/cmsis/include/cmsis/ |
D | rename_exceptions.h | 4 * SPDX-License-Identifier: BSD-3-Clause 13 …cluded at the config stage, if you wish to override this you should do so via build compiler define
|