Skip to content

Commit c6384ce

Browse files
authored
Merge pull request #980 from pimoroni/feature/sdk-2.0.0
CI: Bump Pico SDK to 2.0.0. 🎉
2 parents 91cbf14 + 0e45dcb commit c6384ce

File tree

4 files changed

+3
-3
lines changed

4 files changed

+3
-3
lines changed

.github/workflows/cmake.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@ on:
77
env:
88
# Customize the CMake build type here (Release, Debug, RelWithDebInfo, etc.)
99
BUILD_TYPE: Release
10-
PICO_SDK_VERSION: 1.5.1
10+
PICO_SDK_VERSION: 2.0.0
1111

1212
jobs:
1313
build:

drivers/psram_display/psram_display.hpp

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -92,7 +92,6 @@ namespace pimoroni {
9292

9393
int __not_in_flash_func(SpiSetBlocking)(const uint16_t uSrc, size_t uLen)
9494
{
95-
invalid_params_if(SPI, 0 > (int)uLen);
9695
// Deliberately overflow FIFO, then clean up afterward, to minimise amount
9796
// of APB polling required per halfword
9897
for (size_t i = 0; i < uLen; ++i) {

examples/breakout_mlx90640/CMakeLists.txt

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@ add_executable(
66
)
77

88
# Pull in pico libraries that we need
9-
target_link_libraries(${OUTPUT_NAME} pico_stdlib mlx90640 hub75_legacy hardware_vreg)
9+
target_link_libraries(${OUTPUT_NAME} pico_stdlib mlx90640 hub75_legacy hardware_vreg hardware_clocks)
1010

1111
# create map/bin/hex file etc.
1212
pico_add_extra_outputs(${OUTPUT_NAME})

examples/breakout_mlx90640/demo.cpp

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,6 @@
11
#include "pico/stdlib.h"
22
#include "hardware/vreg.h"
3+
#include "hardware/clocks.h"
34
#include "stdio.h"
45

56
#include <algorithm>

0 commit comments

Comments
 (0)