Commit 0e7f2a5
committed
Refactor and modularize codebase structure
* Major project restructuring
* Reorganized libraries and source files into a clearer, more modular directory structure.
* Moved, renamed, or removed numerous files to reduce duplication and improve maintainability.
* Legacy code cleanup
* Removed deprecated and unused code from lib-lightset, lib-network, lib-properties, and older display components.
* Eliminated redundant parameter and platform-specific files no longer in use.
* Centralized common functionality
* Migrated shared network, properties, and parameter code into a unified common directory.
* Added new utility headers and source files for reusable functionality.
* JSON-based configuration support
* Added new JSON configuration and parameter files.
* Introduced JSON helper utilities and parameter classes to standardize configuration handling and prepare for future extensibility.
* DMX, RDM, and pixel refactor
* Refactored DMX, RDM device handling, and pixel-related libraries for clearer structure and better separation of responsibilities.
* Unified RDM device information handling.
* Build system updates
* Updated Makefiles, build scripts, and compile_commands.json to reflect the new project structure.
* Improved GD32 platform support and hardware abstraction organization.
* Network stack reorganization
* Flattened lib-network source layout by moving files from subdirectories into a simpler structure.
* Improved clarity of EMAC and Linux network interface implementations (no functional changes).
* Debug macro consistency
* Replaced DEBUG_ENTRY / DEBUG_EXIT macros with function-style DEBUG_ENTRY() / DEBUG_EXIT() across the codebase for consistency and readability.
* Overall impact
* Significantly improved modularity, readability, and long-term maintainability.
* Laid groundwork for future feature expansion and more robust JSON-based configuration across modules.1 parent 644e355 commit 0e7f2a5
File tree
2,205 files changed
+97569
-161893
lines changed- common
- .settings
- include
- common/utils
- firmware
- artnet/pixel
- debug
- jamstapl
- pixeldmx
- json
- make
- gd32
- lib
- esp8266_rtos_sdk_rpi/.settings
- firmware-template-bcm
- lib
- firmware-template-h3
- include/node
- lib
- firmware-template-linux
- include
- lib
- firmware-template
- include
- arpa
- netinet
- net
- sys
- uuid
- lib-arm
- .settings
- include/arm
- src
- debug
- lib-artnet
- .settings
- include
- json
- src
- controller
- json
- node
- 4
- dmxin
- failsafe
- file
- rom
- spi
- rdm
- controller
- json
- responder
- lib-bcm2835
- .settings
- arm
- device
- emmc
- fb
- include
- arm
- device
- src
- lib-clib
- .settings
- src
- gd32
- time_ptp
- time_systick
- time_timer
- h3
- time_timer_arm_generic
- rpi
- lib-configstore
- .settings
- device
- file
- gd32
- i2c
- ram/gd32
- rom
- spi
- include
- src
- lib-ddp
- .settings
- include
- src
- lib-device
- .settings
- examples
- include
- src
- lib-displayudf
- .settings
- include
- json
- src
- artnet
- e131
- json
- network
- node
- lib-display
- .settings
- examples
- include
- i2c
- spi
- src
- arm
- gd32
- h3
- i2c
- sleep
- spi
- lib-dmxled
- .settings
- include/json
- lib-dmxmonitor
- .settings
- include
- h3
- json
- src
- h3
- json
- linux
- rpi
- lib-dmxnode
- .settings
- include
- json
- src
- json
- params
- scenes
- file
- rom
- spi
- lib-dmxserial
- .settings
- include
- json
- serial
- src
- json
- serial
- lib-dmx
- .settings
- include
- gd32
- h3
- multi
- single
- json
- linux
- rpi
- src
- gd32
- h3
- multi
- single
- json
- linux
- rpi
- lib-e131
- .settings
- include
- json
- src
- controller
- json
- node
- dmxin
- lib-flashcodeinstall
- .settings
- include
- src
- gd32
- h3
- params
- lib-flashcode
- .settings
- include
- src
- gd32
- f4xx
- fmc
- h7xx
- h3
- lib-flash
- .settings
- include
- i2c
- spi
- src/spi
- gd32
- h3
- lib-gps
- .settings
- include
- json
- src
- json
- lib-h3
- .settings
- CMSIS/Core_A/Include
- arm
- device
- emac
- fb
- mmc
- include
- arm
- board
- device
- src
- debug
- lib-hal
- .settings
- console
- h3
- i2c
- null
- uart0
- debug
- emac/gd32
- i2c
- device/usb/host/gd32
- include
- console
- device/usb
- gd32
- h3
- json
- linux
- rpi
- superloop
- posix
- rtc
- gd32
- i2c
- src
- gd32
- h3
- i2c
- sdcard
- json
- linux
- i2c
- minimum
- rpi
- sdcard
- superloop
- lib-input
- .settings
- include
- src
- linux
- lib-jamstapl
- .settings
- include
- jbi_22/code
- src
- lib-l6470dmx
- .settings
- include
- json
- src
- json
- lib-l6470
- .settings
- examples/sparkfun
- include
- src
- lib-lightset
- .settings
- include
- src
- lib-ltc
- .settings
- include
- arm
- gd32
- h3
- json
- src
- arm
- gd32
- h3
- displayrgb
- panel
- pixel
- ws28xx
- json
- lib-midi
- .settings
- include
- json
- net
- src
- arm
- gd32
- h3
- json
- net
- lib-network
- .settings
- config
- example
- include
- emac
- phy
- esp8266
- json
- linux
- net
- apps
- protocol
- noemac
- src
- apps
- mdns
- ntp
- gd32
- tftp
- core
- ipv4
- emac
- gd32
- h3
- phy
- dp83848
- lan8700
- phygen
- rtl8201f
- esp8266
- h3
- rpi
- iface
- json
- linux
- net
- apps
- mdns
- ntp
- gd32/ptp
- tftp
- core
- ipv4
- netif
- noemac/h3
- params
- lib-osc
- .settings
- include
- json
- src
- client
- json
- client
- server
- server
- lib-pca9685dmx
- .settings
- include
- json
- src
- json
- lib-pca9685
- .settings
- examples
- include
- src
- lib-pixeldisplay
- .settings
- include
- src
- lib-pixeldmx
- .settings
- include
- json
- src
- json
- pixeldmxparams
- pixeldmxrdm
- lib-pixel
- .settings
- include
- gamma
- gd32
- h3
- jbc
- src
- gd32
- h3
- pixelmulti
- pixel
- json
- pixel
- lib-pp
- .settings
- include
- src
- lib-properties
- .settings
- include
- src
- lib-rdmsensor
- .settings
- include
- json
- src
- json
- lib-rdmsubdevice
- .settings
- include
- spi
- src
- spi
- lib-rdm
- .settings
- example
- include
- json
- llrp
- rdmnet
- sensor
- subdevice
- src
- controller
- handlers
- json
- llrp
- lib-remoteconfig
- .settings
- http/content
- include
- httpd
- http
- json
- shell
- tftp
- src
- gd32
- h3
- httpd
- http
- json
- linux
- shell
- tftp
- uart
- lib-rgbpanel
- .settings
- include
- json
- src
- h3
- json
- lib-showfile
- .settings
- include
- formats
- json
- protocols
- src
- display
- formats/ola
- json
- osc
- lib-tcnet
- .settings
- include
- json
- src
- json
- lib-tlc59711dmx
- .settings
- include
- json
- src
- json
- rdm
- lib-tlc59711
- .settings
- examples
- include
- src
- lib-usb
- .settings
- include
- src
- gd32
- h3
- rpi
- lib-widget
- .settings
- include
- params
- src
- flashrom
- hdmi
- nohdmi
- params
- rpi
- lib-ws28xxdisplay
- .settings
- lib-ws28xxdmx
- .settings
- include
- src
- pixeldmxmulti
- pixeldmxparams
- pixeldmx
- rdm
- lib-ws28xx
- .settings
- include
- gamma
- gd32/gpio
- h3
- src
- h3
- pixel
- linux_artnet
- .settings
- include
- lib
- src
- linux_ddp
- .settings
- include
- src
- linux_e131
- .settings
- include
- src
- linux_osc
- .settings
- include
- lib
- src
- linux_pp
- .settings
- include
- src
- opi_dmx_monitor
- .settings
- firmware
- include
- opi_dmx_usb_pro
- .settings
- firmware
- include
- opi_emac_artnet_dmx_multi
- .settings
- firmware
- include
- opi_emac_artnet_dmx
- .settings
- firmware
- include
- opi_emac_artnet_monitor
- .settings
- firmware
- include
- lib
- opi_emac_artnet_pixel_dmx_multi
- .settings
- firmware
- include
- lib
- opi_emac_artnet_pixel_dmx
- .settings
- firmware
- include
- opi_emac_artnet_pixel_multi
- .settings
- firmware
- include
- lib
- opi_emac_artnet_pixel
- .settings
- firmware
- include
- opi_emac_artnet_rdm_l6470
- .settings
- firmware
- include
- opi_emac_artnet_rdm_pca9685
- .settings
- firmware
- opi_emac_artnet_serial
- .settings
- firmware
- include
- opi_emac_ddp_pixel_dmx_multi
- .settings
- firmware
- include
- opi_emac_ddp_pixel_multi
- .settings
- firmware
- include
- opi_emac_e131_artnet
- .settings
- firmware
- include
- lib
- opi_emac_e131_dmx_multi
- .settings
- firmware
- include
- opi_emac_e131_dmx
- .settings
- firmware
- include
- opi_emac_e131_monitor
- .settings
- firmware
- include
- opi_emac_e131_pixel_dmx_multi
- .settings
- firmware
- include
- opi_emac_e131_pixel_dmx
- .settings
- firmware
- include
- opi_emac_e131_pixel_multi
- .settings
- firmware
- include
- opi_emac_e131_pixel
- .settings
- firmware
- include
- opi_emac_llrp_tftpd
- .settings
- firmware
- opi_emac_ltc_smpte
- .settings
- firmware
- include
- lib
- opi_emac_osc_client
- .settings
- firmware
- include
- lib
- opi_emac_osc_dmx
- .settings
- firmware
- include
- opi_emac_osc_monitor
- .settings
- firmware
- include
- lib
- opi_emac_osc_pixel
- .settings
- firmware
- include
- opi_emac_pp_pixel_multi
- .settings
- firmware
- include
- opi_emac_showfile_artnet
- .settings
- firmware
- opi_emac_showfile_e131
- .settings
- firmware
- opi_midi_monitor
- .settings
- firmware
- include
- lib
- opi_rdm_responder_l6470
- .settings
- firmware
- include
- opi_rdm_responder
- .settings
- firmware
- include
- lib
- rpi_wifi_artnet_dmx/include
- rpi_wifi_artnet_monitor/include
- rpi_wifi_artnet_pixel/include
- scripts
Some content is hidden
Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.
2,205 files changed
+97569
-161893
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
108 | 108 | | |
109 | 109 | | |
110 | 110 | | |
111 | | - | |
112 | 111 | | |
113 | | - | |
114 | 112 | | |
115 | 113 | | |
116 | 114 | | |
117 | 115 | | |
118 | 116 | | |
119 | | - | |
| 117 | + | |
| 118 | + | |
| 119 | + | |
Large diffs are not rendered by default.
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
1 | 1 | | |
2 | 2 | | |
3 | | - | |
| 3 | + | |
4 | 4 | | |
5 | 5 | | |
6 | 6 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
| 1 | + | |
| 2 | + | |
| 3 | + | |
| 4 | + | |
| 5 | + | |
| 6 | + | |
| 7 | + | |
| 8 | + | |
| 9 | + | |
| 10 | + | |
| 11 | + | |
| 12 | + | |
| 13 | + | |
| 14 | + | |
| 15 | + | |
Lines changed: 13 additions & 11 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
1 | 1 | | |
2 | | - | |
| 2 | + | |
3 | 3 | | |
4 | 4 | | |
5 | | - | |
| 5 | + | |
6 | 6 | | |
7 | 7 | | |
8 | 8 | | |
| |||
23 | 23 | | |
24 | 24 | | |
25 | 25 | | |
26 | | - | |
27 | | - | |
| 26 | + | |
| 27 | + | |
28 | 28 | | |
29 | | - | |
| 29 | + | |
30 | 30 | | |
31 | | - | |
32 | | - | |
33 | | - | |
34 | | - | |
35 | | - | |
| 31 | + | |
| 32 | + | |
| 33 | + | |
| 34 | + | |
| 35 | + | |
36 | 36 | | |
37 | | - | |
| 37 | + | |
| 38 | + | |
| 39 | + | |
Lines changed: 18 additions & 26 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
1 | 1 | | |
2 | | - | |
| 2 | + | |
3 | 3 | | |
4 | 4 | | |
5 | | - | |
| 5 | + | |
6 | 6 | | |
7 | 7 | | |
8 | 8 | | |
| |||
23 | 23 | | |
24 | 24 | | |
25 | 25 | | |
26 | | - | |
27 | | - | |
| 26 | + | |
| 27 | + | |
28 | 28 | | |
29 | | - | |
| 29 | + | |
30 | 30 | | |
31 | | - | |
| 31 | + | |
| 32 | + | |
32 | 33 | | |
33 | | - | |
34 | | - | |
35 | | - | |
36 | | - | |
37 | | - | |
38 | | - | |
39 | | - | |
40 | | - | |
41 | | - | |
42 | | - | |
43 | | - | |
44 | | - | |
45 | | - | |
| 34 | + | |
| 35 | + | |
| 36 | + | |
| 37 | + | |
46 | 38 | | |
47 | 39 | | |
48 | | - | |
49 | | - | |
50 | | - | |
51 | | - | |
| 40 | + | |
| 41 | + | |
| 42 | + | |
| 43 | + | |
52 | 44 | | |
53 | 45 | | |
54 | | - | |
55 | | - | |
56 | | - | |
| 46 | + | |
| 47 | + | |
| 48 | + | |
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
| 1 | + | |
| 2 | + | |
| 3 | + | |
| 4 | + | |
| 5 | + | |
| 6 | + | |
| 7 | + | |
| 8 | + | |
| 9 | + | |
| 10 | + | |
| 11 | + | |
| 12 | + | |
| 13 | + | |
| 14 | + | |
| 15 | + | |
| 16 | + | |
| 17 | + | |
| 18 | + | |
| 19 | + | |
| 20 | + | |
| 21 | + | |
| 22 | + | |
| 23 | + | |
| 24 | + | |
| 25 | + | |
| 26 | + | |
| 27 | + | |
| 28 | + | |
| 29 | + | |
| 30 | + | |
| 31 | + | |
| 32 | + | |
| 33 | + | |
| 34 | + | |
| 35 | + | |
| 36 | + | |
| 37 | + | |
| 38 | + | |
| 39 | + | |
| 40 | + | |
| 41 | + | |
| 42 | + | |
| 43 | + | |
| 44 | + | |
| 45 | + | |
| 46 | + | |
| 47 | + | |
| 48 | + | |
| 49 | + | |
| 50 | + | |
| 51 | + | |
| 52 | + | |
| 53 | + | |
| 54 | + | |
| 55 | + | |
| 56 | + | |
| 57 | + | |
| 58 | + | |
| 59 | + | |
| 60 | + | |
| 61 | + | |
| 62 | + | |
| 63 | + | |
| 64 | + | |
| 65 | + | |
| 66 | + | |
| 67 | + | |
| 68 | + | |
| 69 | + | |
| 70 | + | |
| 71 | + | |
| 72 | + | |
| 73 | + | |
| 74 | + | |
| 75 | + | |
| 76 | + | |
| 77 | + | |
| 78 | + | |
| 79 | + | |
| 80 | + | |
| 81 | + | |
| 82 | + | |
| 83 | + | |
| 84 | + | |
| 85 | + | |
| 86 | + | |
| 87 | + | |
| 88 | + | |
| 89 | + | |
| 90 | + | |
| 91 | + | |
| 92 | + | |
| 93 | + | |
| 94 | + | |
| 95 | + | |
| 96 | + | |
| 97 | + | |
| 98 | + | |
| 99 | + | |
| 100 | + | |
| 101 | + | |
| 102 | + | |
| 103 | + | |
| 104 | + | |
| 105 | + | |
| 106 | + | |
| 107 | + | |
| 108 | + | |
| 109 | + | |
| 110 | + | |
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
| 1 | + | |
| 2 | + | |
| 3 | + | |
| 4 | + | |
| 5 | + | |
| 6 | + | |
| 7 | + | |
| 8 | + | |
| 9 | + | |
| 10 | + | |
| 11 | + | |
| 12 | + | |
| 13 | + | |
| 14 | + | |
| 15 | + | |
| 16 | + | |
| 17 | + | |
| 18 | + | |
| 19 | + | |
| 20 | + | |
| 21 | + | |
| 22 | + | |
| 23 | + | |
| 24 | + | |
| 25 | + | |
| 26 | + | |
| 27 | + | |
| 28 | + | |
| 29 | + | |
| 30 | + | |
| 31 | + | |
| 32 | + | |
| 33 | + | |
| 34 | + | |
| 35 | + | |
| 36 | + | |
| 37 | + | |
| 38 | + | |
| 39 | + | |
| 40 | + | |
| 41 | + | |
| 42 | + | |
| 43 | + | |
| 44 | + | |
| 45 | + | |
| 46 | + | |
| 47 | + | |
| 48 | + | |
| 49 | + | |
| 50 | + | |
| 51 | + | |
| 52 | + | |
| 53 | + | |
| 54 | + | |
| 55 | + | |
0 commit comments