Thanks Daniel.
There was another define at the end of the file which has to be changed...
So for anyone who is interested to change the SafeBoot Pin to 22 the mcpconfigboard.h file in the /boards/WIPY folder should look like this:
Code: Select all
#define WIPY
#define MICROPY_HW_BOARD_NAME "WiPy"
#define MICROPY_HW_MCU_NAME "CC3200"
#define MICROPY_HW_ANTENNA_DIVERSITY (1)
#define MICROPY_SYS_LED_PRCM PRCM_GPIOA3
#define MICROPY_SAFE_BOOT_PRCM PRCM_GPIOA2
#define MICROPY_SYS_LED_PORT GPIOA3_BASE
#define MICROPY_SAFE_BOOT_PORT GPIOA2_BASE
#define MICROPY_SYS_LED_GPIO pin_GP25
#define MICROPY_SYS_LED_PIN_NUM PIN_21 // GP25 (SOP2)
#define MICROPY_SAFE_BOOT_PIN_NUM PIN_15 // GP22
#define MICROPY_SYS_LED_PORT_PIN GPIO_PIN_1
#define MICROPY_SAFE_BOOT_PORT_PIN GPIO_PIN_6
#define MICROPY_PORT_SFLASH_BLOCK_COUNT 96
Building the bootloader and application worked for me with
make BTARGET=application BTYPE=release BOARD=WIPY
make BTARGET=bootloader BTYPE=release BOARD=WIPY
Flashing worked perfect with the expansion board and connecting the testpoint to 3.3V.