I asked about extra boards because the packages folder is where the extra board files are located. You don't have any which presumably explains why you don't have the folder
As to the video, I started to watch it but not for long. If I wanted to use the whole of the memory available on a Nano I would delete the bootloader by overwriting it by programming the Nano with a programmer or another Arduino
Presumably you have a reason for wanting more memory. Are you sure that your sketch is using memory as efficiently as possible ?
yes, it's true.
You dont need the Package folder, you dont need the video...
You can strip the bootloader with standard IDE menu functions.
Just write any sketch to your Nano with external programmer.
But be warned the fact that after that you cant upload the sketches with USB cable, only by programmer.
Note that unless you use something like the Minicore board files and select the "No bootloader" option then although the bootloader will be erased the fuses are not set to release the memory
Or 3. You could just call it a different 328P Arduino that has its fuse set correctly for the smaller bootloader. Then you would get some additional memory. But not a lot. I think the Uno would work. But then you would have to remember that it's now an Uno as far as the IDE is concerned.
You would set the Board to Uno, then flash the bootloader. And presto - it's now an Uno.
Edit: You do need a programmer to do this - a real programmer or another Arduino set up to be a programmer. But first do a test compile of your code with the board set to Uno - to make sure you gain enough memory for it to work.
I think that I'll go with deleting the bootloader and overwriting it. I found a tutorial that explains it in a maner that's easy to follow. This makes the most sense. As far as the code is concerned. I started making camera sliders a few years ago and went to small shows and I got a good respones to my designs. That was before the pandemic. Anyway, I decide to get serious and put together an app for my sliders. I paid a colleges student to write the code and that's why I can't post my code. I hope you understand. The college student also helped me with my app and everything works perfectly. However, I need to make my control box smaller for the 16" siders and that's when started testing the app with the Nano. Everything was fine untill I bought new Nanos and the code wouldn't work with any of the new Nanos. It worked perfectly with the old ones, but not with any of the new ones. The only thing that could be doinging this, is the bootloader somehow taking up more space. (My coder and I came to the conclusion.) By the way, the sketch is 34.5 KB. He reworked the sketch and reduced the size of it and it worked, so that was the case. BUT, the sketch doesn't work as smoothly as before. It's not the same sketch. It does the same thing, but not in the same way.
Sorry for the long version, but everyone's been very helpfull so I thought I fill you in on how I ended up here. So thank you all and I'll post right after I get rid of the bootloader and upload the sketch with a programmer. Once again, thank....
Do you mean the pre-compiled file size on your hard disk?
Did the student write the code with the small memory of an ATmega328 in mind.
Small things like. int buttonPin = 9; // uses two Flash bytes and two program bytes
or (does the same) const byte buttonPin = 9; // uses one Flash byte
could make a big difference.
Leo..
Are these genuine Arduino boards? Can you provide a link to the new ones? I got some boards advertised as nanos when I was starting out with Arduino but unbeknown to me at the time, they used an ATMEGA168 chip with less memory.