mirror of
https://github.com/logicog/RTLPlayground.git
synced 2026-10-29 17:54:14 +08:00
add MACHINE_CHIPSET in header files, and add common settings in machine_defs.h
This commit is contained in:
1 parent
b28ead65dc
commit
b06ff76a21
91 files changed
+161
-155
No files matched your search
@@ -41,4 +41,10 @@
|
||||
(scl_pin) == GPIO50_I2C_SCL2_UART1_TX ? 2 : \
|
||||
(scl_pin) == GPIO40_I2C_SCL3_MDC1 ? 3 : I2CBUS_INVALID)
|
||||
|
||||
#define MACHINE_COMMON_SETTING \
|
||||
.machine_name = MACHINE_MODEL, \
|
||||
.isRTL8373 = MACHINE_CHIPSET == RTL8373, \
|
||||
.min_port = MACHINE_MIN_PORT, \
|
||||
.max_port = MACHINE_MAX_PORT
|
||||
|
||||
#endif
|
||||
Reference in new issue
Block a user