forked from MarlinFirmware/Marlin
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
commit 02ba6f9 Author: thinkyhead <[email protected]> Date: Fri Apr 19 00:21:25 2024 +0000 [cron] Bump distribution date (2024-04-19) commit dba0010 Author: Andrew <[email protected]> Date: Thu Apr 18 19:04:03 2024 -0400 🎨 Rename some G-code files (MarlinFirmware#26981) commit 90667f6 Author: I3DBeeTech <[email protected]> Date: Fri Apr 19 02:24:17 2024 +0530 🐛 Fix BLACKBEEZMINI fan, info (MarlinFirmware#26983) commit d6961b2 Author: thinkyhead <[email protected]> Date: Wed Apr 17 06:06:51 2024 +0000 [cron] Bump distribution date (2024-04-17) commit 07ebb81 Author: Javlon Sodikov <[email protected]> Date: Wed Apr 17 10:25:22 2024 +0500 🩹Fix ProUI error when !CASELIGHT_USES_BRIGHTNESS (MarlinFirmware#26976) * Fix the compile error with the case light menu Fix the compile error with the case light menu * Add failing test --------- Co-authored-by: Jason Smith <[email protected]> commit 245db73 Author: thinkyhead <[email protected]> Date: Tue Apr 16 18:06:16 2024 +0000 [cron] Bump distribution date (2024-04-16) commit 9342dae Author: Scott Lahteine <[email protected]> Date: Tue Apr 16 12:17:47 2024 -0500 📝 Remove dead PDF links commit 1f84f50 Author: thinkyhead <[email protected]> Date: Mon Apr 15 02:38:10 2024 +0000 [cron] Bump distribution date (2024-04-15) commit 3326c74 Author: Scott Lahteine <[email protected]> Date: Sun Apr 14 16:26:16 2024 -0500 📝 Minor README changes commit 0269106 Author: Scott Lahteine <[email protected]> Date: Sun Apr 14 16:24:14 2024 -0500 🎨 Dagoma D6 followup commit 95d38a8 Author: Sophist <[email protected]> Date: Sun Apr 14 21:04:52 2024 +0100 ✨ Add Dagoma D6 as found in DiscoUltimate v2 TMC (MarlinFirmware#26874) * Add Dagoma D6 board as used in their DiscoUltimate v2 TMC. Taken from the Dagoma fork of Marlin DU_MC branch where it is called FYSETC_DAGOMA_F5 and explicitly confirmed by Dagoma as being the D6: "the BOARD_FYSETC_DAGOMA_F5 is effectively the definition for the D6" --------- Co-authored-by: thisiskeithb <[email protected]> Co-authored-by: Orel <[email protected]> commit dca6afc Author: Chris <[email protected]> Date: Sun Apr 14 20:42:57 2024 +0200 ✨🐛 HC32 - Add SERIAL_DMA, fix SDIO and MEATPACK (MarlinFirmware#26845) * fix meatpack on hc32 * add support for SERIAL_DMA on HC32 * add additional checks in HC32 HAL * migrate HC32 HAL to use app_config.h * fix memory leak in HC32 sdio HAL MarlinFirmware#26845 (comment) * hc32: fail if both EMERGENCY_PARSER and SERIAL_DMA are enabled commit 19684f2 Author: Jason Smith <[email protected]> Date: Sat Apr 13 17:49:08 2024 -0700 ✅ Add unit tests for macros.h (MarlinFirmware#26968) commit 52a5613 Author: Keith Bennett <[email protected]> Date: Sat Apr 13 17:47:16 2024 -0700 ⏪️ Revert unintended README changes (MarlinFirmware#26967) * Revert all the changes that went in with the unit test framework This restored broken links and other changes. Restoring to the prior revision seems the most appropriate action until the intentions of those file changes are known. --------- Co-authored-by: Jason Smith <[email protected]> commit 0683e8a Author: thinkyhead <[email protected]> Date: Sun Apr 14 00:24:15 2024 +0000 [cron] Bump distribution date (2024-04-14) commit 1bb4a04 Author: Jason Smith <[email protected]> Date: Sat Apr 13 14:11:51 2024 -0700 ✅Unit test improvements (MarlinFirmware#26965) * Do not warn about display in unit tests * Treat warnings as errors in unit tests * Report actual filenames with unit tests commit d10861e Author: Jason Smith <[email protected]> Date: Sat Apr 13 12:06:08 2024 -0700 ✅ Add unit testing framework (MarlinFirmware#26948) - Add a framework to build and execute unit tests for Marlin. - Enable unit test execution as part of PR checks. --------- Co-authored-by: Costas Basdekis <[email protected]> Co-authored-by: Scott Lahteine <[email protected]> commit cf7c86d Author: Andrew <[email protected]> Date: Sat Apr 13 14:59:59 2024 -0400 🔧Fix M936 in features.ini (MarlinFirmware#26957) commit d99e150 Author: David Buezas <[email protected]> Date: Sat Apr 13 18:54:25 2024 +0200 ⚡️Reduce DISPLAY_SLEEP_MINUTES overhead (MarlinFirmware#26964)
- Loading branch information
Showing
125 changed files
with
2,410 additions
and
389 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,73 @@ | ||
# | ||
# ci-unit-tests.yml | ||
# Build and execute unit tests to catch functional issues in code | ||
# | ||
|
||
name: CI - Unit Tests | ||
|
||
on: | ||
pull_request: | ||
branches: | ||
- bugfix-2.1.x | ||
# Cannot be enabled on 2.1.x until it contains the unit test framework | ||
#- 2.1.x | ||
paths-ignore: | ||
- config/** | ||
- data/** | ||
- docs/** | ||
- '**/*.md' | ||
push: | ||
branches: | ||
- bugfix-2.1.x | ||
# Cannot be enabled on 2.1.x until it contains the unit test framework | ||
#- 2.1.x | ||
paths-ignore: | ||
- config/** | ||
- data/** | ||
- docs/** | ||
- '**/*.md' | ||
|
||
jobs: | ||
# This runs all unit tests as a single job. While it should be possible to break this up into | ||
# multiple jobs, they currently run quickly and finish long before the compilation tests. | ||
run_unit_tests: | ||
name: Unit Test | ||
# These tests will only be able to run on the bugfix-2.1.x branch, until the next release | ||
# pulls them into additional branches. | ||
if: github.repository == 'MarlinFirmware/Marlin' | ||
|
||
runs-on: ubuntu-latest | ||
|
||
steps: | ||
- name: Check out the PR | ||
uses: actions/checkout@v4 | ||
|
||
- name: Cache pip | ||
uses: actions/cache@v4 | ||
with: | ||
path: ~/.cache/pip | ||
key: ${{ runner.os }}-pip-${{ hashFiles('**/requirements.txt') }} | ||
restore-keys: | | ||
${{ runner.os }}-pip- | ||
- name: Cache PlatformIO | ||
uses: actions/cache@v4 | ||
with: | ||
path: ~/.platformio | ||
key: ${{ runner.os }}-${{ hashFiles('**/lockfiles') }} | ||
|
||
- name: Select Python 3.9 | ||
uses: actions/setup-python@v5 | ||
with: | ||
python-version: '3.9' | ||
architecture: 'x64' | ||
|
||
- name: Install PlatformIO | ||
run: | | ||
pip install -U platformio | ||
pio upgrade --dev | ||
pio pkg update --global | ||
- name: Run All Unit Tests | ||
run: | | ||
make unit-test-all-local |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,70 @@ | ||
/** | ||
* app_config.h is included by the hc32f460 arduino build script for every source file. | ||
* it is used to configure the arduino core (and ddl) automatically according | ||
* to the settings in Configuration.h and Configuration_adv.h. | ||
*/ | ||
#pragma once | ||
#ifndef _HC32_APP_CONFIG_H_ | ||
#define _HC32_APP_CONFIG_H_ | ||
|
||
#include "../../inc/MarlinConfigPre.h" | ||
|
||
// | ||
// dev mode | ||
// | ||
#if ENABLED(MARLIN_DEV_MODE) | ||
#define __DEBUG 1 | ||
#define __CORE_DEBUG 1 | ||
#endif | ||
|
||
// | ||
// Fault Handlers and Panic | ||
// | ||
|
||
#if ENABLED(POSTMORTEM_DEBUGGING) | ||
// disable arduino core fault handler, as we define our own | ||
#define CORE_DISABLE_FAULT_HANDLER 1 | ||
#endif | ||
|
||
// force-enable panic handler so that we can use our custom one (in MinSerial) | ||
#define PANIC_ENABLE 1 | ||
|
||
// use short filenames in ddl debug and core panic output | ||
#define __DEBUG_SHORT_FILENAMES 1 | ||
#define __PANIC_SHORT_FILENAMES 1 | ||
|
||
// omit panic messages in core panic output | ||
#define __OMIT_PANIC_MESSAGE 1 | ||
|
||
// | ||
// Usart | ||
// | ||
|
||
// disable serial globals (Serial1, Serial2, ...), as we define our own | ||
#define DISABLE_SERIAL_GLOBALS 1 | ||
|
||
// increase the size of the Usart buffers (both RX and TX) | ||
// NOTE: | ||
// the heap usage will increase by (SERIAL_BUFFER_SIZE - 64) * "number of serial ports used" | ||
// if running out of heap, the system may become unstable | ||
//#define SERIAL_BUFFER_SIZE 256 | ||
|
||
// enable support for Usart Clock Divider / Oversampling auto config | ||
#define USART_AUTO_CLKDIV_OS_CONFIG 1 | ||
|
||
// enable USART_RX_DMA_SUPPORT core option when SERIAL_DMA is enabled | ||
#if ENABLED(SERIAL_DMA) | ||
#define USART_RX_DMA_SUPPORT 1 | ||
#endif | ||
|
||
// | ||
// Misc. | ||
// | ||
|
||
// redirect printf to host serial | ||
#define REDIRECT_PRINTF_TO_SERIAL 1 | ||
|
||
// FIXME override F_CPU to PCLK1, as marlin freaks out otherwise | ||
#define F_CPU (SYSTEM_CLOCK_FREQUENCIES.pclk1) | ||
|
||
#endif // _HC32_APP_CONFIG_H_ |
Oops, something went wrong.