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 723db62 commit 0019741
Showing 1 changed file with 6 additions and 1 deletion.
7 changes: 6 additions & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,12 @@
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
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

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 0019741

Please sign in to comment.