Paritailly implement UART for RP2040 for the GobotRPC Controller Interface

This commit is contained in:
AlexanderHD27
2024-12-30 16:09:39 +01:00
parent 65df7b1912
commit 58043ee0d5
14 changed files with 562 additions and 430 deletions

View File

@@ -7,11 +7,15 @@
#define LED_PIN 25
#include "gobotrpc/include/gobotrpc.hpp"
#include "uart_ctrl_hardware.hpp"
void TaskFn(void * args) {
printf("\n\n\n\n");
printf("%d\n", xPortGetFreeHeapSize());
GobotRPC_CtrlInterface_HardwareHandler_RP2040 uartHandler(uart0, 115200, 0, 1);
GobotRPCParser rpcRXParser;