1. 02 7月, 2021 2 次提交
  2. 18 12月, 2020 1 次提交
  3. 02 6月, 2020 1 次提交
  4. 15 5月, 2020 1 次提交
  5. 18 4月, 2020 1 次提交
  6. 05 4月, 2020 1 次提交
  7. 28 3月, 2020 1 次提交
  8. 28 2月, 2020 1 次提交
  9. 13 2月, 2020 1 次提交
    • D
      py: Add mp_raise_msg_varg helper and use it where appropriate. · ad7213d3
      Damien George 提交于
      This commit adds mp_raise_msg_varg(type, fmt, ...) as a helper for
      nlr_raise(mp_obj_new_exception_msg_varg(type, fmt, ...)).  It makes the
      C-level API for raising exceptions more consistent, and reduces code size
      on most ports:
      
         bare-arm:   +28 +0.042%
      minimal x86:  +100 +0.067%
         unix x64:   -56 -0.011%
      unix nanbox:  -300 -0.068%
            stm32:  -204 -0.054% PYBV10
           cc3200:    +0 +0.000%
          esp8266:   -64 -0.010% GENERIC
            esp32:  -104 -0.007% GENERIC
              nrf:  -136 -0.094% pca10040
             samd:    +0 +0.000% ADAFRUIT_ITSYBITSY_M4_EXPRESS
      ad7213d3
  10. 15 10月, 2019 4 次提交
  11. 04 10月, 2019 1 次提交
    • C
      stm32/{adc,machine_adc}: Change ADC clock and sampling time for F0 MCUs. · 0096041c
      Chris Mason 提交于
      STM32F0 has PCLK=48MHz and maximum ADC clock is 14MHz so use PCLK/4=12MHz
      to stay within spec of the ADC peripheral.  In pyb.ADC set common sampling
      time to approx 4uS for internal and external sources.  In machine.ADC
      reduce sample time to approx 1uS for external source, leave internal at
      maximum sampling time.
      0096041c
  12. 08 7月, 2019 1 次提交
  13. 03 7月, 2019 1 次提交
  14. 20 5月, 2019 1 次提交
  15. 02 5月, 2019 1 次提交
    • C
      stm32: Add support for F413 MCUs. · 1b956ec8
      Chris Mason 提交于
      Includes:
      - Support for CAN3.
      - Support for UART9 and UART10.
      - stm32f413xg.ld and stm32f413xh.ld linker scripts.
      - stm32f413_af.csv alternate function mapping.
      - startup_stm32f413xx.s because F413 has different interrupt vector table.
      - Memory configuration with: 240K filesystem, 240K heap, 16K stack.
      1b956ec8
  16. 12 2月, 2019 1 次提交
  17. 06 2月, 2019 1 次提交
  18. 12 12月, 2018 3 次提交
  19. 06 12月, 2018 1 次提交
  20. 26 11月, 2018 1 次提交
  21. 20 9月, 2018 3 次提交
  22. 04 8月, 2018 2 次提交
  23. 08 7月, 2018 1 次提交
    • D
      stm32: Support compiling with object representation D. · e1ae9939
      Damien George 提交于
      With this and previous patches the stm32 port can now be compiled using
      object representation D (nan boxing).  Note that native code and frozen mpy
      files with float constants are currently not supported with this object
      representation.
      e1ae9939
  24. 28 5月, 2018 1 次提交
  25. 18 5月, 2018 1 次提交
  26. 04 5月, 2018 1 次提交
  27. 02 5月, 2018 1 次提交
  28. 01 5月, 2018 1 次提交
    • I
      stm32/adc: Add support for H7 MCU series. · 8c12f1d9
      iabdalkader 提交于
      ADC3 is used because the H7's internal ADC channels are connected to ADC3
      and the uPy driver doesn't support more than one ADC.
      
      Only 12-bit resolution is supported because 12 is hard-coded and 14/16 bits
      are not recommended on some ADC3 pins (see errata).
      
      Values from internal ADC channels are known to give wrong values at
      present.
      8c12f1d9
  29. 11 4月, 2018 3 次提交