phyboard-wega: Added platform support for phyBOARD-Wega
Like the beaglebone, the phyBOARD-Wega also got an am335x. So I merged the four mmap-functions for gpio_context and some identical defines in a separate header and c-file. The new platform support-files are based on beaglebone-files. The documentation of phyBOARD-Wega is still in process, but for now there are enough informations. At this time it is possible to use GPIO-Pins and Uart0 (tested via python with mraa). The code for using SPI, I2C and PWM is also still in process and not tested yet. Signed-off-by: Norbert Wesp <nwesp@phytec.de> Signed-off-by: Brendan Le Foll <brendan.le.foll@intel.com>
This commit is contained in:
committed by
Brendan Le Foll
parent
72261d61bd
commit
4472ff1629
@@ -51,6 +51,7 @@ typedef enum {
|
||||
MRAA_INTEL_CHERRYHILLS = 11, /**< The Intel Braswell Cherryhills */
|
||||
MRAA_UP = 12, /**< The UP Board */
|
||||
MRAA_INTEL_GT_TUCHUCK = 13, /**< The Intel GT Tuchuck Board */
|
||||
MRAA_PHYBOARD_WEGA = 14, /**< The phyBOARD-Wega */
|
||||
|
||||
// USB platform extenders start at 256
|
||||
MRAA_FTDI_FT4222 = 256, /**< FTDI FT4222 USB to i2c bridge */
|
||||
|
||||
@@ -52,6 +52,7 @@ typedef enum {
|
||||
INTEL_CHERRYHILLS = 11, /**< The Intel Braswell Cherryhills */
|
||||
INTEL_UP = 12, /**< The UP Board */
|
||||
INTEL_GT_TUCHUCK = 13, /**< The Intel GT Board */
|
||||
PHYBOARD_WEGA = 14, /**< The phyBOARD-Wega */
|
||||
|
||||
FTDI_FT4222 = 256, /**< FTDI FT4222 USB to i2c bridge */
|
||||
|
||||
|
||||
Reference in New Issue
Block a user