- Posts: 56
- Thank you received: 1
D:\NixieFirmwareV2_v358_mods\FirmwareV2\FirmwareV2.ino: In function 'void setup()':
FirmwareV2:775:14: error: 'WDTO_8S' was not declared in this scope
wdt_enable(WDTO_8S);
^~~~~~~
Linking everything together...
[...]
c:/users/bldr/appdata/local/arduino15/packages/arduino/tools/avr-gcc/7.3.0-atmel3.6.1-arduino7/bin/../lib/gcc/avr/7.3.0/../../../../avr/bin/ld.exe: D:\Temp\arduino_build_859658/FirmwareV2.ino.elf section `.text' will not fit in region `text'
c:/users/bldr/appdata/local/arduino15/packages/arduino/tools/avr-gcc/7.3.0-atmel3.6.1-arduino7/bin/../lib/gcc/avr/7.3.0/../../../../avr/bin/ld.exe: region `text' overflowed by 17962 bytes
collect2.exe: error: ld returned 1 exit status
Please Log in or Create an account to join the conversation.
Please Log in or Create an account to join the conversation.
Please Log in or Create an account to join the conversation.
Please Log in or Create an account to join the conversation.
Ty_Eeberfest wrote: Not an AVR expert but I do know a thing or two...
Just out of curiosity what board are you telling the IDE to use? I could try compiling it myself if I knew your board config.
Ian wrote: There are a couple of points to take into account here:
The memory is too small for the code we have, you'll have to cut it down quite a bit. It IS possible to make a working clock with an A8, but you'll have to throw a lot of features overboard. At the end of it, you can achieve something like the Chinese cheap clocks you can get: It will tell the time, it won't tell the date, won't do dimming, fading or any of that other stuff. But it can work.
The clock speed is also lower (16MHz vs. 20Mhz), but that's neither here nor there, we only run at 16, a hangover from the Arduino era.
And if I recall correctly, the PWM is limited - there is only 1 channel, (or maybe none at all - I don't remember more than PWM not being full fat), so you'll have to find another way of controlling backlights.
I know this because I did a project with A8 that never made it out of the lab:
bitbucket.org/isparkes/singledigitnixiemodule/src/master/
This implements the full fade/dim/NeoPixel backlights thing, but for only one digit - I was what I was aiming for on that project, and to achieve it, I had to make compromises. I don't remember what they were, but I do remember code size was always the limiting factor.
Also, you have to lose a bit (256 bytes) for the boot loader IIRC.
Of course, you could always do it in assembler and squeeze some more features in... That would be an interesting project.
Please Log in or Create an account to join the conversation.
Please Log in or Create an account to join the conversation.