Skip to content

Commit 0c7efe7

Browse files
Jake-Cartersihyung-maximVignesh-VVadivelJacob-Scheiffler
authored
fix(Examples, PeriphDrivers): Miscellaneous Bug Fixes from Release Testing (#641)
* Fix context B grayscale bug * Call color correction function from debayering examples * clang-format hm0360_color register table * feat(CMSIS): Add Get DMA Channel IRQ macro for all parts * fix(Examples): Fix MXC_RTC_GetSecond functions in Demo examples * fix(Examples): Fix MXC_RTC_GetSecond functions in Demo examples * fix(Examples): Fix deprecated warnings with RTC SubSecond and Second function in examples * fix memset issue in Wearlevelling * Fix errors in ImgCapture/CameraIF READMEs, clean up documentation * Revert "fix(Examples): Fix deprecated warnings with RTC SubSecond and Second function in examples" - We can't CTRL+F replace these functions, we need to pass in an output pointer for the new ones This reverts commit e795745. * Fix CameraIF NewHaven display bug * MAX78002 CSI2: Fix SRAM initialization lockup (Pending SPI IRQ not cleared) * fix(Examples): Use new Controller terminology in SPI example * (MSDKGen) Explicitly source ~/.zshrc on macOS, update cam01-facedetect_demo project files * Update MacOS make install instructions to explicitly target ~/.zshrc * MAX78000 facial_recognition: Disable TFT by default * Add MAX78000 to list of SDHC supported parts * Fix typo in SDHC libinfo.json * Fix macro cast and buffer index bugs in the Flash example * fix(Examples): Use New get RTC subseconds and seconds functions * Fix MAX78002 CAMERAIF README typos * style(PeriphDrivers): Fix whitespace linter error * clang-format bot reformatting. * Wipe Libraries/PeriphDrivers/bin completely for build tests * Remove some MAX78000 CAM01_RevA warnings --------- Co-authored-by: Sihyung Woo <[email protected]> Co-authored-by: Vignesh-VVadivel <[email protected]> Co-authored-by: Scheiffler <[email protected]> Co-authored-by: sihyung-maxim <[email protected]>
1 parent 3dfff94 commit 0c7efe7

File tree

823 files changed

+8369
-1891
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

823 files changed

+8369
-1891
lines changed

.github/workflows/scripts/build.py

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -7,6 +7,7 @@
77
from rich.console import Console
88
from rich.text import Text
99
import time
10+
import shutil
1011

1112
blacklist = [
1213
"MAX32570",
@@ -94,6 +95,9 @@ def test(maxim_path : Path = None, targets=None, boards=None, projects=None):
9495

9596
console = Console(emoji=False, color_system="standard")
9697

98+
# Remove the periphdrivers build directory
99+
shutil.rmtree(Path(maxim_path) / "Libraries" / "PeriphDrivers" / "bin", ignore_errors=True)
100+
97101
# Get list of target micros if none is specified
98102
if targets is None:
99103
targets = []

Examples/MAX32520/AES/.vscode/tasks.json

Lines changed: 9 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -5,20 +5,29 @@
55
"label": "build",
66
"type": "shell",
77
"command": "make -r -j 8 --output-sync=target --no-print-directory TARGET=${config:target} BOARD=${config:board} MAXIM_PATH=${config:MAXIM_PATH} MAKE=make PROJECT=${config:project_name}",
8+
"osx":{
9+
"command": "source ~/.zshrc && make -r -j 8 --output-sync=target --no-print-directory TARGET=${config:target} BOARD=${config:board} MAXIM_PATH=${config:MAXIM_PATH} MAKE=make PROJECT=${config:project_name}"
10+
},
811
"group": "build",
912
"problemMatcher": []
1013
},
1114
{
1215
"label": "clean",
1316
"type": "shell",
1417
"command": "make -j 8 clean --output-sync=target --no-print-directory TARGET=${config:target} BOARD=${config:board} MAXIM_PATH=${config:MAXIM_PATH} MAKE=make PROJECT=${config:project_name}",
18+
"osx":{
19+
"command": "source ~/.zshrc && make -j 8 clean --output-sync=target --no-print-directory TARGET=${config:target} BOARD=${config:board} MAXIM_PATH=${config:MAXIM_PATH} MAKE=make PROJECT=${config:project_name}"
20+
},
1521
"group": "build",
1622
"problemMatcher": []
1723
},
1824
{
1925
"label": "clean-periph",
2026
"type": "shell",
2127
"command": "make -j 8 distclean --output-sync=target --no-print-directory TARGET=${config:target} BOARD=${config:board} MAXIM_PATH=${config:MAXIM_PATH} MAKE=make PROJECT=${config:project_name}",
28+
"osx":{
29+
"command": "source ~/.zshrc && make -j 8 distclean --output-sync=target --no-print-directory TARGET=${config:target} BOARD=${config:board} MAXIM_PATH=${config:MAXIM_PATH} MAKE=make PROJECT=${config:project_name}"
30+
},
2231
"group": "build",
2332
"problemMatcher": []
2433
},

Examples/MAX32520/ARM-DSP/arm_bayes_example/.vscode/tasks.json

Lines changed: 9 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -5,20 +5,29 @@
55
"label": "build",
66
"type": "shell",
77
"command": "make -r -j 8 --output-sync=target --no-print-directory TARGET=${config:target} BOARD=${config:board} MAXIM_PATH=${config:MAXIM_PATH} MAKE=make PROJECT=${config:project_name}",
8+
"osx":{
9+
"command": "source ~/.zshrc && make -r -j 8 --output-sync=target --no-print-directory TARGET=${config:target} BOARD=${config:board} MAXIM_PATH=${config:MAXIM_PATH} MAKE=make PROJECT=${config:project_name}"
10+
},
811
"group": "build",
912
"problemMatcher": []
1013
},
1114
{
1215
"label": "clean",
1316
"type": "shell",
1417
"command": "make -j 8 clean --output-sync=target --no-print-directory TARGET=${config:target} BOARD=${config:board} MAXIM_PATH=${config:MAXIM_PATH} MAKE=make PROJECT=${config:project_name}",
18+
"osx":{
19+
"command": "source ~/.zshrc && make -j 8 clean --output-sync=target --no-print-directory TARGET=${config:target} BOARD=${config:board} MAXIM_PATH=${config:MAXIM_PATH} MAKE=make PROJECT=${config:project_name}"
20+
},
1521
"group": "build",
1622
"problemMatcher": []
1723
},
1824
{
1925
"label": "clean-periph",
2026
"type": "shell",
2127
"command": "make -j 8 distclean --output-sync=target --no-print-directory TARGET=${config:target} BOARD=${config:board} MAXIM_PATH=${config:MAXIM_PATH} MAKE=make PROJECT=${config:project_name}",
28+
"osx":{
29+
"command": "source ~/.zshrc && make -j 8 distclean --output-sync=target --no-print-directory TARGET=${config:target} BOARD=${config:board} MAXIM_PATH=${config:MAXIM_PATH} MAKE=make PROJECT=${config:project_name}"
30+
},
2231
"group": "build",
2332
"problemMatcher": []
2433
},

