Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
stmhal: Add support for FEZ Cerb40 II board from ghielectronics.com.
- Loading branch information
Showing
12 changed files
with
512 additions
and
0 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,29 @@ | ||
#define CERB40 | ||
|
||
#define MICROPY_HW_BOARD_NAME "Cerb40" | ||
#define MICROPY_HW_MCU_NAME "STM32F405RG" | ||
#define MICROPY_PY_SYS_PLATFORM "pyboard" | ||
|
||
#define MICROPY_HW_HAS_SWITCH (0) | ||
#define MICROPY_HW_HAS_SDCARD (0) | ||
#define MICROPY_HW_HAS_MMA7660 (0) | ||
#define MICROPY_HW_HAS_LIS3DSH (0) | ||
#define MICROPY_HW_HAS_LCD (0) | ||
#define MICROPY_HW_ENABLE_RNG (1) | ||
#define MICROPY_HW_ENABLE_RTC (1) | ||
#define MICROPY_HW_ENABLE_TIMER (1) | ||
#define MICROPY_HW_ENABLE_SERVO (0) | ||
#define MICROPY_HW_ENABLE_DAC (1) | ||
#define MICROPY_HW_ENABLE_I2C1 (1) | ||
#define MICROPY_HW_ENABLE_SPI1 (1) | ||
#define MICROPY_HW_ENABLE_SPI2 (0) | ||
#define MICROPY_HW_ENABLE_SPI3 (1) | ||
#define MICROPY_HW_ENABLE_CAN (1) | ||
|
||
// The Cerb40 has No LEDs | ||
|
||
// The Cerb40 has No SDCard | ||
|
||
// USB config | ||
//#define MICROPY_HW_USB_VBUS_DETECT_PIN (pin_A9) | ||
//#define MICROPY_HW_USB_OTG_ID_PIN (pin_A10) |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,40 @@ | ||
JP1,3.3V | ||
JP2,GND | ||
JP3,PA8 | ||
JP4,PA13 | ||
JP5,PA7 | ||
JP6,PA6 | ||
JP7,PC10 | ||
JP8,PA14 | ||
JP9,PC11 | ||
JP10,PB4 | ||
JP11,PB9 | ||
JP12,PB3 | ||
JP13,PD2 | ||
JP14,PC12 | ||
JP15,VBAT | ||
JP16,PB8 | ||
JP17,Loader | ||
JP18,PB7 | ||
JP19,PB6 | ||
JP20,PB5 | ||
JP21,Reset | ||
JP22,PC0 | ||
JP23,PC1 | ||
JP24,PC2 | ||
JP25,PC3 | ||
JP26,PA0 | ||
JP27,PA1 | ||
JP28,PA2 | ||
JP29,PA3 | ||
JP30,PA4 | ||
JP31,PA5 | ||
JP32,PB10 | ||
JP33,PB11 | ||
JP34,PB14 | ||
JP35,PB15 | ||
JP36,PC6 | ||
JP37,PC7 | ||
JP38,PC8 | ||
JP39,PC9 | ||
JP40,VUSB |
Oops, something went wrong.