Please help, I have an Atmega 328PU lying around and I’m trying to flash it, but when I upload the firmware in VCcode it throws this error - Error: The program size (32766 bytes) is greater than maximum allowed (32256 bytes) Does that mean there isn’t enough memory?
And is there any way to trim something down — maybe the scales module, I won’t be able to use it.
🇷🇺 Оригинал
Помогите пожалуйста, у меня завалялась Atmega 328PU пытаюсь ее прошить, при загрузки самой прошивки в VCcode выдает ошибку - Error: The program size (32766 bytes) is greater than maximum allowed (32256 bytes) Это памяти не хватает?
а нельзя что нибуть урезать - может весы, у меня не получится.
And erase it first through avrdude?
Or is it being flashed from avrdude? The Avrdude one, I mean.
🇷🇺 Оригинал
А стереть сначала через дудку?
Или заливается из дудки? Avrdude который.
Will erasing it through Avrdude help? If yes, please tell me how, I’ll figure it out now.
Maybe remove the library for the scales? Will that help? What’s it called?
🇷🇺 Оригинал
Стереть через Avrdude поможет? Если да, подскажите как, сейчас освою.
Может библиотеку для весов выкинуть? Поможет? Как называется?
There’s SCALES_MODULE_NUM in configuration.h. As I understand it, to disable the scales you can set it to 0.
🇷🇺 Оригинал
В configuration.h есть SCALES_MODULE_NUM. Я так понимаю, чтоб отключить весы можно выставить 0
Try the command pio pkg update first
Run this command in the terminal. VS will download everything that’s missing. Then flash the Arduino according to the instructions

As I understand it, there isn’t enough memory because the stock bootloader is still left on the Arduino.
🇷🇺 Оригинал
Попробуй сначала команду pio pkg update
В терминале выполнить эту команду. VS скачает всё, чего не хватает. Затем прошить ардуину по инструкции

Как я понял, памяти не хватает из-за того, что в ардуине остаётся родной загрузчик