NuttX icon indicating copy to clipboard operation
NuttX copied to clipboard

Add at32 mcu

Open laoniaokkk opened this issue 1 year ago • 5 comments

Summary

Add at32 mcu

Impact

./tools/configure.sh at32f437-mini/nsh and make, download the hex file,then can show the message on console

Testing

NuttShell (NSH) NuttX-11.0.0 nsh> ? help usage: help [-v] []

. cd dmesg help mount rmdir true xd
[ cp echo hexdump mv set truncate
? cmp exec kill printf sleep uname
basename dirname exit ls ps source umount
break dd false mkdir pwd test unset
cat df free mkrd rm time usleep

Builtin Apps: hello nsh sh
nsh> ps PID GROUP PRI POLICY TYPE NPX STATE EVENT SIGMASK STACK COMMAND 0 0 0 FIFO Kthread N-- Ready 00000000 001000 Idle Task 2 2 100 RR Task --- Running 00000000 002000 nsh_main nsh> hello Hello, World!! nsh> free total used free largest nused nfree Umem: 258912 5792 253120 251536 29 2 nsh>

laoniaokkk avatar Nov 02 '23 03:11 laoniaokkk

glad to see px4 can support at32 mcu in the future

TompsonTan avatar Nov 10 '23 08:11 TompsonTan

@laoniaokkk is this in upstream NuttX? If so the commit here show have [BACKPORT] in the title line. If not please upstream it and bring back that commit as a backport.

davids5 avatar Nov 10 '23 12:11 davids5

@laoniaokkk is this in upstream NuttX? If so the commit here show have [BACKPORT] in the title line. If not please upstream it and bring back that commit as a backport.

@davids5 This MCU has been merged into apache/nuttx-12.3.0

laoniaokkk avatar Nov 10 '23 12:11 laoniaokkk

@laoniaokkk is this in upstream NuttX? If so the commit here show have [BACKPORT] in the title line. If not please upstream it and bring back that commit as a backport.

@davids5 This MCU has been merged into apache/nuttx-12.3.0

Please force push with [BACKPORT] Add at32 mcu as the commit

davids5 avatar Nov 10 '23 12:11 davids5

Please do the following

  1. squash and force push this so it it is one commit.

  2. We will also need a PX4-Autopilot PR to run CI on this.

in that PR you should add the board that uses the AT32 and point the platforms/nuttx/NuttX/nuttx submoulde the forced pushed commit.

davids5 avatar Nov 10 '23 13:11 davids5