mirror of
https://github.com/elua/elua.git
synced 2025-01-08 20:56:17 +08:00
Mark other platforms as having 0 CAN peripherals so they compile.
This commit is contained in:
parent
907de5b818
commit
fd029159dc
@ -58,6 +58,7 @@
|
||||
#endif
|
||||
#define NUM_PWM 4
|
||||
#define NUM_ADC 0
|
||||
#define NUM_CAN 0
|
||||
|
||||
// Enable RX buffering on UART
|
||||
#define BUF_ENABLE_UART
|
||||
|
@ -58,6 +58,7 @@
|
||||
#endif
|
||||
#define NUM_PWM 0
|
||||
#define NUM_ADC 0
|
||||
#define NUM_CAN 0
|
||||
|
||||
// Enable RX buffering on UART
|
||||
#define BUF_ENABLE_UART
|
||||
|
@ -43,6 +43,7 @@
|
||||
#define NUM_TIMER 0
|
||||
#define NUM_PWM 0
|
||||
#define NUM_ADC 0
|
||||
#define NUM_CAN 0
|
||||
|
||||
// CPU frequency (needed by the CPU module, 0 if not used)
|
||||
#define CPU_FREQUENCY 0
|
||||
|
@ -119,6 +119,7 @@ LUALIB_API int ( luaopen_disp )( lua_State* L );
|
||||
#define NUM_PWM 0
|
||||
#endif
|
||||
#define NUM_ADC 4
|
||||
#define NUM_CAN 0
|
||||
|
||||
// Enable RX buffering on UART
|
||||
//#define BUF_ENABLE_UART
|
||||
|
@ -38,6 +38,7 @@
|
||||
#define NUM_TIMER 2
|
||||
#define NUM_PWM 0
|
||||
#define NUM_ADC 0
|
||||
#define NUM_CAN 0
|
||||
|
||||
// CPU frequency (needed by the CPU module, 0 if not used)
|
||||
#define CPU_FREQUENCY Fcclk
|
||||
|
@ -43,6 +43,7 @@
|
||||
#define NUM_TIMER 0
|
||||
#define NUM_PWM 0
|
||||
#define NUM_ADC 0
|
||||
#define NUM_CAN 0
|
||||
|
||||
// CPU frequency (needed by the CPU module, 0 if not used)
|
||||
#define CPU_FREQUENCY 0
|
||||
|
@ -53,6 +53,7 @@
|
||||
#define NUM_TIMER 4
|
||||
#define NUM_PWM 3
|
||||
#define NUM_ADC 0
|
||||
#define NUM_CAN 0
|
||||
|
||||
// CPU frequency (needed by the CPU module, 0 if not used)
|
||||
#define CPU_FREQUENCY 0
|
||||
|
@ -39,6 +39,7 @@
|
||||
#define NUM_TIMER 4
|
||||
#define NUM_PWM 0
|
||||
#define NUM_ADC 0
|
||||
#define NUM_CAN 0
|
||||
|
||||
// CPU frequency (needed by the CPU module, 0 if not used)
|
||||
u32 SCU_GetMCLKFreqValue();
|
||||
|
Loading…
x
Reference in New Issue
Block a user