This is an automated email from the ASF dual-hosted git repository.

cederom 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 e2ab02d3683 Documentation\hpm6360evk: update guide to match the user 
experience
e2ab02d3683 is described below

commit e2ab02d368316c77b496fe7f21b29ed45f54b484
Author: Alin Jerpelea <[email protected]>
AuthorDate: Wed Aug 12 16:45:39 2026 +0200

    Documentation\hpm6360evk: update guide to match the user experience
    
    updated the cross-compiler download, added verification steps and rearanged 
the
    guide
    
    Signed-off-by: Alin Jerpelea <[email protected]>
---
 .../risc-v/hpm6000/boards/hpm6360evk/index.rst     | 26 +++++++++++-----------
 1 file changed, 13 insertions(+), 13 deletions(-)

diff --git a/Documentation/platforms/risc-v/hpm6000/boards/hpm6360evk/index.rst 
b/Documentation/platforms/risc-v/hpm6000/boards/hpm6360evk/index.rst
index 647376c75fe..cf9823f5cc6 100644
--- a/Documentation/platforms/risc-v/hpm6000/boards/hpm6360evk/index.rst
+++ b/Documentation/platforms/risc-v/hpm6000/boards/hpm6360evk/index.rst
@@ -4,13 +4,19 @@ hpm6360evk
 
 1. Download and install toolchain::
 
-     curl 
https://github.com/hpmicro/riscv-gnu-toolchain/releases/tag/2022.05.15
+     $wget 
https://github.com/hpmicro/riscv-gnu-toolchain/releases/download/2022.05.15/riscv32-unknown-elf-newlib-multilib_2022.05.15_linux.tar.gz
 
-2. Download and install openocd.
+     $tar xf riscv32-unknown-elf-newlib-multilib_2022.05.15_linux.tar.gz
 
-  Download hpmicro sdk_env, openocd in the path: sdk_env/tools/openocd
+     $export PATH=$PATH:/<path to 
compiler>/riscv32-unknown-elf-newlib-multilib/bin/
 
-3. Configure and build NuttX::
+   Make sure HPMicro GNU riscv32 toolchain have been installed and be found in 
PATH.
+
+     $riscv32-unknown-elf-gcc -v
+
+     gcc version 11.1.0 (g5964b5cd727)
+
+2. Configure and build NuttX:
 
      mkdir ./nuttxspace
      cd ./nuttxspace
@@ -22,18 +28,12 @@ hpm6360evk
      make menuconfig
      make V=1
 
-Note: make menuconfig to config toolchain
-
-To switch GNU riscv64 toolchain to GNU riscv32 toolchain, the following option 
must be selected::
+3. Download and install openocd::
 
-    System Type  --->
-        Toolchain Selection   --->
-            [ ] Generic GNU RV64 toolchain
-            [x] Generic GNU RV32 toolchain
+    Download hpmicro sdk_env, openocd in the path: sdk_env/tools/openocd
 
-Make sure HPMicro GNU riscv32 toolchain have been installed and be found in 
PATH.
 
-4. Debug the nuttx with openocd and run::
+4. Debug the NuttX with openocd::
 
      picocom -b 115200 /dev/ttyACM0
 

Reply via email to