Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Fixed all mcu_card headers to have correct TFT mappings #108

Merged
merged 1 commit into from
Oct 17, 2024
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Original file line number Diff line number Diff line change
Expand Up @@ -400,7 +400,7 @@ extern "C"{
#define LCD_TFT_CH0_8BIT_MASK 0xFF

#define LCD_TFT_16BIT_CH0 HAL_PORT_NC
#define LCD_TFT_16BIT_CH0_MASK 0xFF
#define LCD_TFT_16BIT_CH0_MASK 0x00

#define LCD_TFT_16BIT_CH1 HAL_PORT_NC
#define LCD_TFT_16BIT_CH1_MASK 0x00
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -403,7 +403,7 @@ extern "C"{
#define LCD_TFT_16BIT_CH0_MASK 0x00FF

#define LCD_TFT_16BIT_CH1 PORT_C
#define LCD_TFT_16BIT_CH1_MASK 0xFF00
#define LCD_TFT_16BIT_CH1_MASK 0x00FF

#ifdef __cplusplus
}
Expand Down
2 changes: 1 addition & 1 deletion bsp/board/include/mcu_cards/mcu_card_for_pic32/mcu_card.h
Original file line number Diff line number Diff line change
Expand Up @@ -403,7 +403,7 @@ extern "C"{
#define LCD_TFT_CH0_8BIT_MASK 0xFF

#define LCD_TFT_16BIT_CH0 HAL_PORT_NC
#define LCD_TFT_16BIT_CH0_MASK 0xFF
#define LCD_TFT_16BIT_CH0_MASK 0x00

#define LCD_TFT_16BIT_CH1 HAL_PORT_NC
#define LCD_TFT_16BIT_CH1_MASK 0x00
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -402,11 +402,11 @@ extern "C"{
#define LCD_TFT_8BIT_CH0 PORT_H
#define LCD_TFT_CH0_8BIT_MASK 0xFF

#define LCD_TFT_16BIT_CH0 PORT_H
#define LCD_TFT_16BIT_CH0_MASK 0xFF
#define LCD_TFT_16BIT_CH0 HAL_PORT_NC
#define LCD_TFT_16BIT_CH0_MASK 0x00

#define LCD_TFT_16BIT_CH1 // Pin not routed.
#define LCD_TFT_16BIT_CH1_MASK 0xFF00
#define LCD_TFT_16BIT_CH1 HAL_PORT_NC
#define LCD_TFT_16BIT_CH1_MASK 0x00

#ifdef __cplusplus
}
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -402,11 +402,11 @@ extern "C"{
#define LCD_TFT_8BIT_CH0 PORT_E
#define LCD_TFT_CH0_8BIT_MASK 0xFF

#define LCD_TFT_16BIT_CH0 PORT_E
#define LCD_TFT_16BIT_CH0_MASK 0xFF
#define LCD_TFT_16BIT_CH0 HAL_PORT_NC
#define LCD_TFT_16BIT_CH0_MASK 0x00

#define LCD_TFT_16BIT_CH1 // Pin not routed.
#define LCD_TFT_16BIT_CH1_MASK 0xFF00
#define LCD_TFT_16BIT_CH1 HAL_PORT_NC
#define LCD_TFT_16BIT_CH1_MASK 0x00

#ifdef __cplusplus
}
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -402,11 +402,11 @@ extern "C"{
#define LCD_TFT_8BIT_CH0 PORT_H
#define LCD_TFT_CH0_8BIT_MASK 0xFF

#define LCD_TFT_16BIT_CH0 PORT_H
#define LCD_TFT_16BIT_CH0_MASK 0xFF
#define LCD_TFT_16BIT_CH0 HAL_PORT_NC
#define LCD_TFT_16BIT_CH0_MASK 0x00

#define LCD_TFT_16BIT_CH1 // Pin not routed.
#define LCD_TFT_16BIT_CH1_MASK 0xFF00
#define LCD_TFT_16BIT_CH1 HAL_PORT_NC
#define LCD_TFT_16BIT_CH1_MASK 0x00

#ifdef __cplusplus
}
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -402,11 +402,11 @@ extern "C"{
#define LCD_TFT_8BIT_CH0 PORT_E
#define LCD_TFT_CH0_8BIT_MASK 0xFF

#define LCD_TFT_16BIT_CH0 PORT_E
#define LCD_TFT_16BIT_CH0_MASK 0xFF
#define LCD_TFT_16BIT_CH0 HAL_PORT_NC
#define LCD_TFT_16BIT_CH0_MASK 0x00

#define LCD_TFT_16BIT_CH1 // Pin not routed.
#define LCD_TFT_16BIT_CH1_MASK 0xFF00
#define LCD_TFT_16BIT_CH1 HAL_PORT_NC
#define LCD_TFT_16BIT_CH1_MASK 0x00

#ifdef __cplusplus
}
Expand Down
Loading