cleanup of Mikromedia STM32-M4 board support
parent
9aeef56c9a
commit
b34819bb76
|
@ -5,11 +5,6 @@
|
||||||
* http://ugfx.org/license.html
|
* http://ugfx.org/license.html
|
||||||
*/
|
*/
|
||||||
|
|
||||||
/**
|
|
||||||
* @file boards/base/Mikromedia-STM32-M4-ILI9341/board_ILI9341.h
|
|
||||||
* @brief GDISP Graphics Driver subsystem low level driver source for the ILI9341 display.
|
|
||||||
*/
|
|
||||||
|
|
||||||
#ifndef _GDISP_LLD_BOARD_H
|
#ifndef _GDISP_LLD_BOARD_H
|
||||||
#define _GDISP_LLD_BOARD_H
|
#define _GDISP_LLD_BOARD_H
|
||||||
|
|
||||||
|
|
|
@ -5,11 +5,6 @@
|
||||||
* http://ugfx.org/license.html
|
* http://ugfx.org/license.html
|
||||||
*/
|
*/
|
||||||
|
|
||||||
/**
|
|
||||||
* @file boards/base/Mikromedia-STM32-M4-ILI9341/ginput_lld_mouse_board.h
|
|
||||||
* @brief GINPUT Touch low level driver source for the MCU.
|
|
||||||
*/
|
|
||||||
|
|
||||||
#ifndef _GINPUT_LLD_MOUSE_BOARD_H
|
#ifndef _GINPUT_LLD_MOUSE_BOARD_H
|
||||||
#define _GINPUT_LLD_MOUSE_BOARD_H
|
#define _GINPUT_LLD_MOUSE_BOARD_H
|
||||||
|
|
||||||
|
@ -31,29 +26,14 @@ static const ADCConversionGroup adcgrpcfg = {
|
||||||
ADC_SQR3_SQ2_N(ADC_CHANNEL_IN8) | ADC_SQR3_SQ1_N(ADC_CHANNEL_IN9)
|
ADC_SQR3_SQ2_N(ADC_CHANNEL_IN8) | ADC_SQR3_SQ1_N(ADC_CHANNEL_IN9)
|
||||||
};
|
};
|
||||||
|
|
||||||
/**
|
|
||||||
* @brief Initialise the board for the touch.
|
|
||||||
*
|
|
||||||
* @notapi
|
|
||||||
*/
|
|
||||||
static inline void init_board(void) {
|
static inline void init_board(void) {
|
||||||
adcStart(&ADCD1, 0);
|
adcStart(&ADCD1, 0);
|
||||||
}
|
}
|
||||||
|
|
||||||
/**
|
|
||||||
* @brief Aquire the bus ready for readings
|
|
||||||
*
|
|
||||||
* @notapi
|
|
||||||
*/
|
|
||||||
static inline void aquire_bus(void) {
|
static inline void aquire_bus(void) {
|
||||||
|
|
||||||
}
|
}
|
||||||
|
|
||||||
/**
|
|
||||||
* @brief Release the bus after readings
|
|
||||||
*
|
|
||||||
* @notapi
|
|
||||||
*/
|
|
||||||
static inline void release_bus(void) {
|
static inline void release_bus(void) {
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
|
@ -5,16 +5,6 @@
|
||||||
* http://ugfx.org/license.html
|
* http://ugfx.org/license.html
|
||||||
*/
|
*/
|
||||||
|
|
||||||
/**
|
|
||||||
* @file boards/base/Mikromedia-STM32-M4-ILI9341/ginput_lld_mouse_config.h
|
|
||||||
* @brief GINPUT LLD header file for touch driver.
|
|
||||||
*
|
|
||||||
* @defgroup Mouse Mouse
|
|
||||||
* @ingroup GINPUT
|
|
||||||
*
|
|
||||||
* @{
|
|
||||||
*/
|
|
||||||
|
|
||||||
#ifndef _LLD_GINPUT_MOUSE_CONFIG_H
|
#ifndef _LLD_GINPUT_MOUSE_CONFIG_H
|
||||||
#define _LLD_GINPUT_MOUSE_CONFIG_H
|
#define _LLD_GINPUT_MOUSE_CONFIG_H
|
||||||
|
|
||||||
|
@ -29,4 +19,3 @@
|
||||||
#define GINPUT_MOUSE_CLICK_TIME 500
|
#define GINPUT_MOUSE_CLICK_TIME 500
|
||||||
|
|
||||||
#endif /* _LLD_GINPUT_MOUSE_CONFIG_H */
|
#endif /* _LLD_GINPUT_MOUSE_CONFIG_H */
|
||||||
/** @} */
|
|
||||||
|
|
|
@ -12,4 +12,4 @@ Note there are two variants of this board - one with the ILI9341 display
|
||||||
As this is not a standard ChibiOS supported board the necessary board files have also
|
As this is not a standard ChibiOS supported board the necessary board files have also
|
||||||
been provided in the ChibiOS_Board directory.
|
been provided in the ChibiOS_Board directory.
|
||||||
|
|
||||||
There is an example Makefile and project in the examples directory.
|
There are two examples, one for ChibiOS/RT 2.x and one for ChibiOS/RT 3.x available.
|
||||||
|
|
|
@ -39,6 +39,7 @@ FIX: Imagebox widget bug fix that could cause gwinImageOpenFile() to crash
|
||||||
FEATURE: GWIN containers such as "container" and "frame" which provides parent/children widget management
|
FEATURE: GWIN containers such as "container" and "frame" which provides parent/children widget management
|
||||||
FEATURE: Added gdispContrastColor()
|
FEATURE: Added gdispContrastColor()
|
||||||
FEATURE: Added gwinShow() and gwinHide()
|
FEATURE: Added gwinShow() and gwinHide()
|
||||||
|
FEATURE: ChibiOS/RT 3.x support and example for the Mikromedia STM32-M4 board.
|
||||||
|
|
||||||
|
|
||||||
*** Release 2.0 ***
|
*** Release 2.0 ***
|
||||||
|
|
Loading…
Reference in New Issue