From 11f9cafd50e01cc897f8df7afe885ead354c3719 Mon Sep 17 00:00:00 2001 From: AndreiCherniaev Date: Thu, 16 Jun 2022 18:57:34 +0400 Subject: [PATCH] upd --- README.md | 7 +------ 1 file changed, 1 insertion(+), 6 deletions(-) diff --git a/README.md b/README.md index 0431660..67829de 100644 --- a/README.md +++ b/README.md @@ -8,12 +8,7 @@ F_CPU=16000000UL portUSE_TIMER0 - I rewrite defenition of configCPU_CLOCK_HZ at FreeRTOSConfig.h. Now if there is F_CPU so configCPU_CLOCK_HZ = F_CPU Just see -#if !defined(F_CPU) -#define configCPU_CLOCK_HZ ( ( unsigned long ) 16000000 ) -#else -#define configCPU_CLOCK_HZ ( F_CPU ) -#endif + I rewrite defenition of configCPU_CLOCK_HZ at FreeRTOSConfig.h. Now if there is F_CPU so configCPU_CLOCK_HZ = F_CPU Just see https://github.com/AndreiCherniaev/FreeRTOS_ATmega2560_MPLAB/issues/1#issue-1273680060 If you want to use Arduino bootloader so you can. Produce .hex file via MPLAB X and flash it to ATmega using avrdude https://github.com/avrdudes/avrdude into console. Example