Increase memory (Nano)

Hello, a little over a year ago, I successfully used the possibility of increasing the memory available with the Arduino Nano described here: https://www.youtube.com/watch?v=-MynHAz7TsI . I was working with portable IDE 1.8.13. A file in French on my site f5bu.fr describes how to proceed.
There, I just installed IDE 2.0.4, and modified the Board.txt file the same as I had done before, but the new processor choice, offering 32256 bytes of memory, didn't not appear.
Any help is welcome.

Hi @gendner. This bug is tracked by the Arduino IDE developers here:

I'll share the workaround:

  1. Select File > Quit from the Arduino IDE menus if it is running.
  2. Delete the folder at the following path:
    :warning: Please be very careful when deleting things from your computer. When in doubt, back up!
    • If you are using Windows:
      • C:\Users\<username>\AppData\Roaming\arduino-ide\
        
        (where <username> is your Windows username)
        :exclamation: If looking for it with your file browser or command line, note that the AppData folder is hidden by default. On Windows "File Explorer", you can make it visible by opening the "View" menu, then checking the box next to "☐ Hidden items".
    • If you are using Linux:
      • ~/.config/arduino-ide/
        
        :exclamation: The .config folder may be hidden by default in your file manager and terminal.
    • If you are using macOS:
      • ~/Library/Application Support/arduino-ide/
        
      :exclamation: The Library folder is hidden by default. You can make it visible by pressing the Command+Shift+. keyboard shortcut.
  3. Start Arduino IDE.

The custom board options menus should now reflect any changes that were made to boards.txt.

it is not an increasing memory, it only freing a litle part of flash (program space).
There is no way to in rease memory on Nano

Instead of modifying the boards.txt file every time the boards package gets updated, you can use MCUdude's MiniCore with the "No Bootloader" option.

Hello, Thank you very much for all contributions.

  • Sorry for the increase memory instead of increase availlable memory.
  • [ptillisch] Thank you so much for the workaround wich works perfect.

Hi,
Really a big thank you for your answer and also for your investment for this extraordinary IDE.
Jean Paul

Hello,
I apologize, however now, I have always for each project I start the info :

Platform arduino:avr@1.8.6 already installed
Déjà installé Mouse@1.0.1
Déjà installé SD@1.2.4
Déjà installé Servo@1.1.8
Déjà installé Stepper@1.1.3
Déjà installé Keyboard@1.0.4
Déjà installé LiquidCrystal@1.0.7
Déjà installé Firmata@2.5.9
Déjà installé TFT@1.0.6
Déjà installé Arduino_BuiltIn@1.0.0
Déjà installé Ethernet@2.0.1

And I have each time to choose the board and processor before I may compile. This was not the case before.
Any help ?
Jean-Paul

This is expected on the first time you start Arduino IDE after deleting the folder I mentioned in my previous reply. The reason is Arduino IDE automatically installs the "Arduino AVR Boards" platform (referred to by the machine identifier arduino:avr in this output) and the fundamental libraries on the first run after a fresh installation. The data that tells the IDE whether that first run installation was already done is stored under that folder, so when you delete the folder you clear that flag and the first run installation is done over again.

However, this should only happen once after deleting the folder. After that, the installation should not occur on subsequent IDE start ups (unless you delete the folder again). Are you observing some behavior different from that?

That is unexpected. It is expected that you will need to select the board again the first time you open a sketch after deleting that folder because the board association data is stored there. However, after doing that once the IDE should then remember the association once more.

And under no circumstances should the IDE forget the board selection after every compilation.

Hi,
Thank you for your answer.
As the behavior of my installation did not correspond to what expected, I uninstalled the IDE, deleted the directory that you had indicated, then reinstalled the IDE, and now everything seems to work as expected.
Thanks again.

I'm glad it is working now. It is possible the data in the folder was somehow corrupted when it was regenerated by the IDE after the last time you deleted it. I seem to remember I experience that once (I frequently delete this folder in the course of my beta testing work in order to simulate the fresh installation conditions).

Deleting it once again probably allowed the data to be correctly generated this time.