Compare commits

..

6 Commits

Author SHA1 Message Date
copilot-swe-agent[bot]
8ef0add346 Remove empty #ifdef RT_USING_FINSH blocks
Removed empty conditional compilation blocks that were left after FINSH macro cleanup.

Co-authored-by: BernardXiong <1241087+BernardXiong@users.noreply.github.com>
2025-10-28 23:21:39 +00:00
copilot-swe-agent[bot]
af25087e09 Remove orphaned finsh.h includes after FINSH_FUNCTION_EXPORT cleanup
Co-authored-by: Rbb666 <64397326+Rbb666@users.noreply.github.com>
2025-10-26 07:16:09 +00:00
copilot-swe-agent[bot]
f2d0b8a626 Remove deprecated FINSH_FUNCTION_EXPORT macro and all usages
Co-authored-by: Rbb666 <64397326+Rbb666@users.noreply.github.com>
2025-10-26 07:04:31 +00:00
copilot-swe-agent[bot]
42aef81d15 Remove extra blank lines left after FINSH_FUNCTION_EXPORT_ALIAS cleanup
Co-authored-by: BernardXiong <1241087+BernardXiong@users.noreply.github.com>
2025-10-24 02:26:45 +00:00
copilot-swe-agent[bot]
60c9bc2350 Remove all FINSH_FUNCTION_EXPORT_ALIAS calls and macro definitions
Co-authored-by: BernardXiong <1241087+BernardXiong@users.noreply.github.com>
2025-10-24 01:31:21 +00:00
copilot-swe-agent[bot]
189980406c Initial plan 2025-10-24 01:25:27 +00:00
258 changed files with 742 additions and 10133 deletions

View File

