Skip to content

Commit

Permalink
upd
Browse files Browse the repository at this point in the history
  • Loading branch information
AndreiCherniaev committed Jun 16, 2022
1 parent 0019741 commit 11f9caf
Showing 1 changed file with 1 addition and 6 deletions.
7 changes: 1 addition & 6 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -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

Expand Down

0 comments on commit 11f9caf

Please sign in to comment.