function declare

2019-06-25 Thread Jython
I have a function named *oled_write_temp* in a.c, if i dont declare it in a.h , then i will get the wrong supply value in the function within main call, why? if i declare it in a.h, then all is right void oled_write_temp(float set_temp, const float supply, float return_temp) > { > > int bas

Re: stm32 external SRAM

2019-06-25 Thread Christian Mauderer
On 25/06/2019 04:35, Jython wrote: > printf("data  test return %04x\n", memTestDataBus(0x6802)); > >     >     printf("addr bus test return %04x\n", > memTestAddressBus(0x6800, 1024*1024)); > > > memtest all passed at application mode, > > when SRAM init function moves

Re: stm32f4 __wfi

2019-06-25 Thread Christian Mauderer
On 25/06/2019 02:30, Jython wrote: > this is the configure: > > #define CONFIGURE_APPLICATION_NEEDS_CONSOLE_DRIVER > #define CONFIGURE_APPLICATION_NEEDS_CLOCK_DRIVER > #define CONFIGURE_APPLICATION_NEEDS_RTC_DRIVER > > #define CONFIGURE_MAXIMUM_TASKS         5 > #define CONFIGURE_MAXIMUM_TIMERS