Closed andrey-belokon closed 1 year ago
Maybe this will works with 16 or 12 MHz. https://github.com/dbuezas/lgt8fx/blob/fb4f06a097e6a225a20d1b78d7e70eac160a6d5b/lgt8f/boards.txt if you replace your own copy.
Here are some pictures of how the menu will look like: https://github.com/dbuezas/lgt8fx/pull/119#issuecomment-1006800753
I try to replace boards.txt, but simple blink.ino compiled with error
`c:\program files (x86)\arduino\hardware\tools\avr\avr\include\util\delay.h: In function 'void _delay_ms(double)':
Last time I did not write the good location of boards.txt
C:\Users\ (Your username) \AppData\Local\Arduino15\packages\LGT8fx Boards\hardware\avr\1.0.6\
If you have placed boards.txt
this locacion C:\Program Files (x86)\Arduino\hardware\arduino\avr\
, then you need to retrieve the original file here.
I have the same problem but with arduino under linux, where I put the modified board.txt file?
I don't have Linux, but I think you can find the location:
Open the FIle / Preferences menu in Arduino IDE, then you will see what is the location of the custom board packages, Much like what's in the picture in the red box. Then attach packages/LGT8fx Boards/hardware/avr/1.0.6/
to that location. I think this is where you will found the board.txt.
Anyway, you might want to try the pre release of lgt8fx package: https://github.com/dbuezas/lgt8fx/discussions/207 This pre release includes several types of fixes, not just this clock selection menus. If you tried the pre release, please indicate if it worked well.
The alpha 1.0.7 version works well and the timing is also correct with the baudrate of the serial port.
Version 1.0.6 instead causes the compilation error. Con la versione modificata boards.txt
Can you verify that the release 1.0.7 corrects this issue as well and close this issue if so? Thank you.
Support board with 16MHz crystal
With release v2.0.0. the support is done.
Can you verify that the release 1.0.7 corrects this issue as well
@tistructor verified.
So I close this issue.
Hi, I buy on ali boards with 16MHz crystal. In arduino IDE I can select only 32MHz as external clock. Please add support for 16MHz external clock. Thanks, Andrey