Finally got FreeRTOS working thank FUCK!

This commit is contained in:
NaifBanana
2026-10-21 08:02:20 -05:00
parent 92d1ba591b
commit eaf0b686ab
8 changed files with 44 additions and 39 deletions
+2 -1
View File
@@ -8,7 +8,8 @@ add_executable(${APP_NAME}
target_link_libraries(${APP_NAME} LINK_PUBLIC
pico_stdlib
FreeRTOS
FreeRTOS-Kernel
FreeRTOS-Kernel-Heap4
)
pico_enable_stdio_usb(${APP_NAME} 1)
+2 -3
View File
@@ -1,10 +1,9 @@
#include "Config/FreeRTOSConfig.h"
#include "FreeRTOSConfig.h"
#include "FreeRTOS.h"
#include <pico/error.h>
#include <pico/stdio.h>
#include <pico/time.h>
#include <RadioLib/RadioLib.h>
#include <RadioLib/>
const char NULLCHAR = '\0';
@@ -53,7 +52,7 @@ int main() {
stdio_init_all();
int num;
int len;
read_buffer = malloc(256 * sizeof(char));
read_buffer = (char*)malloc(256 * sizeof(char));
while(true) {
printf("Give a number: \n");
sleep_ms(50);