Loading firmware/uc/.devcontainer/devcontainer.json 0 → 100644 +16 −0 Original line number Diff line number Diff line { "image" : "labinfo.ing.he-arc.ch:5050/igib/shared/ci-docker/pico-sdk:latest", "runArgs": ["--name", "pico-sdk-container"], "name": "pico-sdk", "privileged": true, "updateRemoteUserUID": true, "postStartCommand": "sudo service ssh start && /bin/bash", "customizations": { "vscode": { "extensions": [ "ms-vscode.cpptools-extension-pack", "ms-vscode.cmake-tools" ] } } } No newline at end of file firmware/uc/.vscode/c_cpp_properties.json 0 → 100644 +16 −0 Original line number Diff line number Diff line { "configurations": [ { "name": "Linux", "includePath": [ "${workspaceFolder}/**", "/opt/pico-sdk/1.5.1/src/**" ], "cStandard": "c11", "cppStandard": "c++17", "intelliSenseMode": "linux-gcc-arm" } ], "version": 4 } No newline at end of file firmware/uc/code/.config +1 −1 Original line number Diff line number Diff line BOARD_TYPE=grove_pico_w BOARD_TYPE=pico SRC_PATH=. firmware/uc/code/CMakeLists.txt +1 −0 Original line number Diff line number Diff line cmake_minimum_required(VERSION 3.13) set(PICO_SDK_FETCH_FROM_GIT ON) include(pico_sdk_import.cmake) project(PI_ContrHorlo C CXX ASM) Loading firmware/uc/code/hw.cpp +3 −3 Original line number Diff line number Diff line Loading @@ -46,8 +46,8 @@ void init_uart(){ // Set up our UART with a basic baud rate. uart_init(UART_ID, 2400); // Set the TX and RX pins by USing the function select on the GPIO // Set datasheet for more information on function select // // Set the TX and RX pins by USing the function select on the GPIO // // Set datasheet for more information on function select gpio_set_function(UART_TX_PIN, GPIO_FUNC_UART); gpio_set_function(UART_RX_PIN, GPIO_FUNC_UART); Loading Loading
firmware/uc/.devcontainer/devcontainer.json 0 → 100644 +16 −0 Original line number Diff line number Diff line { "image" : "labinfo.ing.he-arc.ch:5050/igib/shared/ci-docker/pico-sdk:latest", "runArgs": ["--name", "pico-sdk-container"], "name": "pico-sdk", "privileged": true, "updateRemoteUserUID": true, "postStartCommand": "sudo service ssh start && /bin/bash", "customizations": { "vscode": { "extensions": [ "ms-vscode.cpptools-extension-pack", "ms-vscode.cmake-tools" ] } } } No newline at end of file
firmware/uc/.vscode/c_cpp_properties.json 0 → 100644 +16 −0 Original line number Diff line number Diff line { "configurations": [ { "name": "Linux", "includePath": [ "${workspaceFolder}/**", "/opt/pico-sdk/1.5.1/src/**" ], "cStandard": "c11", "cppStandard": "c++17", "intelliSenseMode": "linux-gcc-arm" } ], "version": 4 } No newline at end of file
firmware/uc/code/.config +1 −1 Original line number Diff line number Diff line BOARD_TYPE=grove_pico_w BOARD_TYPE=pico SRC_PATH=.
firmware/uc/code/CMakeLists.txt +1 −0 Original line number Diff line number Diff line cmake_minimum_required(VERSION 3.13) set(PICO_SDK_FETCH_FROM_GIT ON) include(pico_sdk_import.cmake) project(PI_ContrHorlo C CXX ASM) Loading
firmware/uc/code/hw.cpp +3 −3 Original line number Diff line number Diff line Loading @@ -46,8 +46,8 @@ void init_uart(){ // Set up our UART with a basic baud rate. uart_init(UART_ID, 2400); // Set the TX and RX pins by USing the function select on the GPIO // Set datasheet for more information on function select // // Set the TX and RX pins by USing the function select on the GPIO // // Set datasheet for more information on function select gpio_set_function(UART_TX_PIN, GPIO_FUNC_UART); gpio_set_function(UART_RX_PIN, GPIO_FUNC_UART); Loading