This is an automated email from the ASF dual-hosted git repository.
xiaoxiang pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/nuttx.git
The following commit(s) were added to refs/heads/master by this push:
new 2f8560e838 tools/ci: enable avr32dev1 build
2f8560e838 is described below
commit 2f8560e838b74e830b16d79869a09513552b86f5
Author: simbit18 <[email protected]>
AuthorDate: Thu Jul 11 15:08:49 2024 +0200
tools/ci: enable avr32dev1 build
removed in the tools/ci/testlist/other.dat file the entries
-avr32dev1:nsh
-avr32dev1:ostest
avr32_bringup.c
Fix Error: ./avr32_bringup.c:54:4: error: #warning "Not Implemented"
comment out directive '#warning'
/* #warning "Not Implemented" */
avr_doirq.c
fix avr32/avr_doirq.c:117: error: assignment discards qualifiers from
pointer target type
regs = g_current_regs; -> regs = (uint32_t *)g_current_regs;
---
arch/avr/src/avr32/avr_doirq.c | 2 +-
boards/avr/at32uc3/avr32dev1/src/avr32_bringup.c | 2 +-
tools/ci/testlist/other.dat | 2 --
3 files changed, 2 insertions(+), 4 deletions(-)
diff --git a/arch/avr/src/avr32/avr_doirq.c b/arch/avr/src/avr32/avr_doirq.c
index 82475c380f..874499c636 100644
--- a/arch/avr/src/avr32/avr_doirq.c
+++ b/arch/avr/src/avr32/avr_doirq.c
@@ -114,7 +114,7 @@ uint32_t *avr_doirq(int irq, uint32_t *regs)
* switch occurred during interrupt processing.
*/
- regs = g_current_regs;
+ regs = (uint32_t *)g_current_regs;
/* Set g_current_regs to NULL to indicate that we are no longer in
* an interrupt handler.
diff --git a/boards/avr/at32uc3/avr32dev1/src/avr32_bringup.c
b/boards/avr/at32uc3/avr32dev1/src/avr32_bringup.c
index b0d8700969..b37dd6c70b 100644
--- a/boards/avr/at32uc3/avr32dev1/src/avr32_bringup.c
+++ b/boards/avr/at32uc3/avr32dev1/src/avr32_bringup.c
@@ -51,7 +51,7 @@ int avr32_bringup(void)
{
int ret = OK;
- #warning "Not Implemented"
+ /* #warning "Not Implemented" */
return ret;
}
diff --git a/tools/ci/testlist/other.dat b/tools/ci/testlist/other.dat
index bda16339b8..17b9d06871 100644
--- a/tools/ci/testlist/other.dat
+++ b/tools/ci/testlist/other.dat
@@ -1,8 +1,6 @@
# We do not have a toolchain for avr32 outside of Microchip login wall.
# The work was never upstreamed to GCC.
/avr
--avr32dev1:nsh
--avr32dev1:ostest
# PINGUINOL toolchain doesn't provide macOS binaries
# with the same name