- Mar 09, 2017
-
-
Gregory Nutt authored
-
Freddie Chopin authored
It is possible that a context switch occurs after stm32_i2c_isr() call but before elapsed time is saved in stm32_i2c_sem_waitdone(). It is then possible that the handling code was executed only once with "elapsed time" equal 0. When scheduler resumes this thread it is quite possible that now "elapsed time" will be well above timeout threshold. In that case the function returns and reports a timeout, even though the handling code was not executed "recently". Fix this by inverting the order of operations in the loop - save elapsed time before handling I2C. This way a context switch anywhere in the loop will not cause an erroneous "timeout" error.
-
Gregory Nutt authored
-
Andreas Bihlmaier authored
fix as5048b by adding missing frequency parameter Approved-by: Gregory Nutt
-
Andreas Bihlmaier authored
increase number of supported PWM channels from 4 to 6 Approved-by: Gregory Nutt
-
Andreas Bihlmaier authored
actually write modified value to register Approved-by: Gregory Nutt
-
Andreas Bihlmaier authored
use correct macro for irqid (fortunately both point to LPC43_IRQ_EXTINT+18) Approved-by: Gregory Nutt
-
Andreas Bihlmaier authored
fix logic in preprocessor checks and correct arguments to lpc43_pin_config initialization Approved-by: Gregory Nutt
-
Andreas Bihlmaier authored
fix logic error in lpc43_adc Approved-by: Gregory Nutt
-
Andreas Bihlmaier authored
Fix errors in LPC43 SCT and SGPIO headers. Approved-by: Gregory Nutt
-
Andreas Bihlmaier authored
rename LPC43_GPDMA_GLOBAL_CONFIG (already slipped previous commit C file); fix GPDMA_CONTROL_SBSIZE_*, improve usability of GPDMA_CONTROL_{S,D} macros Approved-by: Gregory Nutt
-
Andreas Bihlmaier authored
add missing PINCONF_INBUFFER in several places of lpc4310203050_pinconfig.h Approved-by: Gregory Nutt
-
Andreas Bihlmaier authored
change Kconfig type of ADC0_MASK from hex to int; add ADC driver options to lpc43xx Approved-by: Gregory Nutt
-
Andreas Bihlmaier authored
add LPC4337FET256 Approved-by: Gregory Nutt
-
ahb authored
-
ahb authored
-
ahb authored
-
ahb authored
-
ahb authored
-
ahb authored
-
ahb authored
Note: This has already been tested. However, I have to significantly clean up the actual drivers (C files) before committing them, too.
-
ahb authored
rename LPC43_GPDMA_GLOBAL_CONFIG (already slipped previous commit C file); fix GPDMA_CONTROL_SBSIZE_*, improve usability of GPDMA_CONTROL_{S,D} macros
-
ahb authored
-
ahb authored
-
ahb authored
-
- Mar 08, 2017
-
-
Alan Carvalho de Assis authored
-
David Sidrane authored
Ensure interrups are back on BEFORE running code dependant on clock_systimer Approved-by: Gregory Nutt
-
David Sidrane authored
-
Gregory Nutt authored
-
David Sidrane authored
Kinetis:Fixed GPIO _PIN_OUTPUT_LOWDRIVE swapped with _PIN_OUTPUT_OPENDRAIN Approved-by: Gregory Nutt
-
Alan Carvalho de Assis authored
-
Alan Carvalho de Assis authored
-
David Sidrane authored
-
Alan Carvalho de Assis authored
-
Alan Carvalho de Assis authored
-
Alan Carvalho de Assis authored
-
Alan Carvalho de Assis authored
-
Alan Carvalho de Assis authored
-
Alan Carvalho de Assis authored
-
Alan Carvalho de Assis authored
-