@@ -256,7 +256,7 @@ export async function cmakeUpdateBoard(
256256 folder : Uri ,
257257 newBoard : string
258258) : Promise < boolean > {
259- // TODO: support for scaning for seperate locations of the CMakeLists.txt file in the project
259+ // TODO: support for scanning for separate locations of the CMakeLists.txt file in the project
260260 const cmakeFilePath = join ( folder . fsPath , "CMakeLists.txt" ) ;
261261 const picoBoardRegex = / ^ s e t \( P I C O _ B O A R D \s + ( [ ^ ) ] + ) \) $ / m;
262262
@@ -311,8 +311,8 @@ export async function cmakeUpdateBoard(
311311 * Updates the sdk and toolchain relay paths in the CMakeLists.txt file.
312312 *
313313 * @param folder The root folder of the workspace to configure.
314- * @param newSDKVersion The verison in "$HOME/.picosdk/sdk/${newSDKVersion}"
315- * @param newToolchainVersion The verison in "$HOME/.picosdk/toolchain/${newToolchainVersion}"
314+ * @param newSDKVersion The version in "$HOME/.picosdk/sdk/${newSDKVersion}"
315+ * @param newToolchainVersion The version in "$HOME/.picosdk/toolchain/${newToolchainVersion}"
316316 */
317317export async function cmakeUpdateSDK (
318318 folder : Uri ,
@@ -321,7 +321,7 @@ export async function cmakeUpdateSDK(
321321 newPicotoolVersion : string ,
322322 reconfigure : boolean = true
323323) : Promise < boolean > {
324- // TODO: support for scaning for seperate locations of the CMakeLists.txt file in the project
324+ // TODO: support for scanning for separate locations of the CMakeLists.txt file in the project
325325 const cmakeFilePath = join ( folder . fsPath , "CMakeLists.txt" ) ;
326326 // This regex requires multiline (m) and dotall (s) flags to work
327327 const updateSectionRegex = new RegExp (
@@ -437,7 +437,7 @@ export async function cmakeUpdateSDK(
437437 * Extracts the sdk and toolchain versions from the CMakeLists.txt file.
438438 *
439439 * @param cmakeFilePath The path to the CMakeLists.txt file.
440- * @returns An tupple with the [sdk, toolchain, picotool] versions or null if the file could not
440+ * @returns A tuple with the [sdk, toolchain, picotool] versions or null if the file could not
441441 * be read or the versions could not be extracted.
442442 */
443443export async function cmakeGetSelectedToolchainAndSDKVersions (
0 commit comments