NuttX
NuttX copied to clipboard
Add at32 mcu
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>
glad to see px4 can support at32 mcu in the future
@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.
@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 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
Please do the following
-
squash and force push this so it it is one commit.
-
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.