implement suggested changes
This commit is contained in:
parent
dc1109dba7
commit
d597410330
|
@ -25,8 +25,6 @@ _estack = ORIGIN(RAM) + LENGTH(RAM);
|
||||||
/* RAM extents for the garbage collector */
|
/* RAM extents for the garbage collector */
|
||||||
_ram_start = ORIGIN(RAM);
|
_ram_start = ORIGIN(RAM);
|
||||||
_ram_end = ORIGIN(RAM) + LENGTH(RAM);
|
_ram_end = ORIGIN(RAM) + LENGTH(RAM);
|
||||||
_heap_start = _ebss; /* heap starts just after statically allocated memory */
|
|
||||||
_heap_end = 0x2001c000; /* tunable */
|
|
||||||
|
|
||||||
ENTRY(Reset_Handler)
|
ENTRY(Reset_Handler)
|
||||||
|
|
||||||
|
|
|
@ -1,11 +1,10 @@
|
||||||
USB_VID = 0x239A
|
USB_VID = 0x239A
|
||||||
USB_PID = 0x8056
|
USB_PID = 0x8056
|
||||||
USB_PRODUCT = "Pyboard Version 1.1"
|
USB_PRODUCT = "Pyboard Version 1.1"
|
||||||
USB_MANUFACTURER = "STMicroelectronics"
|
USB_MANUFACTURER = "George Robotic"
|
||||||
USB_DEVICES = "CDC,MSC"
|
USB_DEVICES = "CDC,MSC"
|
||||||
|
|
||||||
INTERNAL_FLASH_FILESYSTEM = 1
|
INTERNAL_FLASH_FILESYSTEM = 1
|
||||||
#DISABLE_FILESYSTEM = 1
|
|
||||||
LONGINT_IMPL = NONE
|
LONGINT_IMPL = NONE
|
||||||
|
|
||||||
MCU_SERIES = m4
|
MCU_SERIES = m4
|
||||||
|
|
|
@ -34,12 +34,6 @@ void stm32f4_peripherals_gpio_init(void) {
|
||||||
__HAL_RCC_GPIOA_CLK_ENABLE();
|
__HAL_RCC_GPIOA_CLK_ENABLE();
|
||||||
__HAL_RCC_GPIOB_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 pins
|
||||||
never_reset_pin_number(2,13); //PC13 anti tamp
|
never_reset_pin_number(2,13); //PC13 anti tamp
|
||||||
never_reset_pin_number(2,14); //PC14 OSC32_IN
|
never_reset_pin_number(2,14); //PC14 OSC32_IN
|
||||||
|
|
Loading…
Reference in New Issue