id = "m169"; desc = "ATMEGA169P";
hr20.name=HR20 (not Open Hardware)hr20.upload.protocol=arduinohr20.upload.maximum_size=15872hr20.upload.speed=115200hr20.bootloader.low_fuses=0x62hr20.bootloader.high_fuses=0x91hr20.bootloader.extended_fuses=0xfdhr20.bootloader.path=optiboothr20.bootloader.file=optiboot_atmega169.hexhr20.bootloader.unlock_bits=0x3Fhr20.bootloader.lock_bits=0x0Fhr20.build.mcu=atmega169phr20.build.f_cpu=1000000Lhr20.build.core=arduinohr20.build.variant=atmega169p
Running it at 1 MHz?
Is that how you are using it? With the OpenHR20 code?
#if 0static const uint8_t LED_BUILTIN = ??;#endif
My aim is to reproduce a subset of what is implemented in OpenHR20, but using the Arduino platform, so that I can re-use Arduino libraries.
LED_BUILTIN is supposed to be a macro rather than a typed constant. Do not #define it if the board does not have an on-board LED. An example for the Uno...
Brown Out Detection at 1.8 volts?
Will you be directly driving an LCD display?
For getting ATmega169P into the distro, I should probably fork Arduino on github and make a pull request once I know it's working reliably.
I still get some compiler warning from a few of the standard files, so there's work to do still.
Yes, I already created a first version of an ATmega169PLCD lib. Playing with it, as we speak.
hr20.name=HR20 (not Open Hardware)hr20.upload.protocol=arduinohr20.upload.maximum_size=15872hr20.upload.speed=115200hr20.upload.tool=avrdudehr20.bootloader.low_fuses=0x62hr20.bootloader.high_fuses=0x91hr20.bootloader.extended_fuses=0xfdhr20.bootloader.path=optiboothr20.bootloader.file=optiboot_atmega169.hexhr20.bootloader.unlock_bits=0x3Fhr20.bootloader.lock_bits=0x0Fhr20.build.mcu=atmega169phr20.build.f_cpu=1000000Lhr20.build.core=arduinohr20.build.variant=atmega169p
Now I'll go figure out how to enable them again. XD
To whom it may concern, I've created a fork on github, after hunting down three compiler warnings. One warning remains. I've started a topic on the developer mailing list, but I assume it takes some time to show up there.