This repository contains Arduino framework for the HUADA HC32F460 Series, for use with PlatformIO and the hc32f46x platform.
Note
while the primary use-case of this framework is for use with Marlin, other use-cases should work too.
to get started using the HC32F460 Arduino core, use the following in your platformio.ini
:
current development version:
[env:my_env]
platform = https://github.com/shadow578/platform-hc32f46x.git
framework = arduino
board = generic_hc32f460
latest release versions:
[env:my_env]
platform = https://github.com/shadow578/platform-hc32f46x/archive/1.0.0.zip
platform_packages =
framework-hc32f46x-ddl @ https://github.com/shadow578/framework-hc32f46x-ddl/archive/2.2.1.zip
framework-arduino-hc32f46x @ https://github.com/shadow578/framework-arduino-hc32f46x/archive/1.1.0.zip
framework = arduino
board = generic_hc32f460
Tip
when pinning the version, check you're using the latest release(s) to benefit from the latest improvements.
usage examples are available in the examples directory.
for documentation on configuration and non-standard features, see following documents:
- Arduino Core Configuration Options
- Checking the Version
- Dynamic Core Configuration
- Assert Mechanism
- Panic Mechanism
- Fault Handler
this project is licensed under the GPL-3.0 license.
This project could not have been possible without the following projects:
- Voxelab-64/Aquila_X2 (original implementation)
- kgoveas/Arduino-Core-Template (template for Arduino headers)
- stm32duino/Arduino_Core_STM32 (misc. Arduino functions)