1
0
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:
James Snyder 2009-06-26 23:38:14 +00:00
parent 907de5b818
commit fd029159dc
8 changed files with 8 additions and 0 deletions

View File

@ -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

View File

@ -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

View File

@ -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

View File

@ -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

View File

@ -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

View File

@ -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

View File

@ -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

View File

@ -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();