mirror of
https://github.com/FreeRTOS/FreeRTOS-Kernel.git
synced 2025-09-03 21:03:51 -04:00
Allow RX YRDK demos to work with Rev1 and Rev3 boards, and with any web browser.
This commit is contained in:
parent
7b9a3e0707
commit
6046eea342
12 changed files with 219 additions and 128 deletions
|
@ -40,8 +40,14 @@ Macro definitions
|
|||
#define CMT0_CLK_SELECT (512)
|
||||
|
||||
/* General Values */
|
||||
#define LED_ON (1)
|
||||
#define LED_OFF (0)
|
||||
#ifdef LED_POSITIVE_LOGIC
|
||||
#define LED_ON (1)
|
||||
#define LED_OFF (0)
|
||||
#else
|
||||
/* LEDs are using NEGATIVE LOGIC... */
|
||||
#define LED_ON (0)
|
||||
#define LED_OFF (1)
|
||||
#endif
|
||||
#define SET_BIT_HIGH (1)
|
||||
#define SET_BIT_LOW (0)
|
||||
#define SET_BYTE_HIGH (0xFF)
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue