<feed xmlns='http://www.w3.org/2005/Atom'>
<title>rt-thread.git/bsp/hpmicro, branch master</title>
<subtitle>Unnamed repository; edit this file 'description' to name the repository.</subtitle>
<id>http://cgit.235523.xyz/rt-thread.git/atom/bsp/hpmicro?h=master</id>
<link rel='self' href='http://cgit.235523.xyz/rt-thread.git/atom/bsp/hpmicro?h=master'/>
<link rel='alternate' type='text/html' href='http://cgit.235523.xyz/rt-thread.git/'/>
<updated>2026-10-17T08:28:33Z</updated>
<entry>
<title>[bsp][hpmicro] upgrade hpm_sdk to v1.13.0 and add hpm5100evk support</title>
<updated>2026-10-17T08:28:33Z</updated>
<author>
<name>Fan YANG</name>
<email>fan.yang@hpmicro.com</email>
</author>
<published>2026-10-15T14:56:12Z</published>
<link rel='alternate' type='text/html' href='http://cgit.235523.xyz/rt-thread.git/commit/?id=fc64f78669b42b35981f97c23c7e952832f3b48b'/>
<id>urn:sha1:fc64f78669b42b35981f97c23c7e952832f3b48b</id>
<content type='text'>
Sync the HPMicro BSPs with hpm_sdk v1.13.0 and add the HPM5100EVK
(HPM5151) board.

- add the hpm5100evk BSP (board/startup/applications/Kconfig/docs) and
  register it in .github/ALL_BSP_COMPILE.json, bsp/README.md and the
  HPMicro READMEs
- re-sync the 11 existing boards (board/startup/debug scripts/linker
  scripts/applications) with hpm_sdk v1.13.0, keeping the RT-Thread
  specific parts: clock_time based drv_timer, CXX wired into the scons
  environment, SConscript outputs under build/, named Kconfig choices,
  rt_hw_us_delay in board_delay_*, board local codec files
- sync the shared driver layer with hpm_sdk v1.13.0 (GPTMRv2/PTMR,
  PUART, soft I2C/SPI and the remaining peripheral driver updates)
- select the hpm_sdk v1.13.0 online package (PKG_USING_HPM_SDK_V113)
- use -Og instead of -O0 for the debug builds and print floats with the
  RT-Thread klibc implementation instead of newlib nano
- initialize the RT-Thread heap before the SDK console init: the SDK
  console_init() calls setvbuf(), which allocates through the C library
  malloc() and tripped RT_ASSERT() in rt_smem_alloc() on the boards
  built with RT_USING_DEBUG
- keep only ram_rtt.ld/flash_rtt.ld per board, align the DLM origin to
  4KB on hpm5300evk/hpm5301evklite (the unaligned origin made the
  linker emit a file backed PT_LOAD for the RAM area, which broke
  "program rtthread.elf"), and anchor the generated .bin at the flash
  base address 0x80000000
- sync the hpm6750evk openocd debug scripts with the new style used by
  the other boards (hpm_common.cfg/hpm_reset.cfg with arp_halt)

- keep the upstream synced board/startup/libraries trees of bsp/hpmicro out of the
  changed-file cppcheck run (same policy as bsp/hpmicro/.clang-format-ignore): the
  check runs without the hpm_sdk include paths, so it reports ATTR_PLACE_AT and the
  linker script symbol arithmetic in c_startup() as errors

- give the hpmicro boards in the changed-file scons trigger list the RV32 toolchain
  they need (RISC-V-GCC-RV32) and add the matching installation step to that
  workflow: the entries used sourcery-arm, which only provides the ARM toolchain,
  so those legs could not find riscv32-unknown-elf-gcc

- keep hpm5100evk's ram_rtt.ld identical to the hpm_sdk v1.13.0
  reference: the .fast_ram sections belong in DLM there (the DLM has
  enough headroom), and that also makes its RAM and flash layouts agree
- skip the dependency pre-check when cleaning (scons -c): it runs from
  DoBuilding() unconditionally, so a clean request with packages/ not
  fetched yet was aborted with exit code 1 instead of cleaning

- make the manual scons trigger workflow runnable: it aborted while still
  downloading actions because actions/upload-artifact@v3 is deprecated,
  and scons was not on PATH because ~/.env/env.sh was never sourced.
  Install tools/requirements.txt and source the Env PATH script in the
  build step, and use @main action versions, as bsp_buildings.yml does
- start the LED demo thread only when rt_thread_create() succeeded

Tested:
- 12 boards x {ram_debug, ram_release, flash_debug, flash_release}:
  48/48 clean builds
- flash boot + msh on hpm5100evk, hpm5300evk, hpm5e00evk, hpm6200evk,
  hpm6300evk, hpm6750evk, hpm6750evk2, hpm6750evkmini, hpm6800evk,
  hpm6e00evk, hpm6p00evk (list device/timer, ps, free, reset, rt_kprintf
  float formatting)

- re-ran .github/workflows/manual_trigger_scons_except_STM32_all.yml with
  the matrix reduced to the three hpmicro rows: all three legs build and
  scons --dist succeeds with no local workarounds
</content>
</entry>
<entry>
<title>[bsp][hpmicro] wire CXX/CXXFLAGS from rtconfig into scons Environment</title>
<updated>2026-09-07T02:19:22Z</updated>
<author>
<name>kaidegit</name>
<email>2857693944@qq.com</email>
</author>
<published>2026-09-01T14:13:56Z</published>
<link rel='alternate' type='text/html' href='http://cgit.235523.xyz/rt-thread.git/commit/?id=3d3648ce2cbf2bb4367de150a8dc4c1dc49698e5'/>
<id>urn:sha1:3d3648ce2cbf2bb4367de150a8dc4c1dc49698e5</id>
<content type='text'>
Without CXX = rtconfig.CXX the scons Environment falls back to the
default host 'g++', and CXXFLAGS stays an empty CLVar, so the C++
group flags appended by DefineGroup end up as a single unquoted
argument and the build fails as soon as RT_USING_CPLUSPLUS is on:

  g++: error:  -fno-exceptions -fno-rtti ... -Wl,--gc-sections:
  linker input file not found: No such file or directory

Found by the CI C++ ctor (.init_array) check.
</content>
</entry>
<entry>
<title>[bsp] Place SConscript outputs under build directories</title>
<updated>2026-07-22T05:32:41Z</updated>
<author>
<name>CYFS</name>
<email>2805686936@qq.com</email>
</author>
<published>2026-07-17T05:02:53Z</published>
<link rel='alternate' type='text/html' href='http://cgit.235523.xyz/rt-thread.git/commit/?id=55cf9cd3fab52a3535691c9cdda44b5581cd9671'/>
<id>urn:sha1:55cf9cd3fab52a3535691c9cdda44b5581cd9671</id>
<content type='text'>
</content>
</entry>
<entry>
<title>fix: name anonymous Kconfig choices</title>
<updated>2026-07-20T05:05:46Z</updated>
<author>
<name>CYFS</name>
<email>2805686936@qq.com</email>
</author>
<published>2026-07-01T07:27:44Z</published>
<link rel='alternate' type='text/html' href='http://cgit.235523.xyz/rt-thread.git/commit/?id=25212f374583a6f36133809bdd3b6ae51641d083'/>
<id>urn:sha1:25212f374583a6f36133809bdd3b6ae51641d083</id>
<content type='text'>
</content>
</entry>
<entry>
<title>bsp: hpmicro: clear full ENET buffers</title>
<updated>2026-07-08T06:03:58Z</updated>
<author>
<name>Old-Ding</name>
<email>35417409+Old-Ding@users.noreply.github.com</email>
</author>
<published>2026-07-07T02:31:29Z</published>
<link rel='alternate' type='text/html' href='http://cgit.235523.xyz/rt-thread.git/commit/?id=ac6dc197a0a032dace013efd6cae5c76ff7b692c'/>
<id>urn:sha1:ac6dc197a0a032dace013efd6cae5c76ff7b692c</id>
<content type='text'>
rt_hw_eth_init() clears ENET descriptor tables using element size times count, but the RX/TX data buffers used sizeof(size), which only covers the width of the size field.

