diff options
author | Travis Geiselbrecht <geist@foobox.com> | 2015-12-14 15:47:31 -0800 |
---|---|---|
committer | Travis Geiselbrecht <geist@foobox.com> | 2015-12-14 15:47:31 -0800 |
commit | 9e082e1bf1594db6bb30716b382498feea588ab4 (patch) | |
tree | c215273a93dae1b52256d0bbb75b60941942d000 | |
parent | 19a0790769fd89d065fd5ffc83815065a05dae55 (diff) | |
download | common-9e082e1bf1594db6bb30716b382498feea588ab4.tar.gz |
[target][dartuino] remove another commented out function
-rw-r--r-- | target/dartuinoP0/init.c | 24 |
1 files changed, 0 insertions, 24 deletions
diff --git a/target/dartuinoP0/init.c b/target/dartuinoP0/init.c index 10a4b3e6..d06b33fd 100644 --- a/target/dartuinoP0/init.c +++ b/target/dartuinoP0/init.c @@ -51,8 +51,6 @@ const sdram_config_t target_sdram_config = { .col_bits_num = SDRAM_COLUMN_BITS_8 }; - - void target_early_init(void) { GPIO_InitTypeDef gpio_init; @@ -142,28 +140,6 @@ void target_init(void) target_usb_setup(); } -/* -void target_init(void) -{ - uint8_t* mac_addr = gen_mac_address(); - stm32_debug_init(); - - eth_init(mac_addr, PHY_KSZ8721); -#if WITH_LIB_MINIP - minip_set_macaddr(mac_addr); - - uint32_t ip_addr = IPV4(192, 168, 0, 98); - uint32_t ip_mask = IPV4(255, 255, 255, 0); - uint32_t ip_gateway = IPV4_NONE; - minip_init(stm32_eth_send_minip_pkt, NULL, ip_addr, ip_mask, ip_gateway); -#endif - - // start usb - target_usb_setup(); - -} -*/ - void HAL_SPI_MspInit(SPI_HandleTypeDef *hspi) { GPIO_InitTypeDef GPIO_InitStruct; |