summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorHierophect <hierophect@gmail.com>2019-09-24 14:15:04 -0400
committerHierophect <hierophect@gmail.com>2019-09-24 14:15:04 -0400
commitd597410330f5950158dec5a1e1df6aa4940137ed (patch)
treed619e3ea8186f7a9ef6ec49cce32beb55c8c1429
parentdc1109dba7e7058436b1987c903dcd17625ebe01 (diff)
implement suggested changes
-rw-r--r--ports/stm32f4/boards/STM32F405.ld2
-rw-r--r--ports/stm32f4/boards/pyboard_v11/mpconfigboard.mk3
-rw-r--r--ports/stm32f4/peripherals/stm32f4/stm32f405xx/gpio.c6
3 files changed, 1 insertions, 10 deletions
diff --git a/ports/stm32f4/boards/STM32F405.ld b/ports/stm32f4/boards/STM32F405.ld
index 4cf89890a..7f7c91784 100644
--- a/ports/stm32f4/boards/STM32F405.ld
+++ b/ports/stm32f4/boards/STM32F405.ld
@@ -25,8 +25,6 @@ _estack = ORIGIN(RAM) + LENGTH(RAM);
/* RAM extents for the garbage collector */
_ram_start = ORIGIN(RAM);
_ram_end = ORIGIN(RAM) + LENGTH(RAM);
-_heap_start = _ebss; /* heap starts just after statically allocated memory */
-_heap_end = 0x2001c000; /* tunable */
ENTRY(Reset_Handler)
diff --git a/ports/stm32f4/boards/pyboard_v11/mpconfigboard.mk b/ports/stm32f4/boards/pyboard_v11/mpconfigboard.mk
index c11dd73ae..de85018fe 100644
--- a/ports/stm32f4/boards/pyboard_v11/mpconfigboard.mk
+++ b/ports/stm32f4/boards/pyboard_v11/mpconfigboard.mk
@@ -1,11 +1,10 @@
USB_VID = 0x239A
USB_PID = 0x8056
USB_PRODUCT = "Pyboard Version 1.1"
-USB_MANUFACTURER = "STMicroelectronics"
+USB_MANUFACTURER = "George Robotic"
USB_DEVICES = "CDC,MSC"
INTERNAL_FLASH_FILESYSTEM = 1
-#DISABLE_FILESYSTEM = 1
LONGINT_IMPL = NONE
MCU_SERIES = m4
diff --git a/ports/stm32f4/peripherals/stm32f4/stm32f405xx/gpio.c b/ports/stm32f4/peripherals/stm32f4/stm32f405xx/gpio.c
index 2545e0470..3c9af0e43 100644
--- a/ports/stm32f4/peripherals/stm32f4/stm32f405xx/gpio.c
+++ b/ports/stm32f4/peripherals/stm32f4/stm32f405xx/gpio.c
@@ -34,12 +34,6 @@ void stm32f4_peripherals_gpio_init(void) {
__HAL_RCC_GPIOA_CLK_ENABLE();
__HAL_RCC_GPIOB_CLK_ENABLE();
- //Status LED chain
- stm32f4_peripherals_status_led(0,1);
- stm32f4_peripherals_status_led(1,0);
- stm32f4_peripherals_status_led(2,0);
- stm32f4_peripherals_status_led(3,0);
-
//Never reset pins
never_reset_pin_number(2,13); //PC13 anti tamp
never_reset_pin_number(2,14); //PC14 OSC32_IN