@@ -482,7 +482,6 @@
"RTT_BSP": "xuantie",
"RTT_TOOL_CHAIN": "sourcery-Xuantie-900-gcc-elf-newlib",
"SUB_RTT_BSP": [
"xuantie/smartl/e901",
"xuantie/smartl/e902",
"xuantie/smartl/e906",
"xuantie/smartl/e907",

View File

@@ -177,10 +177,10 @@ jobs:
- name: Install Xuantie-900-gcc-elf-newlib Tools
if: ${{ matrix.legs.RTT_TOOL_CHAIN == 'sourcery-Xuantie-900-gcc-elf-newlib' && success() }}
run: |
wget -q https://occ-oss-prod.oss-cn-hangzhou.aliyuncs.com/resource//1751370399722/Xuantie-900-gcc-elf-newlib-x86_64-V3.2.0-20250627.tar.gz
sudo tar -zxvf Xuantie-900-gcc-elf-newlib-x86_64-V3.2.0-20250627.tar.gz -C /opt
/opt/Xuantie-900-gcc-elf-newlib-x86_64-V3.2.0/bin/riscv64-unknown-elf-gcc --version
echo "RTT_EXEC_PATH=/opt/Xuantie-900-gcc-elf-newlib-x86_64-V3.2.0/bin" >> $GITHUB_ENV
wget -q https://occ-oss-prod.oss-cn-hangzhou.aliyuncs.com/resource//1744884010580/Xuantie-900-gcc-elf-newlib-x86_64-V3.0.2-20250410.tar.gz
sudo tar -zxvf Xuantie-900-gcc-elf-newlib-x86_64-V3.0.2-20250410.tar.gz -C /opt
/opt/Xuantie-900-gcc-elf-newlib-x86_64-V3.0.2/bin/riscv64-unknown-elf-gcc --version
echo "RTT_EXEC_PATH=/opt/Xuantie-900-gcc-elf-newlib-x86_64-V3.0.2/bin" >> $GITHUB_ENV
- name: Install Xuantie-900-gcc-linux-musl Tools
if: ${{ matrix.legs.RTT_TOOL_CHAIN == 'sourcery-Xuantie-900-gcc-linux-musl' && success() }}

View File

@@ -1,184 +1,3 @@
# RT-Thread v5.2.2 Released
Change Log Since v5.2.1 Release.
## Kernel
* Fix scheduling exception caused by interrupt preemption in rt_schedule.[(#10715)](https://github.com/RT-Thread/rt-thread/pull/10715)
* Fix the legacy issue related to the length of the object name version.[(#10537)](https://github.com/RT-Thread/rt-thread/pull/10537)
* Fixed buffer overflow vulnerability in object.[(#10523)](https://github.com/RT-Thread/rt-thread/pull/10523)
* Add up scheduler critical switch flag.[(#10581)](https://github.com/RT-Thread/rt-thread/pull/10581)
* Update the default value of RT_NAME_MAX to 12.[(#10839)](https://github.com/RT-Thread/rt-thread/pull/10839)
* Feat the rt_scheduler lock nest uses atomic operations.[(#10621)](https://github.com/RT-Thread/rt-thread/pull/10621)
## Components
* **Drivers**
* **Serial:**
* serial_v1
* Fix correct data loss logic when RX ring buffer is full.
* serial_v2
* Fix the bug of RX flush under DMA.
* Add serial V2 buffer configuration via Kconfig.
* Feat optimize serial v2. [(#10603)](https://github.com/RT-Thread/rt-thread/pull/10603)
* Feat modify the default configuration of the RT_SERIAL_CONFIG_DEFAULT structure to support parameters in the absence of DMA configuration.
* **RTC:**
* Add the alarm using local time for calculation.
* **CAN:**
* Fixed the issue where the thread calling CAN int TX was suspended when CAN at the bottom layer failed to work.
* Feat: Implement non-blocking send mechanism and enhance CAN driver functionality.
* **SPI:**
* Add SPI device detach function.[(#10733)](https://github.com/RT-Thread/rt-thread/pull/10733)
* Update and fix up the SPI.
* **ADC:**
* Fixed cppcheck error.
* Remove build warnings.
* **ktime:**
* Remove unused rt_ktime_hrtimer_getcnt for hrtimer.
* **wlan:**
* Update SECURITY_UNKNOWN value.
* **LWP**
* Fix potential signal handler infinite loop for riscv.
* Feat: Restore TP register in arch_thread_signal_enter to fix user-mode memory access.
* **Libc**
* Add comments for some pthread functions.
* pthreads: Fix pthread_cond_timedwait lacks timeout wakeup.
* ensure compatibility with newlib <3.4.0 by handling removed __sdidinit. [(#10791)](https://github.com/RT-Thread/rt-thread/pull/10791)
* **DFS**
* **DFS v2**:
* Fix bugs for function _get_parent_path(). [(#10539)](https://github.com/RT-Thread/rt-thread/pull/10539)
* **Net**
* **SAL/Socket:**
* Fixed CI compilation failure in sal/src/sal_socket.c.
* Fix memory leak when sal_socket failed.
* improve the error return of sal.
* **Netdev:**
* Fixed compilation errors when enabling IPv6 and IPv4 dual-stack support.
* Fixed netdev_unregister missing correct return value. [(#10693)](https://github.com/RT-Thread/rt-thread/pull/10693)
* Expose netdev_set_dns and netdev_set_if. [(#10128)](https://github.com/RT-Thread/rt-thread/pull/10128)
* **AT:**
* at_client add deInit port. [(#10598)](https://github.com/RT-Thread/rt-thread/pull/10598)
* **Finsh:**
* Fixed clear out the useless copy operations. [(#10699)](https://github.com/RT-Thread/rt-thread/pull/10699)
* Feat add support for the Home, Insert, Delete and End keys, and improve input mode processing.[(#10595)](https://github.com/RT-Thread/rt-thread/pull/10595)
* Feat: Add new features (delete by word, switch cursor, etc.).
* **USB:**
* Update (cherryusb): update to v1.5.1.
* Fixed several issues related to cherryusb.[(#10844)](https://github.com/RT-Thread/rt-thread/pull/10844)
* **Ulog:**
* Fix:filter should not be associated with ULOG_USING_COLOR and ULOG_USING_SYSLOG configurations.
* **IPC:**
* Pass rt_tick_t for RT_TIMER_CTRL_SET_TIME and RT_TIMER_CTRL_GET_TIME.[(#10717)](https://github.com/RT-Thread/rt-thread/pull/10717)
## DM
* NVME: fix up the QUEUE alloc error no check.
* Thermal: Fix up the C99, 6.8.1 Labeled statements p4; Fix up the PWM-FAN remove handle data ptr.
* PCI: Add SoC PCI Kconfig import; Multiple PCI-related fixes; Fix and optimize interrupt-related issues.
* WDT: Support related to Intel 6300ESB/Synopsys Watchdog, etc.
## Libcpu
* **AArch64:**
* Fix up MMU and linker warning.
* Fix rt_aspace_init error when KERNEL_VADDR_START >= 0x80000000.
* Add the configuration of libcpu/aarch64 KERNEL ASPACE START.
* Update Hypercall API.
* Remove unused rt_hw_set_gtimer_frq.
* **Cortex-M33:**
* Fix the M33 assembly syntax errors and fix the compilation error of BSP.
* Added HardFault_Handler to save floating point registers.
* **Cortex-M4:**
* Fixed compilation error.
* Added HardFault_Handler to save floating point registers.
* **Cortex-M3:**
* The parameter passed to the unified rt_exception_hook is exception_stack. [(#10619)](https://github.com/RT-Thread/rt-thread/pull/10619)
* **RISC-V:**
* Fix type mismatch of `_query`.
* Fix the support for RV32E. RV32E does not support the s2 register. Modify it to the s1 register.
* Use volatile RW for claim and complete.
* Add spaces to fix `Wliteral-suffix`.
* Add comment for the round down of symb_pc.
* Remove `rt_hw_cpu_id` in `cpuport.h` to fix error.
## Tools
* Add support for package.json, refactor BuildPackage function to handle new format.
* Add documents for tools script; Add NG for tools. [(#10572)](https://github.com/RT-Thread/rt-thread/pull/10572)
* Add workspace generation for RT-Thread root directory.
* Add vsc_workspace target in scons.
* Add DTC (Devicetree Compiler) tools.
* Add clang-format formatting script for CI.
* Optimize the file opening method.
* Clang format ignore migration.
* Improve[clang-format]: optimize the formatting logic for RT-Thread coding standard.
## Action
* Fixed CI: ARDUINO_ADAFRUIT_SENSORLAB compilation failure issue.
* Fixed CI compilation failure in sal/src/sal_socket.c.[(#10854)](https://github.com/RT-Thread/rt-thread/pull/10854)
* Merge same tag with different paths, remove Path display from CI comment.
* Add Copilot review title keywords.
* Add concurrency control to GitHub Actions. [(#10761)](https://github.com/RT-Thread/rt-thread/pull/10761)
* integrate utest run ci. [(#10748)](https://github.com/RT-Thread/rt-thread/pull/10748)
* Improve the comment instructions for the PR format bot.[(#10747)](https://github.com/RT-Thread/rt-thread/pull/10747)
## Documents
* **Doxygen:**
* Fix some document issues.
* Update naming rule for utest-case.
* Update doc for env to latest.
* Update some document content.
* Group name all in lowercase. [(#10530)](https://github.com/RT-Thread/rt-thread/pull/10530)
* Grouping and page optimization related to device driver.
* use layout to control the HTML display.
* Add doxygen comments for scheduler. [(#10366)](https://github.com/RT-Thread/rt-thread/pull/10366) and lwp
* update doxygen version to v1.9.8 .
## Utest
* Add netdev/lwip/filesystem/memory pool/SAL/system performance API test case.
* Support autocomplete of utest cases for `utest_run`. [(#10701)](https://github.com/RT-Thread/rt-thread/pull/10701)
* Feat:reorganize utest menu.
* Feat:rename files and update naming according to new rule.
* Feat:reorganize utest framework structure (initial version).
* Feat:unify config name. [(#10808)](https://github.com/RT-Thread/rt-thread/pull/10808)
* Feat:integrate test cases into utest framework. [(#10665)](https://github.com/RT-Thread/rt-thread/pull/10665)
* Move driver-related test cases under `drivers`.
* Move and enhance C++ test cases.
## BSP
* Some driver issues have been resolved and some driver support has been added.
* **Added/Updated BSPs:**
* **xuantie**
* E901
* **Renesas:**
* ek-ra6e2
* ek-ra4e2
* ek-ra2a1
* ek-ra2e2
* ek-ra4m1
* **GD32:**
* gd32h759i-eval
* gd32470i-eval
* gd32e230-lckfb
* **NXP:**
* MCX E247
* FRDM-MCXE247
* FRDM-MCXA346
* **HPMicro:**
* hpm6p00evk
* hpm5e00evk
* **Phytium**
* **Raspberry RP2350**
# RT-Thread v5.2.1 Released
Change Log Since v5.2.0 Release

View File

@@ -4,7 +4,6 @@ menu "RT-Thread Utestcases"
bool "RT-Thread Utestcases"
default n
select RT_USING_UTEST
select RT_USING_DEBUG if !RT_USING_ULOG
if RT_USING_UTESTCASES

View File

@@ -1,2 +0,0 @@
# clang-format ignore file
/psoc6-evaluationkit-062S2/libs/TARGET_RTT-062S2/

View File

@@ -0,0 +1,6 @@
# files format check exclude path, please follow the instructions below to modify;
# If you need to exclude an entire folder, add the folder path in dir_path;
# If you need to exclude a file, add the path to the file in file_path.
dir_path:
- TARGET_RTT-062S2

View File

@@ -1,2 +0,0 @@
# clang-format ignore file
/**/libraries/

View File

@@ -0,0 +1,6 @@
# files format check exclude path, please follow the instructions below to modify;
# If you need to exclude an entire folder, add the folder path in dir_path;
# If you need to exclude a file, add the path to the file in file_path.
dir_path:
- libraries

View File

@@ -0,0 +1,6 @@
# files format check exclude path, please follow the instructions below to modify;
# If you need to exclude an entire folder, add the folder path in dir_path;
# If you need to exclude a file, add the path to the file in file_path.
dir_path:
- libraries

View File

@@ -183,5 +183,3 @@ static int cmd_disp_debug(int argc, const char **argv)
}
return 0;
}
FINSH_FUNCTION_EXPORT_ALIAS(cmd_disp_debug, __cmd_disp, disp cmd);

View File

@@ -130,5 +130,3 @@ int disp_layer_alpha_test(int argc, char **argv)
disp_mem_clear(1);
return 0;
}
FINSH_FUNCTION_EXPORT_ALIAS(disp_layer_alpha_test, __cmd_disp_layer_alpha_test, disp_layer_alpha_test);

View File

@@ -556,7 +556,3 @@ int parse_cmdline_and_set_config(int argc, char **argv)
}
}
FINSH_FUNCTION_EXPORT_ALIAS(parse_cmdline_and_set_config, disp_layer_cfg, disp set layer);

View File

@@ -134,5 +134,3 @@ int disp_layer_format_test(int argc, char **argv)
return 0;
}
FINSH_FUNCTION_EXPORT_ALIAS(disp_layer_format_test, __cmd_disp_layer_format_test, disp_layer_format_test);

View File

@@ -78,5 +78,3 @@ int disp_layer_rgb_test(int argc, char **argv)
return 0;
}
FINSH_FUNCTION_EXPORT_ALIAS(disp_layer_rgb_test, __cmd_disp_layer_rgb_test, disp_layer_rgb_test);

View File

@@ -145,5 +145,3 @@ int disp_layer_scal_test(int argc, char **argv)
return 0;
}
FINSH_FUNCTION_EXPORT_ALIAS(disp_layer_scal_test, __cmd_disp_layer_scal_test, disp_layer_scal_test);

View File

@@ -157,9 +157,3 @@ int lbc_test(int argc, char **argv)
return 0;
}
FINSH_FUNCTION_EXPORT_ALIAS(lbc_test, __cmd_disp_lbc_test, disp lbc test);

View File

@@ -264,5 +264,3 @@ int parse_cmdline_and_alloc(int argc, char **argv)
}
}
FINSH_FUNCTION_EXPORT_ALIAS(parse_cmdline_and_alloc, disp_mem, disp mem);

View File

@@ -1,6 +0,0 @@
# clang-format ignore file
/libraries/APM32F0xx_Library/
/libraries/APM32F10x_Library/
/libraries/APM32F4xx_Library/
/libraries/APM32E10x_Library/
/libraries/APM32S10x_Library/

View File

@@ -0,0 +1,10 @@
# files format check exclude path, please follow the instructions below to modify;
# If you need to exclude an entire folder, add the folder path in dir_path;
# If you need to exclude a file, add the path to the file in file_path.
dir_path:
- APM32F0xx_Library
- APM32F10x_Library
- APM32F4xx_Library
- APM32E10x_Library
- APM32S10x_Library

View File

@@ -123,7 +123,6 @@ INIT_DEVICE_EXPORT(rt_hw_led_init);
#endif
#ifdef RT_USING_FINSH
#include <finsh.h>
void led(rt_uint32_t led, rt_uint32_t state)
{
@@ -140,7 +139,6 @@ void led(rt_uint32_t led, rt_uint32_t state)
break;
}
}
FINSH_FUNCTION_EXPORT(led, turn led (0 - 3) on (1) or off (0).)
#endif
/*@}*/

View File

@@ -201,7 +201,5 @@ void list_irq(void)
}
}
#include <finsh.h>
FINSH_FUNCTION_EXPORT(list_irq, list system irq);
#endif

View File

@@ -1,2 +0,0 @@
# clang-format ignore file
/libraries/CMSIS/

View File

@@ -0,0 +1,6 @@
# files format check exclude path, please follow the instructions below to modify;
# If you need to exclude an entire folder, add the folder path in dir_path;
# If you need to exclude a file, add the path to the file in file_path.
dir_path:
- CMSIS

View File

@@ -151,8 +151,6 @@ void nfs_start(void)
rt_kprintf("NFSv3 File System initialzation failed!\n");
}
#include "finsh.h"
FINSH_FUNCTION_EXPORT(nfs_start, start net filesystem);
#endif
/*@}*/

View File

@@ -891,8 +891,6 @@ err:
INIT_DEVICE_EXPORT(at91_mci_init);
#include "finsh.h"
FINSH_FUNCTION_EXPORT(at91_mci_init, at91sam9260 sd init);
void mci_dump(void)
{
@@ -907,4 +905,3 @@ void mci_dump(void)
}
}
FINSH_FUNCTION_EXPORT(mci_dump, dump register for mci);

View File

@@ -611,7 +611,6 @@ int rt_hw_mtd_nand_init(void)
INIT_DEVICE_EXPORT(rt_hw_mtd_nand_init);
#if defined(RT_USING_FINSH)
#include <finsh.h>
void nand_eraseall()
{
int tmp=0;
@@ -628,7 +627,6 @@ void nand_eraseall()
at9260_nand_erase_block(RT_NULL, index);
}
}
FINSH_FUNCTION_EXPORT(nand_eraseall, erase all of block in the nand flash);
#endif //RT_USING_FINSH

View File

@@ -29,9 +29,6 @@ void machine_shutdown(void)
#ifdef RT_USING_FINSH
#include <finsh.h>
FINSH_FUNCTION_EXPORT_ALIAS(rt_hw_cpu_reset, reset, restart the system);
#ifdef FINSH_USING_MSH
int cmd_reset(int argc, char** argv)
{

View File

@@ -152,8 +152,6 @@ void nfs_start(void)
rt_kprintf("NFSv3 File System initialzation failed!\n");
}
#include "finsh.h"
FINSH_FUNCTION_EXPORT(nfs_start, start net filesystem);
#endif
/*@}*/

View File

@@ -891,8 +891,6 @@ err:
INIT_DEVICE_EXPORT(at91_mci_init);
#include "finsh.h"
FINSH_FUNCTION_EXPORT(at91_mci_init, at91sam9260 sd init);
void mci_dump(void)
{
@@ -907,4 +905,3 @@ void mci_dump(void)
}
}
FINSH_FUNCTION_EXPORT(mci_dump, dump register for mci);

View File

@@ -1,3 +0,0 @@
# clang-format ignore file
/libraries/bl_mcu_sdk/drivers/
/libraries/bl_mcu_sdk/tools/

View File

@@ -0,0 +1,7 @@
# files format check exclude path, please follow the instructions below to modify;
# If you need to exclude an entire folder, add the folder path in dir_path;
# If you need to exclude a file, add the path to the file in file_path.
dir_path:
- drivers
- tools

View File

@@ -1,7 +0,0 @@
# clang-format ignore file
/Libraries/core_v_hal_libraries/bmsis/
/Libraries/core_v_hal_libraries/core_v_hal/
/Libraries/core_v_hal_libraries/core_v_udma_driver/
/Libraries/core_v_hal_libraries/bmsis/core-v-mcu/source/core-v-mcu.c
/Libraries/core_v_hal_libraries/bmsis/core-v-mcu/source/crt0.S
/Libraries/core_v_hal_libraries/bmsis/core-v-mcu/source/vectors.S

View File

@@ -0,0 +1,8 @@
# files format check exclude path, please follow the instructions below to modify;
# If you need to exclude an entire folder, add the folder path in dir_path;
# If you need to exclude a file, add the path to the file in file_path.
dir_path:
- bmsis
- core_v_hal
- core_v_udma_driver

View File

@@ -0,0 +1,8 @@
# files format check exclude path, please follow the instructions below to modify;
# If you need to exclude an entire folder, add the folder path in dir_path;
# If you need to exclude a file, add the path to the file in file_path.
dir_path:
- core-v-mcu.c
- crt0.S
- vectors.S

View File

@@ -1,2 +0,0 @@
# clang-format ignore file
/drivers/libraries/

View File

@@ -0,0 +1,6 @@
# files format check exclude path, please follow the instructions below to modify;
# If you need to exclude an entire folder, add the folder path in dir_path;
# If you need to exclude a file, add the path to the file in file_path.
dir_path:
- libraries

View File

@@ -97,8 +97,6 @@ void nfs_start(void)
rt_kprintf("NFSv3 File System initialzation failed!\n");
}
#include "finsh.h"
FINSH_FUNCTION_EXPORT(nfs_start, start net filesystem);
#endif
/*@}*/

View File

@@ -1741,7 +1741,6 @@ void dump_emac_stats(void)
rt_kprintf("\n");
}
FINSH_FUNCTION_EXPORT(dump_emac_stats, dump emac statistics);
#ifdef FINSH_USING_MSH
int cmd_dump_emac_stats(int argc, char** argv)

View File

@@ -278,7 +278,6 @@ void list_irq(void)
}
#include <finsh.h>
FINSH_FUNCTION_EXPORT(list_irq, list system irq);
#ifdef FINSH_USING_MSH
int cmd_list_irq(int argc, char** argv)

View File

@@ -824,7 +824,6 @@ rt_err_t efm_accel_init(void)
* Export to FINSH
******************************************************************************/
#ifdef RT_USING_FINSH
#include <finsh.h>
void accel_cal(rt_uint8_t mode, rt_uint32_t second)
{
@@ -836,7 +835,6 @@ void accel_cal(rt_uint8_t mode, rt_uint32_t second)
rt_kprintf("Calibration done.\n");
}
FINSH_FUNCTION_EXPORT(accel_cal, auto-zero calibration.)
void list_accel(void)
{
@@ -845,7 +843,6 @@ void list_accel(void)
efm_accel_get_data(&data, false);
rt_kprintf("X: %d, Y: %d, Z: %d\n", data.x, data.y, data.z);
}
FINSH_FUNCTION_EXPORT(list_accel, list accelerometer info.)
void test_accel(rt_uint8_t mode)
{
@@ -880,7 +877,6 @@ void test_accel(rt_uint8_t mode)
}
}
}
FINSH_FUNCTION_EXPORT(test_accel, list accelerometer info.)
#endif
#endif

View File

@@ -166,7 +166,6 @@ rt_err_t rt_hw_led_init(void)
* Export to FINSH
******************************************************************************/
#ifdef RT_USING_FINSH
#include <finsh.h>
void list_leds(void)
{
@@ -189,7 +188,6 @@ void list_leds(void)
#endif
}
}
FINSH_FUNCTION_EXPORT(list_leds, list all the LEDs.)
void set_led(rt_uint32_t led, rt_uint32_t state)
{
@@ -206,7 +204,6 @@ void set_led(rt_uint32_t led, rt_uint32_t state)
break;
}
}
FINSH_FUNCTION_EXPORT(set_led, turn led (0 - 3) on (1) or off (0).)
#endif
/***************************************************************************//**

View File

@@ -172,7 +172,6 @@ rt_int32_t efm32_misc_getCelsius(rt_uint32_t adcResult)
* Export to FINSH
******************************************************************************/
#ifdef RT_USING_FINSH
#include <finsh.h>
void list_temp(void)
{
@@ -180,7 +179,6 @@ void list_temp(void)
rt_kprintf("Temperature is %2d.%02d C\n", temp / 100, temp % 100);
}
FINSH_FUNCTION_EXPORT(list_temp, list current temperature value.)
void list_vdd(void)
{
@@ -188,7 +186,6 @@ void list_vdd(void)
rt_kprintf("VDD is %1d.%02d V\n", vdd / 100, vdd % 100);
}
FINSH_FUNCTION_EXPORT(list_vdd, list current VDD value.)
#endif /* RT_USING_FINSH */

View File

@@ -381,7 +381,6 @@ rt_uint32_t efm_spiFlash_cmd(
* Export to FINSH
*********************************************************************/
#ifdef RT_USING_FINSH
#include <finsh.h>
void list_sflash(void)
{
@@ -395,7 +394,6 @@ void list_sflash(void)
rt_kprintf(" Memory type:\t\t%x\n", buf[1]);
rt_kprintf(" Memory capacity:\t%x\n", buf[2]);
}
FINSH_FUNCTION_EXPORT(list_sflash, list the SPI Flash.)
#endif
#endif /* defined(EFM32_USING_SFLASH) */

View File

@@ -232,7 +232,6 @@ void efm32_emu_init(void)
* Export to FINSH
******************************************************************************/
#ifdef RT_USING_FINSH
#include <finsh.h>
void list_emu(void)
{
@@ -244,7 +243,6 @@ void list_emu(void)
rt_kprintf(" em4 token used %d\n",
EMU_TASK_EM4_TOKEN_NUMBER - emu_task.em4.value);
}
FINSH_FUNCTION_EXPORT(list_emu, list the EMU status)
#endif
/***************************************************************************//**

View File

@@ -1016,7 +1016,6 @@ rt_err_t efm_hw_eth_init(void)
******************************************************************************/
#if defined(EFM32_USING_ETH_UTILS)
#ifdef RT_USING_FINSH
#include <finsh.h>
void list_eth(void)
{
@@ -1075,7 +1074,6 @@ void list_eth(void)
rt_kprintf(" TX is idle\n");
}
}
FINSH_FUNCTION_EXPORT(list_eth, list the Ethernet device status.)
#include "lwip\api.h"
@@ -1184,7 +1182,6 @@ void list_myip(void)
rt_kprintf("Current IP: [%s]\n", ip);
}
FINSH_FUNCTION_EXPORT(list_myip, list the current IP address.)
#if !defined(hostName) || !defined(userPwdB64)
#error "The 'hostName' and 'userPwdB64' must be defined to use update_ip() function"
@@ -1309,7 +1306,6 @@ void update_myip(char *ip)
rt_kprintf("succeeded.\n", ip);
}
FINSH_FUNCTION_EXPORT(update_myip, update DDNS with specified IP address.)
#endif /* RT_USING_FINSH */
#endif /* defined(EFM32_USING_ETH_UTILS) */

View File

@@ -1271,7 +1271,6 @@ void efm_spiSd_deinit(void)
* Export to FINSH
******************************************************************************/
#ifdef RT_USING_FINSH
#include <finsh.h>
void list_sd(void)
{
@@ -1317,7 +1316,6 @@ void list_sd(void)
capacity >>= 4;
rt_kprintf(" Card capacity:\t\t%dMB\n", capacity);
}
FINSH_FUNCTION_EXPORT(list_sd, list the SD card.)
#endif
#endif /* defined(EFM32_USING_SPISD) */

View File

@@ -1,3 +0,0 @@
# clang-format ignore file
/**/libraries/

View File

@@ -0,0 +1,4 @@
# files format check exclude path, please follow the instructions below to modify;
dir_path:
- libraries

View File

@@ -0,0 +1,4 @@
# files format check exclude path, please follow the instructions below to modify;
dir_path:
- libraries

View File

@@ -0,0 +1,4 @@
# files format check exclude path, please follow the instructions below to modify;
dir_path:
- libraries

View File

@@ -1,2 +0,0 @@
# clang-format ignore file
/libraries/

View File

@@ -0,0 +1,6 @@
# files format check exclude path, please follow the instructions below to modify;
# If you need to exclude an entire folder, add the folder path in dir_path;
# If you need to exclude a file, add the path to the file in file_path.
dir_path:
- libraries

View File

@@ -419,7 +419,6 @@ long k64_dump_tx_bd(void)
return 0;
}
FINSH_FUNCTION_EXPORT(k64_dump_tx_bd, dump all receive buffer descriptor);
MSH_CMD_EXPORT(k64_dump_tx_bd, dump all receive buffer descriptor);
long k64_dump_rx_bd(void)
@@ -441,7 +440,6 @@ long k64_dump_rx_bd(void)
return 0;
}
FINSH_FUNCTION_EXPORT(k64_dump_rx_bd, dump all receive buffer descriptor);
MSH_CMD_EXPORT(k64_dump_rx_bd, dump all receive buffer descriptor);
#endif

View File

@@ -1,2 +0,0 @@
# clang-format ignore file
/libraries/FT32F0xx/

View File

@@ -0,0 +1,6 @@
# files format check exclude path, please follow the instructions below to modify;
# If you need to exclude an entire folder, add the folder path in dir_path;
# If you need to exclude a file, add the path to the file in file_path.
dir_path:
- FT32F0xx

View File

@@ -620,7 +620,6 @@ void nand_read(int block, int page)
rt_kprintf("oob data:\n");
dump_mem(nand_oob, 16);
}
FINSH_FUNCTION_EXPORT_ALIAS(nand_read, read_page, read page[block/page]);
void nand_write(int block, int page)
{
@@ -630,13 +629,11 @@ void nand_write(int block, int page)
NF_WritePage(block, page, nand_buffer);
}
FINSH_FUNCTION_EXPORT_ALIAS(nand_write, write_page, write page[block/page]);
void nand_erase(int block)
{
NF_EraseBlock(block);
}
FINSH_FUNCTION_EXPORT_ALIAS(nand_erase, erase_block, erase block[block]);
void nand_readoob(int block, int page)
{
@@ -646,7 +643,6 @@ void nand_readoob(int block, int page)
rt_kprintf("oob data:\n");
dump_mem(nand_oob, 16);
}
FINSH_FUNCTION_EXPORT_ALIAS(nand_readoob, readoob, read oob[block/page]);
void nand_erase_chip(void)
{
@@ -661,5 +657,4 @@ void nand_erase_chip(void)
NF_EraseBlock(i);
}
}
FINSH_FUNCTION_EXPORT_ALIAS(nand_erase_chip, erase_chip, erase whole chip);
#endif

View File

@@ -153,11 +153,9 @@ void rt_led_hw_init(void)
}
#ifdef RT_USING_FINSH
#include <finsh.h>
void led(rt_uint32_t led, rt_uint32_t value)
{
rt_uint8_t led_value = value;
rt_led_write(&fm4_led.parent, led, &led_value, 1);
}
FINSH_FUNCTION_EXPORT(led, e.g:led(0,0)/led(0,1).)
#endif

View File

@@ -156,11 +156,9 @@ void rt_led_hw_init(void)
}
#ifdef RT_USING_FINSH
#include <finsh.h>
void led(rt_uint32_t led, rt_uint32_t value)
{
rt_uint8_t led_value = value;
rt_led_write(&fm3_led.parent, led, &led_value, 1);
}
FINSH_FUNCTION_EXPORT(led, e.g:led(0,100).)
#endif

View File

@@ -0,0 +1,9 @@
# files format check exclude path, please follow the instructions below to modify;
# If you need to exclude an entire folder, add the folder path in dir_path;
# If you need to exclude a file, add the path to the file in file_path.
dir_path:
- GD32F10x_Firmware_Library
- GD32F20x_Firmware_Library
- GD32F30x_Firmware_Library
- GD32F4xx_Firmware_Library

View File

@@ -100,7 +100,7 @@ static void gd32_adc_gpio_init(rcu_periph_enum adc_clk, rt_base_t pin)
/* enable ADC clock */
rcu_periph_clock_enable(adc_clk);
#if defined SOC_SERIES_GD32F4xx || defined SOC_SERIES_GD32E23x || defined SOC_SERIES_GD32F5xx
#if defined SOC_SERIES_GD32F4xx || defined SOC_SERIES_GD32E23x
/* configure adc pin */
gpio_mode_set(PIN_GDPORT(pin), GPIO_MODE_ANALOG, GPIO_PUPD_NONE, PIN_GDPIN(pin));
#else
@@ -139,7 +139,7 @@ static rt_err_t gd32_adc_enabled(struct rt_adc_device *device, rt_int8_t channel
adc_data_alignment_config(adc_periph, ADC_DATAALIGN_RIGHT);
#endif
#if defined SOC_SERIES_GD32F4xx || defined SOC_SERIES_GD32F5xx
#if defined SOC_SERIES_GD32F4xx
adc_channel_length_config(adc_periph, ADC_ROUTINE_CHANNEL, 1);
adc_external_trigger_source_config(adc_periph, ADC_ROUTINE_CHANNEL, ADC_EXTTRIG_ROUTINE_EXTI_11);
adc_external_trigger_config(adc_periph, ADC_ROUTINE_CHANNEL, ENABLE);
@@ -202,7 +202,7 @@ static rt_err_t gd32_adc_convert(struct rt_adc_device *device, rt_int8_t channel
#else
adc_flag_clear(adc_periph, ADC_FLAG_EOC | ADC_FLAG_STRC);
#endif
#if defined SOC_SERIES_GD32F4xx || defined SOC_SERIES_GD32F5xx
#if defined SOC_SERIES_GD32F4xx
adc_routine_channel_config(adc_periph, 0, channel, ADC_SAMPLETIME_480);
adc_software_trigger_enable(adc_periph, ADC_ROUTINE_CHANNEL);
#elif defined SOC_SERIES_GD32E23x

View File

@@ -1,2 +0,0 @@
# clang-format ignore file
/libraries/hc32_drivers/

View File

@@ -0,0 +1,9 @@
# files format check exclude path, please follow the instructions below to modify;
# If you need to exclude an entire folder, add the folder path in dir_path;
# If you need to exclude a file, add the path to the file in file_path.
dir_path:
- hc32f4a0_ddl
- hc32f460_ddl
- hc32f448_ddl
- hc32f472_ddl

View File

@@ -1,2 +0,0 @@
# clang-format ignore file
/Libraries/

View File

@@ -0,0 +1,9 @@
# files format check exclude path, please follow the instructions below to modify;
# If you need to exclude an entire folder, add the folder path in dir_path;
# If you need to exclude a file, add the path to the file in file_path.
file_path:
dir_path:
- libraries

View File

@@ -1,2 +0,0 @@
# clang-format ignore file
/Libraries/

View File

@@ -0,0 +1,7 @@
# files format check exclude path, please follow the instructions below to modify;
# If you need to exclude an entire folder, add the folder path in dir_path;
# If you need to exclude a file, add the path to the file in file_path.
dir_path:
- Libraries

View File

@@ -1,2 +0,0 @@
# clang-format ignore file
/libraries/

View File

@@ -0,0 +1,9 @@
# files format check exclude path, please follow the instructions below to modify;
# If you need to exclude an entire folder, add the folder path in dir_path;
# If you need to exclude a file, add the path to the file in file_path.
file_path:
dir_path:
- libraries

View File

@@ -1,3 +0,0 @@
# clang-format ignore file
/**/startup/
/libraries/hpm_sdk/

View File

@@ -0,0 +1,27 @@
# files format check exclude path, please follow the instructions below to modify;
# If you need to exclude an entire folder, add the folder path in dir_path;
# If you need to exclude a file, add the path to the file in file_path.
dir_path:
- hpm6200evk/startup
- hpm6200evk/board
- hpm6300evk/startup
- hpm6300evk/board
- hpm6750evk/startup
- hpm6750evk/board
- hpm6750evk2/startup
- hpm6750evk2/board
- hpm6750evkmini/startup
- hpm6750evkmini/board
- hpm5300evk/startup
- hpm5300evk/board
- hpm5301evklite/startup
- hpm5301evklite/board
- hpm6800evk/startup
- hpm6800evk/board
- hpm6e00evk/startup
- hpm6e00evk/board
- hpm6p00evk/startup
- hpm6p00evk/board
- hpm5e00evk/startup
- hpm5e00evk/board

View File

@@ -624,7 +624,6 @@ CONFIG_RT_LIBC_TZ_DEFAULT_SEC=0
# CONFIG_PKG_USING_RVBACKTRACE is not set
# CONFIG_PKG_USING_HPATCHLITE is not set
# CONFIG_PKG_USING_THREAD_METRIC is not set
# CONFIG_PKG_USING_UORB is not set
# end of tools packages
#
@@ -719,7 +718,6 @@ CONFIG_RT_LIBC_TZ_DEFAULT_SEC=0
# CONFIG_PKG_USING_R_RHEALSTONE is not set
# CONFIG_PKG_USING_HEARTBEAT is not set
# CONFIG_PKG_USING_MICRO_ROS_RTTHREAD_PACKAGE is not set
# CONFIG_PKG_USING_CHERRYECAT is not set
# end of system packages
#
@@ -877,16 +875,6 @@ CONFIG_RT_LIBC_TZ_DEFAULT_SEC=0
# CONFIG_PKG_USING_GD32_ARM_CMSIS_DRIVER is not set
# CONFIG_PKG_USING_GD32_ARM_SERIES_DRIVER is not set
# end of GD32 Drivers
#
# HPMicro SDK
#
CONFIG_PKG_USING_HPM_SDK=y
CONFIG_PKG_HPM_SDK_PATH="/packages/peripherals/hal-sdk/hpmicro/hpm_sdk"
CONFIG_PKG_USING_HPM_SDK_V110=y
# CONFIG_PKG_USING_HPM_SDK_LATEST_VERSION is not set
CONFIG_PKG_HPM_SDK_VER="v1.10.0"
# end of HPMicro SDK
# end of HAL & SDK Drivers
#
@@ -935,7 +923,6 @@ CONFIG_PKG_HPM_SDK_VER="v1.10.0"
# CONFIG_PKG_USING_MLX90393 is not set
# CONFIG_PKG_USING_MLX90392 is not set
# CONFIG_PKG_USING_MLX90394 is not set
# CONFIG_PKG_USING_MLX90396 is not set
# CONFIG_PKG_USING_MLX90397 is not set
# CONFIG_PKG_USING_MS5611 is not set
# CONFIG_PKG_USING_MAX31865 is not set

View File

@@ -310,12 +310,6 @@
/* GD32 Drivers */
/* end of GD32 Drivers */
/* HPMicro SDK */
#define PKG_USING_HPM_SDK
#define PKG_USING_HPM_SDK_V110
/* end of HPMicro SDK */
/* end of HAL & SDK Drivers */
/* sensors drivers */

View File

@@ -78,8 +78,6 @@ if CROSS_TOOL == 'gcc':
PLATFORM = 'gcc'
if os.getenv('RTT_RISCV_TOOLCHAIN'):
EXEC_PATH = os.getenv('RTT_RISCV_TOOLCHAIN')
elif RTT_EXEC_PATH:
EXEC_PATH = RTT_EXEC_PATH
else:
EXEC_PATH = r'/opt/riscv-gnu-gcc/bin'
else:

View File

@@ -624,7 +624,6 @@ CONFIG_RT_LIBC_TZ_DEFAULT_SEC=0
# CONFIG_PKG_USING_RVBACKTRACE is not set
# CONFIG_PKG_USING_HPATCHLITE is not set
# CONFIG_PKG_USING_THREAD_METRIC is not set
# CONFIG_PKG_USING_UORB is not set
# end of tools packages
#
@@ -719,7 +718,6 @@ CONFIG_RT_LIBC_TZ_DEFAULT_SEC=0
# CONFIG_PKG_USING_R_RHEALSTONE is not set
# CONFIG_PKG_USING_HEARTBEAT is not set
# CONFIG_PKG_USING_MICRO_ROS_RTTHREAD_PACKAGE is not set
# CONFIG_PKG_USING_CHERRYECAT is not set
# end of system packages
#
@@ -877,16 +875,6 @@ CONFIG_RT_LIBC_TZ_DEFAULT_SEC=0
# CONFIG_PKG_USING_GD32_ARM_CMSIS_DRIVER is not set
# CONFIG_PKG_USING_GD32_ARM_SERIES_DRIVER is not set
# end of GD32 Drivers
#
# HPMicro SDK
#
CONFIG_PKG_USING_HPM_SDK=y
CONFIG_PKG_HPM_SDK_PATH="/packages/peripherals/hal-sdk/hpmicro/hpm_sdk"
CONFIG_PKG_USING_HPM_SDK_V110=y
# CONFIG_PKG_USING_HPM_SDK_LATEST_VERSION is not set
CONFIG_PKG_HPM_SDK_VER="v1.10.0"
# end of HPMicro SDK
# end of HAL & SDK Drivers
#
@@ -935,7 +923,6 @@ CONFIG_PKG_HPM_SDK_VER="v1.10.0"
# CONFIG_PKG_USING_MLX90393 is not set
# CONFIG_PKG_USING_MLX90392 is not set
# CONFIG_PKG_USING_MLX90394 is not set
# CONFIG_PKG_USING_MLX90396 is not set
# CONFIG_PKG_USING_MLX90397 is not set
# CONFIG_PKG_USING_MS5611 is not set
# CONFIG_PKG_USING_MAX31865 is not set

View File

@@ -311,12 +311,6 @@
/* GD32 Drivers */
/* end of GD32 Drivers */
/* HPMicro SDK */
#define PKG_USING_HPM_SDK
#define PKG_USING_HPM_SDK_V110
/* end of HPMicro SDK */
/* end of HAL & SDK Drivers */
/* sensors drivers */

View File

@@ -78,8 +78,6 @@ if CROSS_TOOL == 'gcc':
PLATFORM = 'gcc'
if os.getenv('RTT_RISCV_TOOLCHAIN'):
EXEC_PATH = os.getenv('RTT_RISCV_TOOLCHAIN')
elif RTT_EXEC_PATH:
EXEC_PATH = RTT_EXEC_PATH
else:
EXEC_PATH = r'/opt/riscv-gnu-gcc/bin'
else:

View File

@@ -624,7 +624,6 @@ CONFIG_RT_LIBC_TZ_DEFAULT_SEC=0
# CONFIG_PKG_USING_RVBACKTRACE is not set
# CONFIG_PKG_USING_HPATCHLITE is not set
# CONFIG_PKG_USING_THREAD_METRIC is not set
# CONFIG_PKG_USING_UORB is not set
# end of tools packages
#
@@ -719,7 +718,6 @@ CONFIG_RT_LIBC_TZ_DEFAULT_SEC=0
# CONFIG_PKG_USING_R_RHEALSTONE is not set
# CONFIG_PKG_USING_HEARTBEAT is not set
# CONFIG_PKG_USING_MICRO_ROS_RTTHREAD_PACKAGE is not set
# CONFIG_PKG_USING_CHERRYECAT is not set
# end of system packages
#
@@ -877,16 +875,6 @@ CONFIG_RT_LIBC_TZ_DEFAULT_SEC=0
# CONFIG_PKG_USING_GD32_ARM_CMSIS_DRIVER is not set
# CONFIG_PKG_USING_GD32_ARM_SERIES_DRIVER is not set
# end of GD32 Drivers
#
# HPMicro SDK
#
CONFIG_PKG_USING_HPM_SDK=y
CONFIG_PKG_HPM_SDK_PATH="/packages/peripherals/hal-sdk/hpmicro/hpm_sdk"
CONFIG_PKG_USING_HPM_SDK_V110=y
# CONFIG_PKG_USING_HPM_SDK_LATEST_VERSION is not set
CONFIG_PKG_HPM_SDK_VER="v1.10.0"
# end of HPMicro SDK
# end of HAL & SDK Drivers
#
@@ -935,7 +923,6 @@ CONFIG_PKG_HPM_SDK_VER="v1.10.0"
# CONFIG_PKG_USING_MLX90393 is not set
# CONFIG_PKG_USING_MLX90392 is not set
# CONFIG_PKG_USING_MLX90394 is not set
# CONFIG_PKG_USING_MLX90396 is not set
# CONFIG_PKG_USING_MLX90397 is not set
# CONFIG_PKG_USING_MS5611 is not set
# CONFIG_PKG_USING_MAX31865 is not set

View File

@@ -312,12 +312,6 @@
/* GD32 Drivers */
/* end of GD32 Drivers */
/* HPMicro SDK */
#define PKG_USING_HPM_SDK
#define PKG_USING_HPM_SDK_V110
/* end of HPMicro SDK */
/* end of HAL & SDK Drivers */
/* sensors drivers */

View File

@@ -78,8 +78,6 @@ if CROSS_TOOL == 'gcc':
PLATFORM = 'gcc'
if os.getenv('RTT_RISCV_TOOLCHAIN'):
EXEC_PATH = os.getenv('RTT_RISCV_TOOLCHAIN')
elif RTT_EXEC_PATH:
EXEC_PATH = RTT_EXEC_PATH
else:
EXEC_PATH = r'/opt/riscv-gnu-gcc/bin'
else:

View File

@@ -624,7 +624,6 @@ CONFIG_RT_LIBC_TZ_DEFAULT_SEC=0
# CONFIG_PKG_USING_RVBACKTRACE is not set
# CONFIG_PKG_USING_HPATCHLITE is not set
# CONFIG_PKG_USING_THREAD_METRIC is not set
# CONFIG_PKG_USING_UORB is not set
# end of tools packages
#
@@ -719,7 +718,6 @@ CONFIG_RT_LIBC_TZ_DEFAULT_SEC=0
# CONFIG_PKG_USING_R_RHEALSTONE is not set
# CONFIG_PKG_USING_HEARTBEAT is not set
# CONFIG_PKG_USING_MICRO_ROS_RTTHREAD_PACKAGE is not set
# CONFIG_PKG_USING_CHERRYECAT is not set
# end of system packages
#
@@ -877,16 +875,6 @@ CONFIG_RT_LIBC_TZ_DEFAULT_SEC=0
# CONFIG_PKG_USING_GD32_ARM_CMSIS_DRIVER is not set
# CONFIG_PKG_USING_GD32_ARM_SERIES_DRIVER is not set
# end of GD32 Drivers
#
# HPMicro SDK
#
CONFIG_PKG_USING_HPM_SDK=y
CONFIG_PKG_HPM_SDK_PATH="/packages/peripherals/hal-sdk/hpmicro/hpm_sdk"
CONFIG_PKG_USING_HPM_SDK_V110=y
# CONFIG_PKG_USING_HPM_SDK_LATEST_VERSION is not set
CONFIG_PKG_HPM_SDK_VER="v1.10.0"
# end of HPMicro SDK
# end of HAL & SDK Drivers
#
@@ -935,7 +923,6 @@ CONFIG_PKG_HPM_SDK_VER="v1.10.0"
# CONFIG_PKG_USING_MLX90393 is not set
# CONFIG_PKG_USING_MLX90392 is not set
# CONFIG_PKG_USING_MLX90394 is not set
# CONFIG_PKG_USING_MLX90396 is not set
# CONFIG_PKG_USING_MLX90397 is not set
# CONFIG_PKG_USING_MS5611 is not set
# CONFIG_PKG_USING_MAX31865 is not set

View File

@@ -311,12 +311,6 @@
/* GD32 Drivers */
/* end of GD32 Drivers */
/* HPMicro SDK */
#define PKG_USING_HPM_SDK
#define PKG_USING_HPM_SDK_V110
/* end of HPMicro SDK */
/* end of HAL & SDK Drivers */
/* sensors drivers */

View File

@@ -78,8 +78,6 @@ if CROSS_TOOL == 'gcc':
PLATFORM = 'gcc'
if os.getenv('RTT_RISCV_TOOLCHAIN'):
EXEC_PATH = os.getenv('RTT_RISCV_TOOLCHAIN')
elif RTT_EXEC_PATH:
EXEC_PATH = RTT_EXEC_PATH
else:
EXEC_PATH = r'/opt/riscv-gnu-gcc/bin'
else:

View File

@@ -626,7 +626,6 @@ CONFIG_RT_LIBC_TZ_DEFAULT_SEC=0
# CONFIG_PKG_USING_RVBACKTRACE is not set
# CONFIG_PKG_USING_HPATCHLITE is not set
# CONFIG_PKG_USING_THREAD_METRIC is not set
# CONFIG_PKG_USING_UORB is not set
# end of tools packages
#
@@ -721,7 +720,6 @@ CONFIG_RT_LIBC_TZ_DEFAULT_SEC=0
# CONFIG_PKG_USING_R_RHEALSTONE is not set
# CONFIG_PKG_USING_HEARTBEAT is not set
# CONFIG_PKG_USING_MICRO_ROS_RTTHREAD_PACKAGE is not set
# CONFIG_PKG_USING_CHERRYECAT is not set
# end of system packages
#
@@ -879,16 +877,6 @@ CONFIG_RT_LIBC_TZ_DEFAULT_SEC=0
# CONFIG_PKG_USING_GD32_ARM_CMSIS_DRIVER is not set
# CONFIG_PKG_USING_GD32_ARM_SERIES_DRIVER is not set
# end of GD32 Drivers
#
# HPMicro SDK
#
CONFIG_PKG_USING_HPM_SDK=y
CONFIG_PKG_HPM_SDK_PATH="/packages/peripherals/hal-sdk/hpmicro/hpm_sdk"
CONFIG_PKG_USING_HPM_SDK_V110=y
# CONFIG_PKG_USING_HPM_SDK_LATEST_VERSION is not set
CONFIG_PKG_HPM_SDK_VER="v1.10.0"
# end of HPMicro SDK
# end of HAL & SDK Drivers
#
@@ -937,7 +925,6 @@ CONFIG_PKG_HPM_SDK_VER="v1.10.0"
# CONFIG_PKG_USING_MLX90393 is not set
# CONFIG_PKG_USING_MLX90392 is not set
# CONFIG_PKG_USING_MLX90394 is not set
# CONFIG_PKG_USING_MLX90396 is not set
# CONFIG_PKG_USING_MLX90397 is not set
# CONFIG_PKG_USING_MS5611 is not set
# CONFIG_PKG_USING_MAX31865 is not set

View File

@@ -312,12 +312,6 @@
/* GD32 Drivers */
/* end of GD32 Drivers */
/* HPMicro SDK */
#define PKG_USING_HPM_SDK
#define PKG_USING_HPM_SDK_V110
/* end of HPMicro SDK */
/* end of HAL & SDK Drivers */
/* sensors drivers */

View File

@@ -78,8 +78,6 @@ if CROSS_TOOL == 'gcc':
PLATFORM = 'gcc'
if os.getenv('RTT_RISCV_TOOLCHAIN'):
EXEC_PATH = os.getenv('RTT_RISCV_TOOLCHAIN')
elif RTT_EXEC_PATH:
EXEC_PATH = RTT_EXEC_PATH
else:
EXEC_PATH = r'/opt/riscv-gnu-gcc/bin'
else:

View File

@@ -623,7 +623,6 @@ CONFIG_RT_LIBC_TZ_DEFAULT_SEC=0
# CONFIG_PKG_USING_RVBACKTRACE is not set
# CONFIG_PKG_USING_HPATCHLITE is not set
# CONFIG_PKG_USING_THREAD_METRIC is not set
# CONFIG_PKG_USING_UORB is not set
# end of tools packages
#
@@ -718,7 +717,6 @@ CONFIG_RT_LIBC_TZ_DEFAULT_SEC=0
# CONFIG_PKG_USING_R_RHEALSTONE is not set
# CONFIG_PKG_USING_HEARTBEAT is not set
# CONFIG_PKG_USING_MICRO_ROS_RTTHREAD_PACKAGE is not set
# CONFIG_PKG_USING_CHERRYECAT is not set
# end of system packages
#
@@ -875,16 +873,6 @@ CONFIG_RT_LIBC_TZ_DEFAULT_SEC=0
# CONFIG_PKG_USING_GD32_ARM_CMSIS_DRIVER is not set
# CONFIG_PKG_USING_GD32_ARM_SERIES_DRIVER is not set
# end of GD32 Drivers
#
# HPMicro SDK
#
CONFIG_PKG_USING_HPM_SDK=y
CONFIG_PKG_HPM_SDK_PATH="/packages/peripherals/hal-sdk/hpmicro/hpm_sdk"
CONFIG_PKG_USING_HPM_SDK_V110=y
# CONFIG_PKG_USING_HPM_SDK_LATEST_VERSION is not set
CONFIG_PKG_HPM_SDK_VER="v1.10.0"
# end of HPMicro SDK
# end of HAL & SDK Drivers
#
@@ -933,7 +921,6 @@ CONFIG_PKG_HPM_SDK_VER="v1.10.0"
# CONFIG_PKG_USING_MLX90393 is not set
# CONFIG_PKG_USING_MLX90392 is not set
# CONFIG_PKG_USING_MLX90394 is not set
# CONFIG_PKG_USING_MLX90396 is not set
# CONFIG_PKG_USING_MLX90397 is not set
# CONFIG_PKG_USING_MS5611 is not set
# CONFIG_PKG_USING_MAX31865 is not set
@@ -1422,7 +1409,7 @@ CONFIG_BSP_UART0_TX_BUFSIZE=0
# CONFIG_BSP_USING_PDMA is not set
# CONFIG_BSP_USING_GPTMR is not set
# CONFIG_BSP_USING_I2C is not set
CONFIG_BSP_USING_FEMC=y
# CONFIG_BSP_USING_FEMC is not set
CONFIG_INIT_EXT_RAM_FOR_DATA=y
# CONFIG_BSP_USING_XPI_FLASH is not set
# CONFIG_BSP_USING_PWM is not set

View File

@@ -310,12 +310,6 @@
/* GD32 Drivers */
/* end of GD32 Drivers */
/* HPMicro SDK */
#define PKG_USING_HPM_SDK
#define PKG_USING_HPM_SDK_V110
/* end of HPMicro SDK */
/* end of HAL & SDK Drivers */
/* sensors drivers */
@@ -407,7 +401,6 @@
#define BSP_USING_UART0
#define BSP_UART0_RX_BUFSIZE 128
#define BSP_UART0_TX_BUFSIZE 0
#define BSP_USING_FEMC
#define INIT_EXT_RAM_FOR_DATA
/* end of On-chip Peripheral Drivers */
/* end of Hardware Drivers Config */

View File

@@ -78,8 +78,6 @@ if CROSS_TOOL == 'gcc':
PLATFORM = 'gcc'
if os.getenv('RTT_RISCV_TOOLCHAIN'):
EXEC_PATH = os.getenv('RTT_RISCV_TOOLCHAIN')
elif RTT_EXEC_PATH:
EXEC_PATH = RTT_EXEC_PATH
else:
EXEC_PATH = r'/opt/riscv-gnu-gcc/bin'
else:

View File

@@ -651,7 +651,6 @@ CONFIG_RT_USING_POSIX_POLL=y
# CONFIG_PKG_USING_RVBACKTRACE is not set
# CONFIG_PKG_USING_HPATCHLITE is not set
# CONFIG_PKG_USING_THREAD_METRIC is not set
# CONFIG_PKG_USING_UORB is not set
# end of tools packages
#
@@ -746,7 +745,6 @@ CONFIG_RT_USING_POSIX_POLL=y
# CONFIG_PKG_USING_R_RHEALSTONE is not set
# CONFIG_PKG_USING_HEARTBEAT is not set
# CONFIG_PKG_USING_MICRO_ROS_RTTHREAD_PACKAGE is not set
# CONFIG_PKG_USING_CHERRYECAT is not set
# end of system packages
#
@@ -904,16 +902,6 @@ CONFIG_RT_USING_POSIX_POLL=y
# CONFIG_PKG_USING_GD32_ARM_CMSIS_DRIVER is not set
# CONFIG_PKG_USING_GD32_ARM_SERIES_DRIVER is not set
# end of GD32 Drivers
#
# HPMicro SDK
#
CONFIG_PKG_USING_HPM_SDK=y
CONFIG_PKG_HPM_SDK_PATH="/packages/peripherals/hal-sdk/hpmicro/hpm_sdk"
CONFIG_PKG_USING_HPM_SDK_V110=y
# CONFIG_PKG_USING_HPM_SDK_LATEST_VERSION is not set
CONFIG_PKG_HPM_SDK_VER="v1.10.0"
# end of HPMicro SDK
# end of HAL & SDK Drivers
#
@@ -962,7 +950,6 @@ CONFIG_PKG_HPM_SDK_VER="v1.10.0"
# CONFIG_PKG_USING_MLX90393 is not set
# CONFIG_PKG_USING_MLX90392 is not set
# CONFIG_PKG_USING_MLX90394 is not set
# CONFIG_PKG_USING_MLX90396 is not set
# CONFIG_PKG_USING_MLX90397 is not set
# CONFIG_PKG_USING_MS5611 is not set
# CONFIG_PKG_USING_MAX31865 is not set

View File

@@ -323,12 +323,6 @@
/* GD32 Drivers */
/* end of GD32 Drivers */
/* HPMicro SDK */
#define PKG_USING_HPM_SDK
#define PKG_USING_HPM_SDK_V110
/* end of HPMicro SDK */
/* end of HAL & SDK Drivers */
/* sensors drivers */

View File

@@ -78,8 +78,6 @@ if CROSS_TOOL == 'gcc':
PLATFORM = 'gcc'
if os.getenv('RTT_RISCV_TOOLCHAIN'):
EXEC_PATH = os.getenv('RTT_RISCV_TOOLCHAIN')
elif RTT_EXEC_PATH:
EXEC_PATH = RTT_EXEC_PATH
else:
EXEC_PATH = r'/opt/riscv-gnu-gcc/bin'
else:

View File

@@ -627,7 +627,6 @@ CONFIG_RT_LIBC_TZ_DEFAULT_SEC=0
# CONFIG_PKG_USING_RVBACKTRACE is not set
# CONFIG_PKG_USING_HPATCHLITE is not set
# CONFIG_PKG_USING_THREAD_METRIC is not set
# CONFIG_PKG_USING_UORB is not set
# end of tools packages
#
@@ -722,7 +721,6 @@ CONFIG_RT_LIBC_TZ_DEFAULT_SEC=0
# CONFIG_PKG_USING_R_RHEALSTONE is not set
# CONFIG_PKG_USING_HEARTBEAT is not set
# CONFIG_PKG_USING_MICRO_ROS_RTTHREAD_PACKAGE is not set
# CONFIG_PKG_USING_CHERRYECAT is not set
# end of system packages
#
@@ -880,16 +878,6 @@ CONFIG_RT_LIBC_TZ_DEFAULT_SEC=0
# CONFIG_PKG_USING_GD32_ARM_CMSIS_DRIVER is not set
# CONFIG_PKG_USING_GD32_ARM_SERIES_DRIVER is not set
# end of GD32 Drivers
#
# HPMicro SDK
#
CONFIG_PKG_USING_HPM_SDK=y
CONFIG_PKG_HPM_SDK_PATH="/packages/peripherals/hal-sdk/hpmicro/hpm_sdk"
CONFIG_PKG_USING_HPM_SDK_V110=y
# CONFIG_PKG_USING_HPM_SDK_LATEST_VERSION is not set
CONFIG_PKG_HPM_SDK_VER="v1.10.0"
# end of HPMicro SDK
# end of HAL & SDK Drivers
#
@@ -938,7 +926,6 @@ CONFIG_PKG_HPM_SDK_VER="v1.10.0"
# CONFIG_PKG_USING_MLX90393 is not set
# CONFIG_PKG_USING_MLX90392 is not set
# CONFIG_PKG_USING_MLX90394 is not set
# CONFIG_PKG_USING_MLX90396 is not set
# CONFIG_PKG_USING_MLX90397 is not set
# CONFIG_PKG_USING_MS5611 is not set
# CONFIG_PKG_USING_MAX31865 is not set

View File

@@ -312,12 +312,6 @@
/* GD32 Drivers */
/* end of GD32 Drivers */
/* HPMicro SDK */
#define PKG_USING_HPM_SDK
#define PKG_USING_HPM_SDK_V110
/* end of HPMicro SDK */
/* end of HAL & SDK Drivers */
/* sensors drivers */

View File

@@ -78,8 +78,6 @@ if CROSS_TOOL == 'gcc':
PLATFORM = 'gcc'
if os.getenv('RTT_RISCV_TOOLCHAIN'):
EXEC_PATH = os.getenv('RTT_RISCV_TOOLCHAIN')
elif RTT_EXEC_PATH:
EXEC_PATH = RTT_EXEC_PATH
else:
EXEC_PATH = r'/opt/riscv-gnu-gcc/bin'
else:

View File

@@ -628,7 +628,6 @@ CONFIG_RT_LIBC_TZ_DEFAULT_SEC=0
# CONFIG_PKG_USING_RVBACKTRACE is not set
# CONFIG_PKG_USING_HPATCHLITE is not set
# CONFIG_PKG_USING_THREAD_METRIC is not set
# CONFIG_PKG_USING_UORB is not set
# end of tools packages
#
@@ -723,7 +722,6 @@ CONFIG_RT_LIBC_TZ_DEFAULT_SEC=0
# CONFIG_PKG_USING_R_RHEALSTONE is not set
# CONFIG_PKG_USING_HEARTBEAT is not set
# CONFIG_PKG_USING_MICRO_ROS_RTTHREAD_PACKAGE is not set
# CONFIG_PKG_USING_CHERRYECAT is not set
# end of system packages
#
@@ -881,16 +879,6 @@ CONFIG_RT_LIBC_TZ_DEFAULT_SEC=0
# CONFIG_PKG_USING_GD32_ARM_CMSIS_DRIVER is not set
# CONFIG_PKG_USING_GD32_ARM_SERIES_DRIVER is not set
# end of GD32 Drivers
#
# HPMicro SDK
#
CONFIG_PKG_USING_HPM_SDK=y
CONFIG_PKG_HPM_SDK_PATH="/packages/peripherals/hal-sdk/hpmicro/hpm_sdk"
CONFIG_PKG_USING_HPM_SDK_V110=y
# CONFIG_PKG_USING_HPM_SDK_LATEST_VERSION is not set
CONFIG_PKG_HPM_SDK_VER="v1.10.0"
# end of HPMicro SDK
# end of HAL & SDK Drivers
#
@@ -939,7 +927,6 @@ CONFIG_PKG_HPM_SDK_VER="v1.10.0"
# CONFIG_PKG_USING_MLX90393 is not set
# CONFIG_PKG_USING_MLX90392 is not set
# CONFIG_PKG_USING_MLX90394 is not set
# CONFIG_PKG_USING_MLX90396 is not set
# CONFIG_PKG_USING_MLX90397 is not set
# CONFIG_PKG_USING_MS5611 is not set
# CONFIG_PKG_USING_MAX31865 is not set

View File

@@ -315,12 +315,6 @@
/* GD32 Drivers */
/* end of GD32 Drivers */
/* HPMicro SDK */
#define PKG_USING_HPM_SDK
#define PKG_USING_HPM_SDK_V110
/* end of HPMicro SDK */
/* end of HAL & SDK Drivers */
/* sensors drivers */

View File

@@ -78,8 +78,6 @@ if CROSS_TOOL == 'gcc':
PLATFORM = 'gcc'
if os.getenv('RTT_RISCV_TOOLCHAIN'):
EXEC_PATH = os.getenv('RTT_RISCV_TOOLCHAIN')
elif RTT_EXEC_PATH:
EXEC_PATH = RTT_EXEC_PATH
else:
EXEC_PATH = r'/opt/riscv-gnu-gcc/bin'
else:

View File

@@ -624,7 +624,6 @@ CONFIG_RT_LIBC_TZ_DEFAULT_SEC=0
# CONFIG_PKG_USING_RVBACKTRACE is not set
# CONFIG_PKG_USING_HPATCHLITE is not set
# CONFIG_PKG_USING_THREAD_METRIC is not set
# CONFIG_PKG_USING_UORB is not set
# end of tools packages
#
@@ -719,7 +718,6 @@ CONFIG_RT_LIBC_TZ_DEFAULT_SEC=0
# CONFIG_PKG_USING_R_RHEALSTONE is not set
# CONFIG_PKG_USING_HEARTBEAT is not set
# CONFIG_PKG_USING_MICRO_ROS_RTTHREAD_PACKAGE is not set
# CONFIG_PKG_USING_CHERRYECAT is not set
# end of system packages
#
@@ -877,16 +875,6 @@ CONFIG_RT_LIBC_TZ_DEFAULT_SEC=0
# CONFIG_PKG_USING_GD32_ARM_CMSIS_DRIVER is not set
# CONFIG_PKG_USING_GD32_ARM_SERIES_DRIVER is not set
# end of GD32 Drivers
#
# HPMicro SDK
#
CONFIG_PKG_USING_HPM_SDK=y
CONFIG_PKG_HPM_SDK_PATH="/packages/peripherals/hal-sdk/hpmicro/hpm_sdk"
CONFIG_PKG_USING_HPM_SDK_V110=y
# CONFIG_PKG_USING_HPM_SDK_LATEST_VERSION is not set
CONFIG_PKG_HPM_SDK_VER="v1.10.0"
# end of HPMicro SDK
# end of HAL & SDK Drivers
#
@@ -935,7 +923,6 @@ CONFIG_PKG_HPM_SDK_VER="v1.10.0"
# CONFIG_PKG_USING_MLX90393 is not set
# CONFIG_PKG_USING_MLX90392 is not set
# CONFIG_PKG_USING_MLX90394 is not set
# CONFIG_PKG_USING_MLX90396 is not set
# CONFIG_PKG_USING_MLX90397 is not set
# CONFIG_PKG_USING_MS5611 is not set
# CONFIG_PKG_USING_MAX31865 is not set

View File

@@ -311,12 +311,6 @@
/* GD32 Drivers */
/* end of GD32 Drivers */
/* HPMicro SDK */
#define PKG_USING_HPM_SDK
#define PKG_USING_HPM_SDK_V110
/* end of HPMicro SDK */
/* end of HAL & SDK Drivers */
/* sensors drivers */

View File

@@ -78,8 +78,6 @@ if CROSS_TOOL == 'gcc':
PLATFORM = 'gcc'
if os.getenv('RTT_RISCV_TOOLCHAIN'):
EXEC_PATH = os.getenv('RTT_RISCV_TOOLCHAIN')
elif RTT_EXEC_PATH:
EXEC_PATH = RTT_EXEC_PATH
else:
EXEC_PATH = r'/opt/riscv-gnu-gcc/bin'
else:

Some files were not shown because too many files have changed in this diff Show More