[TARGET_DISCO_F303] reorder structure part4

Remove change of wrong target and add it to the wright one. Additionally
changing the CoIDE template file to the correct mcu.
pull/678/head
Olaf Hagendorf 2014-11-12 14:31:57 +01:00
parent 20212b8c6b
commit 691f34097a
3 changed files with 4 additions and 4 deletions

View File

@ -71,6 +71,9 @@ HAL_StatusTypeDef HAL_InitTick(uint32_t TickPriority) {
// Reset timer
TIM_MST_RESET_ON;
TIM_MST_RESET_OFF;
// Update the SystemCoreClock variable
SystemCoreClockUpdate();
// Configure time base
TimMasterHandle.Instance = TIM_MST;

View File

@ -72,9 +72,6 @@ HAL_StatusTypeDef HAL_InitTick(uint32_t TickPriority) {
TIM_MST_RESET_ON;
TIM_MST_RESET_OFF;
// Update the SystemCoreClock variable
SystemCoreClockUpdate();
// Configure time base
TimMasterHandle.Instance = TIM_MST;
TimMasterHandle.Init.Period = 0xFFFFFFFF;

View File

@ -1,7 +1,7 @@
<?xml version="1.0" encoding="UTF-8" standalone="no"?>
<Project version="2G - 1.7.5" name="{{name}}">
<Target name="{{name}}" isCurrent="1">
<Device manufacturerId="9" manufacturerName="ST" chipId="499" chipName="STM32F411RE" boardId="" boardName=""/>
<Device manufacturerId="9" manufacturerName="ST" chipId="520" chipName="STM32F303VC" boardId="" boardName=""/>
<BuildOption>
<Compile>
<Option name="OptimizationLevel" value="4"/>