Examples/MAX32520/ARM-DSP/arm_class_marks_example/.vscode/tasks.json

Lines changed: 9 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -5,20 +5,29 @@
55
"label": "build",
66
"type": "shell",
77
"command": "make -r -j 8 --output-sync=target --no-print-directory TARGET=${config:target} BOARD=${config:board} MAXIM_PATH=${config:MAXIM_PATH} MAKE=make PROJECT=${config:project_name}",
8+
"osx":{
9+
"command": "source ~/.zshrc && make -r -j 8 --output-sync=target --no-print-directory TARGET=${config:target} BOARD=${config:board} MAXIM_PATH=${config:MAXIM_PATH} MAKE=make PROJECT=${config:project_name}"
10+
},
811
"group": "build",
912
"problemMatcher": []
1013
},
1114
{
1215
"label": "clean",
1316
"type": "shell",
1417
"command": "make -j 8 clean --output-sync=target --no-print-directory TARGET=${config:target} BOARD=${config:board} MAXIM_PATH=${config:MAXIM_PATH} MAKE=make PROJECT=${config:project_name}",
18+
"osx":{
19+
"command": "source ~/.zshrc && make -j 8 clean --output-sync=target --no-print-directory TARGET=${config:target} BOARD=${config:board} MAXIM_PATH=${config:MAXIM_PATH} MAKE=make PROJECT=${config:project_name}"
20+
},
1521
"group": "build",
1622
"problemMatcher": []
1723
},
1824
{
1925
"label": "clean-periph",
2026
"type": "shell",
2127
"command": "make -j 8 distclean --output-sync=target --no-print-directory TARGET=${config:target} BOARD=${config:board} MAXIM_PATH=${config:MAXIM_PATH} MAKE=make PROJECT=${config:project_name}",
28+
"osx":{
29+
"command": "source ~/.zshrc && make -j 8 distclean --output-sync=target --no-print-directory TARGET=${config:target} BOARD=${config:board} MAXIM_PATH=${config:MAXIM_PATH} MAKE=make PROJECT=${config:project_name}"
30+
},
2231
"group": "build",
2332
"problemMatcher": []
2433
},

Examples/MAX32520/ARM-DSP/arm_convolution_example/.vscode/tasks.json

Lines changed: 9 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -5,20 +5,29 @@
55
"label": "build",
66
"type": "shell",
77
"command": "make -r -j 8 --output-sync=target --no-print-directory TARGET=${config:target} BOARD=${config:board} MAXIM_PATH=${config:MAXIM_PATH} MAKE=make PROJECT=${config:project_name}",
8+
"osx":{
9+
"command": "source ~/.zshrc && make -r -j 8 --output-sync=target --no-print-directory TARGET=${config:target} BOARD=${config:board} MAXIM_PATH=${config:MAXIM_PATH} MAKE=make PROJECT=${config:project_name}"
10+
},
811
"group": "build",
912
"problemMatcher": []
1013
},
1114
{
1215
"label": "clean",
1316
"type": "shell",
1417
"command": "make -j 8 clean --output-sync=target --no-print-directory TARGET=${config:target} BOARD=${config:board} MAXIM_PATH=${config:MAXIM_PATH} MAKE=make PROJECT=${config:project_name}",
18+
"osx":{
19+
"command": "source ~/.zshrc && make -j 8 clean --output-sync=target --no-print-directory TARGET=${config:target} BOARD=${config:board} MAXIM_PATH=${config:MAXIM_PATH} MAKE=make PROJECT=${config:project_name}"
20+
},
1521
"group": "build",
1622
"problemMatcher": []
1723
},
1824
{
1925
"label": "clean-periph",
2026
"type": "shell",
2127
"command": "make -j 8 distclean --output-sync=target --no-print-directory TARGET=${config:target} BOARD=${config:board} MAXIM_PATH=${config:MAXIM_PATH} MAKE=make PROJECT=${config:project_name}",
28+
"osx":{
29+
"command": "source ~/.zshrc && make -j 8 distclean --output-sync=target --no-print-directory TARGET=${config:target} BOARD=${config:board} MAXIM_PATH=${config:MAXIM_PATH} MAKE=make PROJECT=${config:project_name}"
30+
},
2231
"group": "build",
2332
"problemMatcher": []
2433
},

Examples/MAX32520/ARM-DSP/arm_dotproduct_example_f32/.vscode/tasks.json

Lines changed: 9 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -5,20 +5,29 @@
55
"label": "build",
66
"type": "shell",
77
"command": "make -r -j 8 --output-sync=target --no-print-directory TARGET=${config:target} BOARD=${config:board} MAXIM_PATH=${config:MAXIM_PATH} MAKE=make PROJECT=${config:project_name}",
8+
"osx":{
9+
"command": "source ~/.zshrc && make -r -j 8 --output-sync=target --no-print-directory TARGET=${config:target} BOARD=${config:board} MAXIM_PATH=${config:MAXIM_PATH} MAKE=make PROJECT=${config:project_name}"
10+
},
811
"group": "build",
912
"problemMatcher": []
1013
},
1114
{
1215
"label": "clean",
1316
"type": "shell",
1417
"command": "make -j 8 clean --output-sync=target --no-print-directory TARGET=${config:target} BOARD=${config:board} MAXIM_PATH=${config:MAXIM_PATH} MAKE=make PROJECT=${config:project_name}",
18+
"osx":{
19+
"command": "source ~/.zshrc && make -j 8 clean --output-sync=target --no-print-directory TARGET=${config:target} BOARD=${config:board} MAXIM_PATH=${config:MAXIM_PATH} MAKE=make PROJECT=${config:project_name}"
20+
},
1521
"group": "build",
1622
"problemMatcher": []
1723
},
1824
{
1925
"label": "clean-periph",
2026
"type": "shell",
2127
"command": "make -j 8 distclean --output-sync=target --no-print-directory TARGET=${config:target} BOARD=${config:board} MAXIM_PATH=${config:MAXIM_PATH} MAKE=make PROJECT=${config:project_name}",
28+
"osx":{
29+
"command": "source ~/.zshrc && make -j 8 distclean --output-sync=target --no-print-directory TARGET=${config:target} BOARD=${config:board} MAXIM_PATH=${config:MAXIM_PATH} MAKE=make PROJECT=${config:project_name}"
30+
},
2231
"group": "build",
2332
"problemMatcher": []
2433
},

Examples/MAX32520/ARM-DSP/arm_fft_bin_example/.vscode/tasks.json

Lines changed: 9 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -5,20 +5,29 @@
55
"label": "build",
66
"type": "shell",
77
"command": "make -r -j 8 --output-sync=target --no-print-directory TARGET=${config:target} BOARD=${config:board} MAXIM_PATH=${config:MAXIM_PATH} MAKE=make PROJECT=${config:project_name}",
8+
"osx":{
9+
"command": "source ~/.zshrc && make -r -j 8 --output-sync=target --no-print-directory TARGET=${config:target} BOARD=${config:board} MAXIM_PATH=${config:MAXIM_PATH} MAKE=make PROJECT=${config:project_name}"
10+
},
811
"group": "build",
912
"problemMatcher": []
1013
},
1114
{
1215
"label": "clean",
1316
"type": "shell",
1417
"command": "make -j 8 clean --output-sync=target --no-print-directory TARGET=${config:target} BOARD=${config:board} MAXIM_PATH=${config:MAXIM_PATH} MAKE=make PROJECT=${config:project_name}",
18+
"osx":{
19+
"command": "source ~/.zshrc && make -j 8 clean --output-sync=target --no-print-directory TARGET=${config:target} BOARD=${config:board} MAXIM_PATH=${config:MAXIM_PATH} MAKE=make PROJECT=${config:project_name}"
20+
},
1521
"group": "build",
1622
"problemMatcher": []
1723
},
1824
{
1925
"label": "clean-periph",
2026
"type": "shell",
2127
"command": "make -j 8 distclean --output-sync=target --no-print-directory TARGET=${config:target} BOARD=${config:board} MAXIM_PATH=${config:MAXIM_PATH} MAKE=make PROJECT=${config:project_name}",
28+
"osx":{
29+
"command": "source ~/.zshrc && make -j 8 distclean --output-sync=target --no-print-directory TARGET=${config:target} BOARD=${config:board} MAXIM_PATH=${config:MAXIM_PATH} MAKE=make PROJECT=${config:project_name}"
30+
},
2231
"group": "build",
2332
"problemMatcher": []
2433
},

Examples/MAX32520/ARM-DSP/arm_fir_example/.vscode/tasks.json

Lines changed: 9 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -5,20 +5,29 @@
55
"label": "build",
66
"type": "shell",
77
"command": "make -r -j 8 --output-sync=target --no-print-directory TARGET=${config:target} BOARD=${config:board} MAXIM_PATH=${config:MAXIM_PATH} MAKE=make PROJECT=${config:project_name}",
8+
"osx":{
9+
"command": "source ~/.zshrc && make -r -j 8 --output-sync=target --no-print-directory TARGET=${config:target} BOARD=${config:board} MAXIM_PATH=${config:MAXIM_PATH} MAKE=make PROJECT=${config:project_name}"
10+
},
811
"group": "build",
912
"problemMatcher": []
1013
},
1114
{
1215
"label": "clean",
1316
"type": "shell",
1417
"command": "make -j 8 clean --output-sync=target --no-print-directory TARGET=${config:target} BOARD=${config:board} MAXIM_PATH=${config:MAXIM_PATH} MAKE=make PROJECT=${config:project_name}",
18+
"osx":{
19+
"command": "source ~/.zshrc && make -j 8 clean --output-sync=target --no-print-directory TARGET=${config:target} BOARD=${config:board} MAXIM_PATH=${config:MAXIM_PATH} MAKE=make PROJECT=${config:project_name}"
20+
},
1521
"group": "build",
1622
"problemMatcher": []
1723
},
1824
{
1925
"label": "clean-periph",
2026
"type": "shell",
2127
"command": "make -j 8 distclean --output-sync=target --no-print-directory TARGET=${config:target} BOARD=${config:board} MAXIM_PATH=${config:MAXIM_PATH} MAKE=make PROJECT=${config:project_name}",
28+
"osx":{
29+
"command": "source ~/.zshrc && make -j 8 distclean --output-sync=target --no-print-directory TARGET=${config:target} BOARD=${config:board} MAXIM_PATH=${config:MAXIM_PATH} MAKE=make PROJECT=${config:project_name}"
30+
},
2231
"group": "build",
2332
"problemMatcher": []
2433
},

Examples/MAX32520/ARM-DSP/arm_graphic_equalizer_example/.vscode/tasks.json

Lines changed: 9 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -5,20 +5,29 @@
55
"label": "build",
66
"type": "shell",
77
"command": "make -r -j 8 --output-sync=target --no-print-directory TARGET=${config:target} BOARD=${config:board} MAXIM_PATH=${config:MAXIM_PATH} MAKE=make PROJECT=${config:project_name}",
8+
"osx":{
9+
"command": "source ~/.zshrc && make -r -j 8 --output-sync=target --no-print-directory TARGET=${config:target} BOARD=${config:board} MAXIM_PATH=${config:MAXIM_PATH} MAKE=make PROJECT=${config:project_name}"
10+
},
811
"group": "build",
912
"problemMatcher": []
1013
},
1114
{
1215
"label": "clean",
1316
"type": "shell",
1417
"command": "make -j 8 clean --output-sync=target --no-print-directory TARGET=${config:target} BOARD=${config:board} MAXIM_PATH=${config:MAXIM_PATH} MAKE=make PROJECT=${config:project_name}",
18+
"osx":{
19+
"command": "source ~/.zshrc && make -j 8 clean --output-sync=target --no-print-directory TARGET=${config:target} BOARD=${config:board} MAXIM_PATH=${config:MAXIM_PATH} MAKE=make PROJECT=${config:project_name}"
20+
},
1521
"group": "build",
1622
"problemMatcher": []
1723
},
1824
{
1925
"label": "clean-periph",
2026
"type": "shell",
2127
"command": "make -j 8 distclean --output-sync=target --no-print-directory TARGET=${config:target} BOARD=${config:board} MAXIM_PATH=${config:MAXIM_PATH} MAKE=make PROJECT=${config:project_name}",
28+
"osx":{
29+
"command": "source ~/.zshrc && make -j 8 distclean --output-sync=target --no-print-directory TARGET=${config:target} BOARD=${config:board} MAXIM_PATH=${config:MAXIM_PATH} MAKE=make PROJECT=${config:project_name}"
30+
},
2231
"group": "build",
2332
"problemMatcher": []
2433
},

Examples/MAX32520/ARM-DSP/arm_linear_interp_example/.vscode/tasks.json

