Skip to content

arch/arm: Fix LPC2378 to work again#19233

Open
acassis wants to merge 1 commit into
apache:masterfrom
acassis:fix_lpc2378
Open

arch/arm: Fix LPC2378 to work again#19233
acassis wants to merge 1 commit into
apache:masterfrom
acassis:fix_lpc2378

Conversation

@acassis

@acassis acassis commented Jun 28, 2026

Copy link
Copy Markdown
Contributor

Summary

Olimex LPC-2378-STK was the first board I ran NuttX in 2010. Then in 2023 I found this board on eBay and decided to buy it to try NuttX on it again, but for my disappointment it was not working: https://acassis.wordpress.com/2023/04/01/testing-nuttx-again-on-olimex-lpc2378-stk-board/

Then I opened an Issue: #19201 and Xiang Xiao and ldube helped me to get it working again.

Impact

This commit proves that NuttX still working for ARM7TDMI.

Testing

NuttShell (NSH) NuttX-13.0.0-RC0                                             
nsh> uname -a
NuttX 13.0.0-RC0 bcac56ed20-dirty Jun 28 2026 16:05:05 arm olimex-lpc2378    
nsh> mount
nsh: mount: missing required argument(s)                                     
nsh> help
help usage:  help [-v] [<cmd>]                                               
                                                                             
    .           cd          expr        mv          usleep      unset        
    [           cp          false       printf      source      uptime       
    ?           cmp         help        pwd         test        watch        
    alias       dirname     hexdump     rm          time        xd           
    unalias     dmesg       ls          rmdir       true                          
    basename    echo        mkdir       set         truncate                      
    break       exec        mkrd        kill        uname                         
    cat         exit        mount       sleep       umount                        
nsh> uptime                                                                       
00:00:34 up  0:00, load average: 0.00, 0.00, 0.00                                 
nsh>

@github-actions github-actions Bot added Arch: arm Issues related to ARM (32-bit) architecture Size: S The size of the change in this PR is small labels Jun 28, 2026
@acassis

acassis commented Jun 28, 2026

Copy link
Copy Markdown
Contributor Author

@jerpelea please add this fix to NuttX V13-RC1

@github-actions

github-actions Bot commented Jun 28, 2026

Copy link
Copy Markdown

MemBrowse Memory Report

No memory changes detected for:

Olimex LPC-2378-STK was the first board I ran NuttX in 2010. Then
in 2023 I found this board on eBay and decided to buy it to try
NuttX on it again, but for my disappointment it was not working:
https://acassis.wordpress.com/2023/04/01/testing-nuttx-again-on-olimex-lpc2378-stk-board/

Then I opened an Issue: apache#19201
and Xiang Xiao and ldube helped me to get it working again.

Signed-off-by: Alan C. Assis <acassis@gmail.com>
@xiaoxiang781216

Copy link
Copy Markdown
Contributor

ci error is fixed by apache/nuttx-apps#3568

@xiaoxiang781216 xiaoxiang781216 linked an issue Jun 29, 2026 that may be closed by this pull request
1 task
@simbit18

Copy link
Copy Markdown
Contributor

Hi @acassis, The PR apache/nuttx-apps#3568 has been merged. Please rebase

@simbit18

simbit18 commented Jun 29, 2026

Copy link
Copy Markdown
Contributor

@acassis This error occurs

====================================================================================
Configuration/Tool: olimex-lpc2378/nsh,CONFIG_ARM_TOOLCHAIN_GNU_EABI
2026-06-29 07:28:40
------------------------------------------------------------------------------------
  Cleaning...
  Configuring...
  Disabling CONFIG_ARM_TOOLCHAIN_GNU_EABI
  Enabling CONFIG_ARM_TOOLCHAIN_GNU_EABI
  Building NuttX...
Error: chip/lpc23xx_decodeirq.c:87:18: error: 'lpc23xx_decodeirq' defined but not used [-Werror=unused-function]
   87 | static uint32_t *lpc23xx_decodeirq(uint32_t *regs)
      |                  ^~~~~~~~~~~~~~~~~
cc1: all warnings being treated as errors
make[1]: *** [Makefile:179: lpc23xx_decodeirq.o] Error 1
make[1]: Target 'libarch.a' not remade because of errors.
make: *** [tools/LibTargets.mk:170: arch/arm/src/libarch.a] Error 2
make: Target 'all' not remade because of errors.
/github/workspace/sources/nuttx/tools/testbuild.sh: line 397: /github/workspace/sources/nuttx/../nuttx/nuttx.manifest: No such file or directory
  [1/1] Normalize olimex-lpc2378/nsh
/github/workspace/sources/nuttx /github/workspace/sources/nuttx
HEAD detached at pull/19233/merge
nothing to commit, working tree clean
/github/workspace/sources/nuttx
/github/workspace/sources/apps /github/workspace/sources/nuttx
On branch master
Your branch is up to date with 'origin/master'.

nothing to commit, working tree clean
/github/workspace/sources/nuttx
Wait 19 seconds (60 backoff)
Build Attempt 2 of 4
====================================================================================

@simbit18 simbit18 requested review from linguini1 and michallenc June 29, 2026 08:07
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Arch: arm Issues related to ARM (32-bit) architecture Size: S The size of the change in this PR is small

Projects

None yet

Development

Successfully merging this pull request may close these issues.

[BUG] NuttX stop to work on ARM7TDMI some years ago

3 participants