Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Core_Device.h wrong definition for some items on some #define lines (minor bug) #1153

Open
LaurentR59 opened this issue Oct 20, 2024 · 1 comment

Comments

@LaurentR59
Copy link

Hi

Just put a look on Tiny X16:.

The lines with Tiny 416 looks like OK but for others CPU x16 need some update:

the lines
#define AVR_ATtinyx06
should be replaced by:

#define AVR_ATtinyx16

Is'n it?

Regards
Laurent

Present version:

...
#elif defined(AVR_ATtiny3216)
#define MEGATINYCORE_MCU 3216
#define MEGATINYCORE_SERIES 1
#define AVR_ATtinyx06
#define AVR_ATtinyxy6
#define _AVR_FLASH 32
#elif defined(AVR_ATtiny1616)
#define MEGATINYCORE_MCU 1616
#define MEGATINYCORE_SERIES 1
#define AVR_ATtinyx06
#define AVR_ATtinyxy6
#define _AVR_FLASH 16
#elif defined(AVR_ATtiny816)
#define MEGATINYCORE_MCU 816
#define MEGATINYCORE_SERIES 1
#define AVR_ATtinyx06
#define AVR_ATtinyxy6
#define _AVR_FLASH 8
#elif defined(AVR_ATtiny416)
#define MEGATINYCORE_MCU 416
#define MEGATINYCORE_SERIES 1
#define AVR_ATtinyx16
#define AVR_ATtinyxy6
#define _AVR_FLASH 4

@SpenceKonde
Copy link
Owner

Thanks will look into this

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants