Gary-Hobson commented on PR #18107:
URL: https://github.com/apache/nuttx/pull/18107#issuecomment-3798040064

   > @Gary-Hobson please take a look at this error:
   > 
   > ```
   > Configuration/Tool: sam3u-ek/knsh,CONFIG_ARM_TOOLCHAIN_GNU_EABI
   > 2026-01-23 08:33:36
   > 
------------------------------------------------------------------------------------
   >   Cleaning...
   >   Configuring...
   >   Disabling CONFIG_ARM_TOOLCHAIN_BUILDROOT_OABI
   >   Enabling CONFIG_ARM_TOOLCHAIN_GNU_EABI
   >   Building NuttX...
   > arm-none-eabi-ld: /github/workspace/sources/nuttx/nuttx section `.data' 
will not fit in region `kflash'
   > arm-none-eabi-ld: region `kflash' overflowed by 356 bytes
   > make[1]: *** [Makefile:217: nuttx] Error 1
   > make: *** [tools/Unix.mk:542: nuttx] Error 2
   > make: Target 'all' not remade because of errors.
   > /github/workspace/sources/nuttx/tools/testbuild.sh: line 385: 
/github/workspace/sources/nuttx/../nuttx/nuttx.manifest: No such file or 
directory
   >   [1/1] Normalize sam3u-ek/knsh
   > /usr/bin/bash: line 1: arm-nuttx-elf-gcc: command not found
   > /usr/bin/bash: line 1: arm-nuttx-elf-gcc: command not found
   > HEAD detached at pull/18107/merge
   > Untracked files:
   >   (use "git add <file>..." to include in what will be committed)
   >    boards/arm/sam34/sam3u-ek/scripts/kernel-space.ld.tmp
   >    boards/arm/sam34/sam3u-ek/scripts/memory.ld.tmp
   > ```
   > 
   > Seems like this PR increase the size of sam3u-ek
   
   This modification only increases flash usage by 652 bytes. Since the flash 
usage on sam3u-ek/knsh is already at its limit, its capacity has been increased 
from 65 KB to 80 KB.
   ```
   Memory region         Used Size  Region Size  %age Used
             kflash:       66916 B        65 KB    100.53%
             uflash:           0 B        63 KB      0.00%
             xflash:           0 B       128 KB      0.00%
             ksram1:        4208 B         6 KB     68.49%
             usram1:           0 B         4 KB      0.00%
             xsram1:           0 B        22 KB      0.00%
              sram2:           0 B        16 KB      0.00%
   
   Memory region         Used Size  Region Size  %age Used
             kflash:       66264 B        65 KB     99.56%
             uflash:           0 B        63 KB      0.00%
             xflash:           0 B       128 KB      0.00%
             ksram1:        4208 B         6 KB     68.49%
             usram1:           0 B         4 KB      0.00%
             xsram1:           0 B        22 KB      0.00%
              sram2:           0 B        16 KB      0.00%
   ```


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: [email protected]

For queries about this service, please contact Infrastructure at:
[email protected]

Reply via email to