Skip to main content
Linda
Associate III
June 18, 2014
Question

copy 2 projects to my project, one is PWM, the other one is Examples\ADC

  • June 18, 2014
  • 3 replies
  • 679 views
Posted on June 18, 2014 at 21:18

I copy 2 projects into mine, one is PWM, the other one is Examples\ADC\ADC_RegularConversion_DMA.  Both of them work perfectly separately

before, but after copied, only one can work.

I

guess it might because  some functions occurs 3 times, 1 in the Main(), 1 in PWM, 1 in ADC, like:  HAL_Init(); SystemClock_Config(); BSP_LED_Init(LED3);

I delete some, but the program still doesn’t work.

Please help.

Thanks

    This topic has been closed for replies.

    3 replies

    Tesla DeLorean
    Guru
    June 18, 2014
    Posted on June 18, 2014 at 21:55

    Try using a Merge tool, and understand the differences in the projects, figure out the parts you need to take from each, and what you have to integrate.

    Tips, Buy me a coffee, or three.. PayPal Venmo (See Profile) Up vote any posts that you find helpful, it shows what's working..
    Linda
    LindaAuthor
    Associate III
    June 18, 2014
    Posted on June 18, 2014 at 22:49

    what Merge tool I can use?

    Thanks

    Tesla DeLorean
    Guru
    June 18, 2014
    Tips, Buy me a coffee, or three.. PayPal Venmo (See Profile) Up vote any posts that you find helpful, it shows what's working..