Use the configured buffer count and size so the whole RX/TX buffer areas are initialized before handing them to the ENET descriptor configuration.

Make the Cppcheck intent explicit for the HPM placement macros and the LPI_CSR register read so the touched file passes static analysis.

Signed-off-by: Old-Ding &lt;35417409+Old-Ding@users.noreply.github.com&gt;
</content>
</entry>
<entry>
<title>[bsp] reduce SConscript absolute path usage</title>
<updated>2026-06-25T04:41:58Z</updated>
<author>
<name>CYFS</name>
<email>2805686936@qq.com</email>
</author>
<published>2026-06-25T03:19:27Z</published>
<link rel='alternate' type='text/html' href='http://cgit.235523.xyz/rt-thread.git/commit/?id=bdae0ef2a311aba69be6d7c5afe70d7903e42d0d'/>
<id>urn:sha1:bdae0ef2a311aba69be6d7c5afe70d7903e42d0d</id>
<content type='text'>
</content>
</entry>
<entry>
<title>Fix BSP dist packaging</title>
<updated>2026-06-02T10:06:01Z</updated>
<author>
<name>CYFS</name>
<email>2805686936@qq.com</email>
</author>
<published>2026-05-28T06:45:23Z</published>
<link rel='alternate' type='text/html' href='http://cgit.235523.xyz/rt-thread.git/commit/?id=f7a69863cbb50a65b9f2d14c4a8ee9085a141b1a'/>
<id>urn:sha1:f7a69863cbb50a65b9f2d14c4a8ee9085a141b1a</id>
<content type='text'>
</content>
</entry>
<entry>
<title>fix(finsh): validate backtrace thread address</title>
<updated>2026-05-11T06:09:25Z</updated>
<author>
<name>AFWEF_147</name>
<email>olm_cse@hust.edu.cn</email>
</author>
<published>2026-04-21T12:16:15Z</published>
<link rel='alternate' type='text/html' href='http://cgit.235523.xyz/rt-thread.git/commit/?id=3f6a21d55b7b11d47b2b5ada09ac05db2a5f923a'/>
<id>urn:sha1:3f6a21d55b7b11d47b2b5ada09ac05db2a5f923a</id>
<content type='text'>
</content>
</entry>
<entry>
<title>[bsp/hpm6750evk]Remove cherryusb_port.c from SConscript</title>
<updated>2026-05-09T02:55:48Z</updated>
<author>
<name>Rbb666</name>
<email>zhangbingru@rt-thread.com</email>
</author>
<published>2026-05-09T02:35:02Z</published>
<link rel='alternate' type='text/html' href='http://cgit.235523.xyz/rt-thread.git/commit/?id=ecf2409904bc3b2c081de7c98042d38bfc6eb95d'/>
<id>urn:sha1:ecf2409904bc3b2c081de7c98042d38bfc6eb95d</id>
<content type='text'>
</content>
</entry>
<entry>
<title>Update cherryusb to v1.6.1#11362</title>
<updated>2026-05-08T12:17:52Z</updated>
<author>
<name>sakumisu</name>
<email>1203593632@qq.com</email>
</author>
<published>2026-05-08T12:17:52Z</published>
<link rel='alternate' type='text/html' href='http://cgit.235523.xyz/rt-thread.git/commit/?id=3d2dc22c58414f7a0c34c2ad362f46b0a108b1fb'/>
<id>urn:sha1:3d2dc22c58414f7a0c34c2ad362f46b0a108b1fb</id>
<content type='text'>
</content>
</entry>
</feed>
