这是indexloc提供的服务,不要输入任何密码
Skip to content

Add HC32F46x support (Aquila X2 HC32 boards) #859

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Conversation

classicrocker883
Copy link

Description

https://github.com/shadow578/Marlin-H32

Requirements

Benefits

Configurations

Related Issues

mriscoc and others added 10 commits March 12, 2023 12:54
- Fix mriscoc#742
- Increased the number of sorted files to 50
- Preview works in DWIN and DACAI screens (selected automatically, S1 F4 preview supports only DACAI screens in the precompiled firmware)
- Fix C125 issue: mriscoc#667
- Power outage recovery can be enabled/disabled in tune menu
- Improved power outage recovery
- Added Extrude 100 mm to Move menu for aid with extruder calibration
- Optimize print percent and remain time to use Marlin's processing
- Decrease HOTEND_IDLE_MIN_TRIGGER to 150
- Removed forcing automatic cool down and motor disable
- Axes are not immediately disabled after abort print, now using timeout.
- Allows enable/disable file list sorting if MEDIASORT_MENU_ITEM is defined
- Enable/Disable tune menu items: RUNOUT_TUNE_ITEM, PLR_TUNE_ITEM, JD_TUNE_ITEM, ADVK_TUNE_ITEM
- Use LCD_BED_TRAMMING settings for bed tramming
- Some fixes in source code for special configurations
- Several minor fixes
- Marlin'sFix UBL 'G29 J' mesh tilt (#25453)
- Marlin's Enhanced IS and LA
- Marlin's Fix FastPWM calculations (#25343)
- Marlin's AVOID_OBSTACLES for UBL (#25256)
- and many more fixes from latest Marlin's bugfix 2.1.x
@mriscoc mriscoc added the enhancement New feature or request label Apr 16, 2023
@mriscoc
Copy link
Owner

mriscoc commented May 3, 2023

@classicrocker883 is this PR ready to be merged? I don't have the printer/board to do the respective test.

@classicrocker883
Copy link
Author

i would say yes you can merge, however there may be a couple extra changes before you do, ill post them.

@classicrocker883
Copy link
Author

ok i posted everything. however if you do update to more recent Marlin version, there is an additional change needed in /src/module/stepper.cpp, under hal_timer_t Stepper::calc_timer_interval

  #ifdef CPU_32_BIT

    // A fast processor can just do integer division
    TERN(TARGET_HC32F46x, const, constexpr) uint32_t min_step_rate = uint32_t(STEPPER_TIMER_RATE) / HAL_TIMER_TYPE_MAX;
    return step_rate > min_step_rate ? uint32_t(STEPPER_TIMER_RATE) / step_rate : HAL_TIMER_TYPE_MAX;

  #else

@mriscoc
Copy link
Owner

mriscoc commented May 7, 2023

ok i posted everything. however if you do update to more recent Marlin version, there is an additional change needed in /src/module/stepper.cpp, under hal_timer_t Stepper::calc_timer_interval

Hmm ok, maybe it's better to wait. I have a new version coming soon, it is based on a recent Marlin bug fix and will have a lot of changes because it integrates support for the CV laser module.

@mriscoc mriscoc force-pushed the Ender3V2S1-Released branch from 229ea2d to 3d74ebc Compare May 22, 2023 16:42
@classicrocker883 classicrocker883 deleted the branch mriscoc:Ender3V2S1-Released May 23, 2023 08:47
@classicrocker883 classicrocker883 deleted the Ender3V2S1-Released branch May 23, 2023 08:47
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants