Skip to content

Commit

Permalink
Improved support for GD32
Browse files Browse the repository at this point in the history
  • Loading branch information
vanvught committed May 25, 2024
1 parent 9621429 commit 0c1dbd5
Show file tree
Hide file tree
Showing 96 changed files with 223 additions and 132 deletions.
17 changes: 0 additions & 17 deletions lib-ltc/Makefile.GD32

This file was deleted.

2 changes: 1 addition & 1 deletion lib-ltc/include/artnetreader.h
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
* @file artnetreader.h
*
*/
/* Copyright (C) 2019-2023 by Arjan van Vught mailto:info@orangepi-dmx.nl
/* Copyright (C) 2019-2023 by Arjan van Vught mailto:info@gd32-dmx.org
*
* Permission is hereby granted, free of charge, to any person obtaining a copy
* of this software and associated documentation files (the "Software"), to deal
Expand Down
2 changes: 1 addition & 1 deletion lib-ltc/include/ltc.h
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
* @file ltc.h
*
*/
/* Copyright (C) 2019-2023 by Arjan van Vught mailto:info@orangepi-dmx.nl
/* Copyright (C) 2019-2023 by Arjan van Vught mailto:info@gd32-dmx.org
*
* Permission is hereby granted, free of charge, to any person obtaining a copy
* of this software and associated documentation files (the "Software"), to deal
Expand Down
2 changes: 1 addition & 1 deletion lib-ltc/include/ltc7segment.h
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
* @file ltc7segment.h
*
*/
/* Copyright (C) 2019-2023 by Arjan van Vught mailto:info@orangepi-dmx.nl
/* Copyright (C) 2019-2023 by Arjan van Vught mailto:info@gd32-dmx.org
*
* Permission is hereby granted, free of charge, to any person obtaining a copy
* of this software and associated documentation files (the "Software"), to deal
Expand Down
2 changes: 1 addition & 1 deletion lib-ltc/include/ltcdisplaymax7219.h
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
/**
* @file ltcdisplaymax7219.h
*/
/* Copyright (C) 2019-2023 by Arjan van Vught mailto:info@orangepi-dmx.nl
/* Copyright (C) 2019-2023 by Arjan van Vught mailto:info@gd32-dmx.org
*
* Permission is hereby granted, free of charge, to any person obtaining a copy
* of this software and associated documentation files (the "Software"), to deal
Expand Down
2 changes: 1 addition & 1 deletion lib-ltc/include/ltcdisplaymax72197segment.h
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
* @file ltcdisplaymax72197segment.h
*
*/
/* Copyright (C) 2019-2020 by Arjan van Vught mailto:info@orangepi-dmx.nl
/* Copyright (C) 2019-2020 by Arjan van Vught mailto:info@gd32-dmx.org
*
* Permission is hereby granted, free of charge, to any person obtaining a copy
* of this software and associated documentation files (the "Software"), to deal
Expand Down
2 changes: 1 addition & 1 deletion lib-ltc/include/ltcdisplaymax7219matrix.h
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
* @file ltcdisplaymax7219matrix.h
*
*/
/* Copyright (C) 2019-2022 by Arjan van Vught mailto:info@orangepi-dmx.nl
/* Copyright (C) 2019-2022 by Arjan van Vught mailto:info@gd32-dmx.org
*
* Permission is hereby granted, free of charge, to any person obtaining a copy
* of this software and associated documentation files (the "Software"), to deal
Expand Down
2 changes: 1 addition & 1 deletion lib-ltc/include/ltcdisplaymax7219set.h
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
* @file ltcdisplaymax7219set.h
*
*/
/* Copyright (C) 2019-2023 by Arjan van Vught mailto:info@orangepi-dmx.nl
/* Copyright (C) 2019-2023 by Arjan van Vught mailto:info@gd32-dmx.org
*
* Permission is hereby granted, free of charge, to any person obtaining a copy
* of this software and associated documentation files (the "Software"), to deal
Expand Down
2 changes: 1 addition & 1 deletion lib-ltc/include/ltcdisplayparams.h
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
* @file ltcdisplayparams.h
*
*/
/* Copyright (C) 2019-2023 by Arjan van Vught mailto:info@orangepi-dmx.nl
/* Copyright (C) 2019-2023 by Arjan van Vught mailto:info@gd32-dmx.org
*
* Permission is hereby granted, free of charge, to any person obtaining a copy
* of this software and associated documentation files (the "Software"), to deal
Expand Down
2 changes: 1 addition & 1 deletion lib-ltc/include/ltcdisplayparamsconst.h
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
* @file ltcdisplayparamsconst.h
*
*/
/* Copyright (C) 2019-2020 by Arjan van Vught mailto:info@orangepi-dmx.nl
/* Copyright (C) 2019-2020 by Arjan van Vught mailto:info@gd32-dmx.org
*
* Permission is hereby granted, free of charge, to any person obtaining a copy
* of this software and associated documentation files (the "Software"), to deal
Expand Down
2 changes: 1 addition & 1 deletion lib-ltc/include/ltcdisplayrgb.h
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@
*/
/*
* Copyright (C) 2019-2020 by hippy mailto:[email protected]
* Copyright (C) 2019-2023 by Arjan van Vught mailto:info@orangepi-dmx.nl
* Copyright (C) 2019-2023 by Arjan van Vught mailto:info@gd32-dmx.org
*
* Permission is hereby granted, free of charge, to any person obtaining a copy
* of this software and associated documentation files (the "Software"), to deal
Expand Down
2 changes: 1 addition & 1 deletion lib-ltc/include/ltcdisplayrgbpanel.h
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
* @file ltcdisplayrgbpanel.h
*/
/*
* Copyright (C) 2020 by Arjan van Vught mailto:info@orangepi-dmx.nl
* Copyright (C) 2020 by Arjan van Vught mailto:info@gd32-dmx.org
*
* Permission is hereby granted, free of charge, to any person obtaining a copy
* of this software and associated documentation files (the "Software"), to deal
Expand Down
2 changes: 1 addition & 1 deletion lib-ltc/include/ltcdisplayrgbset.h
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
/**
* @file ltcdisplayrgbset.h
*/
/* Copyright (C) 2019-2023 by Arjan van Vught mailto:info@orangepi-dmx.nl
/* Copyright (C) 2019-2023 by Arjan van Vught mailto:info@gd32-dmx.org
*
* Permission is hereby granted, free of charge, to any person obtaining a copy
* of this software and associated documentation files (the "Software"), to deal
Expand Down
2 changes: 1 addition & 1 deletion lib-ltc/include/ltcdisplayws28xx7segment.h
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@
*/
/*
* Copyright (C) 2019-2020 by hippy mailto:[email protected]
* Copyright (C) 2019-2023 by Arjan van Vught mailto:info@orangepi-dmx.nl
* Copyright (C) 2019-2023 by Arjan van Vught mailto:info@gd32-dmx.org
*
* Permission is hereby granted, free of charge, to any person obtaining a copy
* of this software and associated documentation files (the "Software"), to deal
Expand Down
2 changes: 1 addition & 1 deletion lib-ltc/include/ltcdisplayws28xxmatrix.h
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
/**
* @file ltcdisplayws28xxmatrix.h
*/
/* Copyright (C) 2019-2023 by Arjan van Vught mailto:info@orangepi-dmx.nl
/* Copyright (C) 2019-2023 by Arjan van Vught mailto:info@gd32-dmx.org
*
* Permission is hereby granted, free of charge, to any person obtaining a copy
* of this software and associated documentation files (the "Software"), to deal
Expand Down
2 changes: 1 addition & 1 deletion lib-ltc/include/ltcencoder.h
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
/**
* @file ltcencoder.h
*/
/* Copyright (C) 2019-2024 by Arjan van Vught mailto:info@orangepi-dmx.nl
/* Copyright (C) 2019-2024 by Arjan van Vught mailto:info@gd32-dmx.org
*
* Permission is hereby granted, free of charge, to any person obtaining a copy
* of this software and associated documentation files (the "Software"), to deal
Expand Down
2 changes: 1 addition & 1 deletion lib-ltc/include/ltcetc.h
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
* @file ltcetc.h
*
*/
/* Copyright (C) 2022 by Arjan van Vught mailto:info@orangepi-dmx.nl
/* Copyright (C) 2022 by Arjan van Vught mailto:info@gd32-dmx.org
*
* Permission is hereby granted, free of charge, to any person obtaining a copy
* of this software and associated documentation files (the "Software"), to deal
Expand Down
2 changes: 1 addition & 1 deletion lib-ltc/include/ltcetcparams.h
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
* @file ltcetcparams.h
*
*/
/* Copyright (C) 2022-2023 by Arjan van Vught mailto:info@orangepi-dmx.nl
/* Copyright (C) 2022-2023 by Arjan van Vught mailto:info@gd32-dmx.org
*
* Permission is hereby granted, free of charge, to any person obtaining a copy
* of this software and associated documentation files (the "Software"), to deal
Expand Down
2 changes: 1 addition & 1 deletion lib-ltc/include/ltcetcparamsconst.h
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
* @file ltcetcparamsconst.h
*
*/
/* Copyright (C) 2022 by Arjan van Vught mailto:info@orangepi-dmx.nl
/* Copyright (C) 2022 by Arjan van Vught mailto:info@gd32-dmx.org
*
* Permission is hereby granted, free of charge, to any person obtaining a copy
* of this software and associated documentation files (the "Software"), to deal
Expand Down
2 changes: 1 addition & 1 deletion lib-ltc/include/ltcetcreader.h
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
* @file ltcetcreader.h
*
*/
/* Copyright (C) 2022 by Arjan van Vught mailto:info@orangepi-dmx.nl
/* Copyright (C) 2022 by Arjan van Vught mailto:info@gd32-dmx.org
*
* Permission is hereby granted, free of charge, to any person obtaining a copy
* of this software and associated documentation files (the "Software"), to deal
Expand Down
2 changes: 1 addition & 1 deletion lib-ltc/include/ltcgenerator.h
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
* @file ltcgenerator.h
*
*/
/* Copyright (C) 2019-2020 by Arjan van Vught mailto:info@orangepi-dmx.nl
/* Copyright (C) 2019-2020 by Arjan van Vught mailto:info@gd32-dmx.org
*
* Permission is hereby granted, free of charge, to any person obtaining a copy
* of this software and associated documentation files (the "Software"), to deal
Expand Down
2 changes: 1 addition & 1 deletion lib-ltc/include/ltcmidisystemrealtime.h
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
* @file ltcmidisystemrealtime.h
*
*/
/* Copyright (C) 2020-2023 by Arjan van Vught mailto:info@orangepi-dmx.nl
/* Copyright (C) 2020-2023 by Arjan van Vught mailto:info@gd32-dmx.org
*
* Permission is hereby granted, free of charge, to any person obtaining a copy
* of this software and associated documentation files (the "Software"), to deal
Expand Down
2 changes: 1 addition & 1 deletion lib-ltc/include/ltcoutputs.h
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
* @file ltcoutputs.h
*
*/
/* Copyright (C) 2019-2020 by Arjan van Vught mailto:info@orangepi-dmx.nl
/* Copyright (C) 2019-2020 by Arjan van Vught mailto:info@gd32-dmx.org
*
* Permission is hereby granted, free of charge, to any person obtaining a copy
* of this software and associated documentation files (the "Software"), to deal
Expand Down
2 changes: 1 addition & 1 deletion lib-ltc/include/ltcparams.h
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
/**
* @file ltcparams.h
*/
/* Copyright (C) 2019-2023 by Arjan van Vught mailto:info@orangepi-dmx.nl
/* Copyright (C) 2019-2023 by Arjan van Vught mailto:info@gd32-dmx.org
*
* Permission is hereby granted, free of charge, to any person obtaining a copy
* of this software and associated documentation files (the "Software"), to deal
Expand Down
2 changes: 1 addition & 1 deletion lib-ltc/include/ltcparamsconst.h
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
/**
* @file ltcparamsconst.h
*/
/* Copyright (C) 2019-2023 by Arjan van Vught mailto:info@orangepi-dmx.nl
/* Copyright (C) 2019-2023 by Arjan van Vught mailto:info@gd32-dmx.org
*
* Permission is hereby granted, free of charge, to any person obtaining a copy
* of this software and associated documentation files (the "Software"), to deal
Expand Down
2 changes: 1 addition & 1 deletion lib-ltc/include/ltcreader.h
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
* @file ltcreader.h
*
*/
/* Copyright (C) 2019-2023 by Arjan van Vught mailto:info@orangepi-dmx.nl
/* Copyright (C) 2019-2023 by Arjan van Vught mailto:info@gd32-dmx.org
*
* Permission is hereby granted, free of charge, to any person obtaining a copy
* of this software and associated documentation files (the "Software"), to deal
Expand Down
2 changes: 1 addition & 1 deletion lib-ltc/include/ltcsender.h
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
* @file ltcsender.h
*
*/
/* Copyright (C) 2019-2023 by Arjan van Vught mailto:info@orangepi-dmx.nl
/* Copyright (C) 2019-2023 by Arjan van Vught mailto:info@gd32-dmx.org
*
* Permission is hereby granted, free of charge, to any person obtaining a copy
* of this software and associated documentation files (the "Software"), to deal
Expand Down
2 changes: 1 addition & 1 deletion lib-ltc/include/ltcstore.h
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
* @file ltcstore.h
*
*/
/* Copyright (C) 2019-2023 by Arjan van Vught mailto:info@orangepi-dmx.nl
/* Copyright (C) 2019-2023 by Arjan van Vught mailto:info@gd32-dmx.org
*
* Permission is hereby granted, free of charge, to any person obtaining a copy
* of this software and associated documentation files (the "Software"), to deal
Expand Down
2 changes: 1 addition & 1 deletion lib-ltc/include/midireader.h
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
* @file midireader.h
*
*/
/* Copyright (C) 2019-2023 by Arjan van Vught mailto:info@orangepi-dmx.nl
/* Copyright (C) 2019-2023 by Arjan van Vught mailto:info@gd32-dmx.org
*
* Permission is hereby granted, free of charge, to any person obtaining a copy
* of this software and associated documentation files (the "Software"), to deal
Expand Down
2 changes: 1 addition & 1 deletion lib-ltc/include/ntpserver.h
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
* @file ntpserver.h
*
*/
/* Copyright (C) 2019-2023 by Arjan van Vught mailto:info@orangepi-dmx.nl
/* Copyright (C) 2019-2023 by Arjan van Vught mailto:info@gd32-dmx.org
*
* Permission is hereby granted, free of charge, to any person obtaining a copy
* of this software and associated documentation files (the "Software"), to deal
Expand Down
2 changes: 1 addition & 1 deletion lib-ltc/include/platform_ltc.h
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
* @file platform_ltc.h
*
*/
/* Copyright (C) 2022-2024 by Arjan van Vught mailto:info@orangepi-dmx.nl
/* Copyright (C) 2022-2024 by Arjan van Vught mailto:info@gd32-dmx.org
*
* Permission is hereby granted, free of charge, to any person obtaining a copy
* of this software and associated documentation files (the "Software"), to deal
Expand Down
2 changes: 1 addition & 1 deletion lib-ltc/include/rtpmidireader.h
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
* @file rtpmidireader.h
*
*/
/* Copyright (C) 2019-2023 by Arjan van Vught mailto:info@orangepi-dmx.nl
/* Copyright (C) 2019-2023 by Arjan van Vught mailto:info@gd32-dmx.org
*
* Permission is hereby granted, free of charge, to any person obtaining a copy
* of this software and associated documentation files (the "Software"), to deal
Expand Down
2 changes: 1 addition & 1 deletion lib-ltc/include/systimereader.h
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
* @file systimereader.h
*
*/
/* Copyright (C) 2019-2023 by Arjan van Vught mailto:info@orangepi-dmx.nl
/* Copyright (C) 2019-2023 by Arjan van Vught mailto:info@gd32-dmx.org
*
* Permission is hereby granted, free of charge, to any person obtaining a copy
* of this software and associated documentation files (the "Software"), to deal
Expand Down
2 changes: 1 addition & 1 deletion lib-ltc/include/tcnetdisplay.h
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
* @file tcnetdisplay.h
*
*/
/* Copyright (C) 2019-2023 by Arjan van Vught mailto:info@orangepi-dmx.nl
/* Copyright (C) 2019-2023 by Arjan van Vught mailto:info@gd32-dmx.org
*
* Permission is hereby granted, free of charge, to any person obtaining a copy
* of this software and associated documentation files (the "Software"), to deal
Expand Down
2 changes: 1 addition & 1 deletion lib-ltc/include/tcnetreader.h
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
* @file tcnetreader.h
*
*/
/* Copyright (C) 2019-2023 by Arjan van Vught mailto:info@orangepi-dmx.nl
/* Copyright (C) 2019-2023 by Arjan van Vught mailto:info@gd32-dmx.org
*
* Permission is hereby granted, free of charge, to any person obtaining a copy
* of this software and associated documentation files (the "Software"), to deal
Expand Down
2 changes: 1 addition & 1 deletion lib-ltc/include/timecodeconst.h
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
/**
* @file timecodeconst.h
*/
/* Copyright (C) 2019-2020 by Arjan van Vught mailto:info@orangepi-dmx.nl
/* Copyright (C) 2019-2020 by Arjan van Vught mailto:info@gd32-dmx.org
*
* Permission is hereby granted, free of charge, to any person obtaining a copy
* of this software and associated documentation files (the "Software"), to deal
Expand Down
2 changes: 1 addition & 1 deletion lib-ltc/src/arm/artnetreader.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
* @file artnetreader.cpp
*
*/
/* Copyright (C) 2019-2023 by Arjan van Vught mailto:info@orangepi-dmx.nl
/* Copyright (C) 2019-2023 by Arjan van Vught mailto:info@gd32-dmx.org
*
* Permission is hereby granted, free of charge, to any person obtaining a copy
* of this software and associated documentation files (the "Software"), to deal
Expand Down
2 changes: 1 addition & 1 deletion lib-ltc/src/arm/gd32/gd32_platform_ltc.h
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
* @file gd32_platform_ltc.h
*
*/
/* Copyright (C) 2022-2024 by Arjan van Vught mailto:info@orangepi-dmx.nl
/* Copyright (C) 2022-2024 by Arjan van Vught mailto:info@gd32-dmx.org
*
* Permission is hereby granted, free of charge, to any person obtaining a copy
* of this software and associated documentation files (the "Software"), to deal
Expand Down
4 changes: 2 additions & 2 deletions lib-ltc/src/arm/gd32/ltcsender.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
* @file ltcsender.cpp
*
*/
/* Copyright (C) 2022 by Arjan van Vught mailto:info@orangepi-dmx.nl
/* Copyright (C) 2022 by Arjan van Vught mailto:info@gd32-dmx.org
*
* Permission is hereby granted, free of charge, to any person obtaining a copy
* of this software and associated documentation files (the "Software"), to deal
Expand Down Expand Up @@ -31,7 +31,7 @@

LtcSender *LtcSender::s_pThis;

LtcSender::LtcSender(uint32_t nVolume) {
LtcSender::LtcSender([[maybe_unused]] uint32_t nVolume) {
assert(s_pThis == nullptr);
s_pThis = this;

Expand Down
Loading

0 comments on commit 0c1dbd5

Please sign in to comment.