Lines changed: 9 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -5,20 +5,29 @@
55
"label": "build",
66
"type": "shell",
77
"command": "make -r -j 8 --output-sync=target --no-print-directory TARGET=${config:target} BOARD=${config:board} MAXIM_PATH=${config:MAXIM_PATH} MAKE=make PROJECT=${config:project_name}",
8+
"osx":{
9+
"command": "source ~/.zshrc && make -r -j 8 --output-sync=target --no-print-directory TARGET=${config:target} BOARD=${config:board} MAXIM_PATH=${config:MAXIM_PATH} MAKE=make PROJECT=${config:project_name}"
10+
},
811
"group": "build",
912
"problemMatcher": []
1013
},
1114
{
1215
"label": "clean",
1316
"type": "shell",
1417
"command": "make -j 8 clean --output-sync=target --no-print-directory TARGET=${config:target} BOARD=${config:board} MAXIM_PATH=${config:MAXIM_PATH} MAKE=make PROJECT=${config:project_name}",
18+
"osx":{
19+
"command": "source ~/.zshrc && make -j 8 clean --output-sync=target --no-print-directory TARGET=${config:target} BOARD=${config:board} MAXIM_PATH=${config:MAXIM_PATH} MAKE=make PROJECT=${config:project_name}"
20+
},
1521
"group": "build",
1622
"problemMatcher": []
1723
},
1824
{
1925
"label": "clean-periph",
2026
"type": "shell",
2127
"command": "make -j 8 distclean --output-sync=target --no-print-directory TARGET=${config:target} BOARD=${config:board} MAXIM_PATH=${config:MAXIM_PATH} MAKE=make PROJECT=${config:project_name}",
28+
"osx":{
29+
"command": "source ~/.zshrc && make -j 8 distclean --output-sync=target --no-print-directory TARGET=${config:target} BOARD=${config:board} MAXIM_PATH=${config:MAXIM_PATH} MAKE=make PROJECT=${config:project_name}"
30+
},
2231
"group": "build",
2332
"problemMatcher": []
2433
},

Examples/MAX32520/ARM-DSP/arm_matrix_example/.vscode/tasks.json

Lines changed: 9 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -5,20 +5,29 @@
55
"label": "build",
66
"type": "shell",
77
"command": "make -r -j 8 --output-sync=target --no-print-directory TARGET=${config:target} BOARD=${config:board} MAXIM_PATH=${config:MAXIM_PATH} MAKE=make PROJECT=${config:project_name}",
8+
"osx":{
9+
"command": "source ~/.zshrc && make -r -j 8 --output-sync=target --no-print-directory TARGET=${config:target} BOARD=${config:board} MAXIM_PATH=${config:MAXIM_PATH} MAKE=make PROJECT=${config:project_name}"
10+
},
811
"group": "build",
912
"problemMatcher": []
1013
},
1114
{
1215
"label": "clean",
1316
"type": "shell",
1417
"command": "make -j 8 clean --output-sync=target --no-print-directory TARGET=${config:target} BOARD=${config:board} MAXIM_PATH=${config:MAXIM_PATH} MAKE=make PROJECT=${config:project_name}",
18+
"osx":{
19+
"command": "source ~/.zshrc && make -j 8 clean --output-sync=target --no-print-directory TARGET=${config:target} BOARD=${config:board} MAXIM_PATH=${config:MAXIM_PATH} MAKE=make PROJECT=${config:project_name}"
20+
},
1521
"group": "build",
1622
"problemMatcher": []
1723
},
1824
{
1925
"label": "clean-periph",
2026
"type": "shell",
2127
"command": "make -j 8 distclean --output-sync=target --no-print-directory TARGET=${config:target} BOARD=${config:board} MAXIM_PATH=${config:MAXIM_PATH} MAKE=make PROJECT=${config:project_name}",
28+
"osx":{
29+
"command": "source ~/.zshrc && make -j 8 distclean --output-sync=target --no-print-directory TARGET=${config:target} BOARD=${config:board} MAXIM_PATH=${config:MAXIM_PATH} MAKE=make PROJECT=${config:project_name}"
30+
},
2231
"group": "build",
2332
"problemMatcher": []
2433
},

0 commit comments

Comments
 (0)