Browse Source

stm32/boards: Move includes to after defines in all hal_conf.h files.

The include of HAL headers should come after the HAL configuration defines,
so that the headers can see whether the defines were made or not, to
provide defaults and configure various things.

Signed-off-by: Damien George <damien@micropython.org>
pull/12536/head
Damien George 1 year ago
parent
commit
82b4ab7576
  1. 4
      ports/stm32/boards/ADAFRUIT_F405_EXPRESS/stm32f4xx_hal_conf.h
  2. 4
      ports/stm32/boards/ARDUINO_GIGA/stm32h7xx_hal_conf.h
  3. 4
      ports/stm32/boards/ARDUINO_NICLA_VISION/stm32h7xx_hal_conf.h
  4. 4
      ports/stm32/boards/ARDUINO_PORTENTA_H7/stm32h7xx_hal_conf.h
  5. 4
      ports/stm32/boards/B_L072Z_LRWAN1/stm32l0xx_hal_conf.h
  6. 4
      ports/stm32/boards/B_L475E_IOT01A/stm32l4xx_hal_conf.h
  7. 4
      ports/stm32/boards/CERB40/stm32f4xx_hal_conf.h
  8. 4
      ports/stm32/boards/ESPRUINO_PICO/stm32f4xx_hal_conf.h
  9. 4
      ports/stm32/boards/GARATRONIC_NADHAT_F405/stm32f4xx_hal_conf.h
  10. 4
      ports/stm32/boards/GARATRONIC_PYBSTICK26_F411/stm32f4xx_hal_conf.h
  11. 4
      ports/stm32/boards/HYDRABUS/stm32f4xx_hal_conf.h
  12. 4
      ports/stm32/boards/LEGO_HUB_NO6/stm32f4xx_hal_conf.h
  13. 7
      ports/stm32/boards/LEGO_HUB_NO7/stm32f4xx_hal_conf.h
  14. 4
      ports/stm32/boards/LIMIFROG/stm32l4xx_hal_conf.h
  15. 4
      ports/stm32/boards/MIKROE_CLICKER2_STM32/stm32f4xx_hal_conf.h
  16. 4
      ports/stm32/boards/MIKROE_QUAIL/stm32f4xx_hal_conf.h
  17. 4
      ports/stm32/boards/NETDUINO_PLUS_2/stm32f4xx_hal_conf.h
  18. 4
      ports/stm32/boards/NUCLEO_F091RC/stm32f0xx_hal_conf.h
  19. 4
      ports/stm32/boards/NUCLEO_F401RE/stm32f4xx_hal_conf.h
  20. 4
      ports/stm32/boards/NUCLEO_F411RE/stm32f4xx_hal_conf.h
  21. 4
      ports/stm32/boards/NUCLEO_F412ZG/stm32f4xx_hal_conf.h
  22. 4
      ports/stm32/boards/NUCLEO_F413ZH/stm32f4xx_hal_conf.h
  23. 4
      ports/stm32/boards/NUCLEO_F429ZI/stm32f4xx_hal_conf.h
  24. 4
      ports/stm32/boards/NUCLEO_F439ZI/stm32f4xx_hal_conf.h
  25. 4
      ports/stm32/boards/NUCLEO_F446RE/stm32f4xx_hal_conf.h
  26. 4
      ports/stm32/boards/NUCLEO_F722ZE/stm32f7xx_hal_conf.h
  27. 4
      ports/stm32/boards/NUCLEO_F746ZG/stm32f7xx_hal_conf.h
  28. 4
      ports/stm32/boards/NUCLEO_F756ZG/stm32f7xx_hal_conf.h
  29. 4
      ports/stm32/boards/NUCLEO_F767ZI/stm32f7xx_hal_conf.h
  30. 4
      ports/stm32/boards/NUCLEO_G474RE/stm32g4xx_hal_conf.h
  31. 4
      ports/stm32/boards/NUCLEO_H723ZG/stm32h7xx_hal_conf.h
  32. 4
      ports/stm32/boards/NUCLEO_H743ZI/stm32h7xx_hal_conf.h
  33. 4
      ports/stm32/boards/NUCLEO_L073RZ/stm32l0xx_hal_conf.h
  34. 4
      ports/stm32/boards/NUCLEO_L432KC/stm32l4xx_hal_conf.h
  35. 4
      ports/stm32/boards/NUCLEO_L452RE/stm32l4xx_hal_conf.h
  36. 4
      ports/stm32/boards/NUCLEO_L476RG/stm32l4xx_hal_conf.h
  37. 4
      ports/stm32/boards/NUCLEO_L4A6ZG/stm32l4xx_hal_conf.h
  38. 4
      ports/stm32/boards/OLIMEX_E407/stm32f4xx_hal_conf.h
  39. 4
      ports/stm32/boards/OLIMEX_H407/stm32f4xx_hal_conf.h
  40. 4
      ports/stm32/boards/PYBD_SF2/stm32f7xx_hal_conf.h
  41. 4
      ports/stm32/boards/PYBLITEV10/stm32f4xx_hal_conf.h
  42. 4
      ports/stm32/boards/PYBV10/stm32f4xx_hal_conf.h
  43. 4
      ports/stm32/boards/PYBV11/stm32f4xx_hal_conf.h
  44. 4
      ports/stm32/boards/PYBV3/stm32f4xx_hal_conf.h
  45. 4
      ports/stm32/boards/PYBV4/stm32f4xx_hal_conf.h
  46. 4
      ports/stm32/boards/SPARKFUN_MICROMOD_STM32/stm32f4xx_hal_conf.h
  47. 4
      ports/stm32/boards/STM32F411DISC/stm32f4xx_hal_conf.h
  48. 4
      ports/stm32/boards/STM32F429DISC/stm32f4xx_hal_conf.h
  49. 4
      ports/stm32/boards/STM32F439/stm32f4xx_hal_conf.h
  50. 4
      ports/stm32/boards/STM32F4DISC/stm32f4xx_hal_conf.h
  51. 4
      ports/stm32/boards/STM32F769DISC/stm32f7xx_hal_conf.h
  52. 4
      ports/stm32/boards/STM32F7DISC/stm32f7xx_hal_conf.h
  53. 4
      ports/stm32/boards/STM32H573I_DK/stm32h5xx_hal_conf.h
  54. 4
      ports/stm32/boards/STM32H7B3I_DK/stm32h7xx_hal_conf.h
  55. 4
      ports/stm32/boards/STM32L476DISC/stm32l4xx_hal_conf.h
  56. 4
      ports/stm32/boards/STM32L496GDISC/stm32l4xx_hal_conf.h
  57. 4
      ports/stm32/boards/VCC_GND_F407VE/stm32f4xx_hal_conf.h
  58. 4
      ports/stm32/boards/VCC_GND_F407ZG/stm32f4xx_hal_conf.h
  59. 4
      ports/stm32/boards/VCC_GND_H743VI/stm32h7xx_hal_conf.h
  60. 50
      ports/stm32/boards/stm32f0xx_hal_conf_base.h
  61. 66
      ports/stm32/boards/stm32f4xx_hal_conf_base.h
  62. 64
      ports/stm32/boards/stm32f7xx_hal_conf_base.h
  63. 88
      ports/stm32/boards/stm32g4xx_hal_conf_base.h
  64. 66
      ports/stm32/boards/stm32h7xx_hal_conf_base.h
  65. 50
      ports/stm32/boards/stm32l0xx_hal_conf_base.h
  66. 58
      ports/stm32/boards/stm32l1xx_hal_conf_base.h
  67. 64
      ports/stm32/boards/stm32l4xx_hal_conf_base.h
  68. 42
      ports/stm32/boards/stm32wbxx_hal_conf_base.h
  69. 38
      ports/stm32/boards/stm32wlxx_hal_conf_base.h

4
ports/stm32/boards/ADAFRUIT_F405_EXPRESS/stm32f4xx_hal_conf.h

@ -5,8 +5,6 @@
#ifndef MICROPY_INCLUDED_STM32F4XX_HAL_CONF_H
#define MICROPY_INCLUDED_STM32F4XX_HAL_CONF_H
#include "boards/stm32f4xx_hal_conf_base.h"
// Oscillator values in Hz
#define HSE_VALUE (12000000)
#define LSE_VALUE (32768)
@ -16,4 +14,6 @@
#define HSE_STARTUP_TIMEOUT (100)
#define LSE_STARTUP_TIMEOUT (5000)
#include "boards/stm32f4xx_hal_conf_base.h"
#endif // MICROPY_INCLUDED_STM32F4XX_HAL_CONF_H

4
ports/stm32/boards/ARDUINO_GIGA/stm32h7xx_hal_conf.h

@ -5,8 +5,6 @@
#ifndef MICROPY_INCLUDED_STM32H7XX_HAL_CONF_H
#define MICROPY_INCLUDED_STM32H7XX_HAL_CONF_H
#include "boards/stm32h7xx_hal_conf_base.h"
// Oscillator values in Hz
#define HSE_VALUE (16000000)
#define LSE_VALUE (32768)
@ -48,4 +46,6 @@
#include "stm32h7xx_hal_mmc.h"
#endif
#include "boards/stm32h7xx_hal_conf_base.h"
#endif // MICROPY_INCLUDED_STM32H7XX_HAL_CONF_H

4
ports/stm32/boards/ARDUINO_NICLA_VISION/stm32h7xx_hal_conf.h

@ -5,8 +5,6 @@
#ifndef MICROPY_INCLUDED_STM32H7XX_HAL_CONF_H
#define MICROPY_INCLUDED_STM32H7XX_HAL_CONF_H
#include "boards/stm32h7xx_hal_conf_base.h"
// Oscillator values in Hz
#define HSE_VALUE (25000000)
#define LSE_VALUE (32768)
@ -48,4 +46,6 @@
#include "stm32h7xx_hal_mmc.h"
#endif
#include "boards/stm32h7xx_hal_conf_base.h"
#endif // MICROPY_INCLUDED_STM32H7XX_HAL_CONF_H

4
ports/stm32/boards/ARDUINO_PORTENTA_H7/stm32h7xx_hal_conf.h

@ -5,8 +5,6 @@
#ifndef MICROPY_INCLUDED_STM32H7XX_HAL_CONF_H
#define MICROPY_INCLUDED_STM32H7XX_HAL_CONF_H
#include "boards/stm32h7xx_hal_conf_base.h"
// Oscillator values in Hz
#define HSE_VALUE (25000000)
#define LSE_VALUE (32768)
@ -48,4 +46,6 @@
#include "stm32h7xx_hal_mmc.h"
#endif
#include "boards/stm32h7xx_hal_conf_base.h"
#endif // MICROPY_INCLUDED_STM32H7XX_HAL_CONF_H

4
ports/stm32/boards/B_L072Z_LRWAN1/stm32l0xx_hal_conf.h

@ -5,8 +5,6 @@
#ifndef MICROPY_INCLUDED_STM32L0XX_HAL_CONF_H
#define MICROPY_INCLUDED_STM32L0XX_HAL_CONF_H
#include "boards/stm32l0xx_hal_conf_base.h"
// Oscillator values in Hz
#define HSE_VALUE (8000000)
#define LSE_VALUE (32768)
@ -15,4 +13,6 @@
#define HSE_STARTUP_TIMEOUT (100)
#define LSE_STARTUP_TIMEOUT (5000)
#include "boards/stm32l0xx_hal_conf_base.h"
#endif // MICROPY_INCLUDED_STM32L0XX_HAL_CONF_H

4
ports/stm32/boards/B_L475E_IOT01A/stm32l4xx_hal_conf.h

@ -5,8 +5,6 @@
#ifndef MICROPY_INCLUDED_STM32L4XX_HAL_CONF_H
#define MICROPY_INCLUDED_STM32L4XX_HAL_CONF_H
#include "boards/stm32l4xx_hal_conf_base.h"
// Oscillator values in Hz
#define HSE_VALUE (8000000)
#define LSE_VALUE (32768)
@ -17,4 +15,6 @@
#define HSE_STARTUP_TIMEOUT (100)
#define LSE_STARTUP_TIMEOUT (5000)
#include "boards/stm32l4xx_hal_conf_base.h"
#endif // MICROPY_INCLUDED_STM32L4XX_HAL_CONF_H

4
ports/stm32/boards/CERB40/stm32f4xx_hal_conf.h

@ -5,8 +5,6 @@
#ifndef MICROPY_INCLUDED_STM32F4XX_HAL_CONF_H
#define MICROPY_INCLUDED_STM32F4XX_HAL_CONF_H
#include "boards/stm32f4xx_hal_conf_base.h"
// Oscillator values in Hz
#define HSE_VALUE (12000000)
#define LSE_VALUE (32768)
@ -16,4 +14,6 @@
#define HSE_STARTUP_TIMEOUT (100)
#define LSE_STARTUP_TIMEOUT (5000)
#include "boards/stm32f4xx_hal_conf_base.h"
#endif // MICROPY_INCLUDED_STM32F4XX_HAL_CONF_H

4
ports/stm32/boards/ESPRUINO_PICO/stm32f4xx_hal_conf.h

@ -5,8 +5,6 @@
#ifndef MICROPY_INCLUDED_STM32F4XX_HAL_CONF_H
#define MICROPY_INCLUDED_STM32F4XX_HAL_CONF_H
#include "boards/stm32f4xx_hal_conf_base.h"
// Oscillator values in Hz
#define HSE_VALUE (8000000)
#define LSE_VALUE (32768)
@ -16,4 +14,6 @@
#define HSE_STARTUP_TIMEOUT (100)
#define LSE_STARTUP_TIMEOUT (5000)
#include "boards/stm32f4xx_hal_conf_base.h"
#endif // MICROPY_INCLUDED_STM32F4XX_HAL_CONF_H

4
ports/stm32/boards/GARATRONIC_NADHAT_F405/stm32f4xx_hal_conf.h

@ -5,8 +5,6 @@
#ifndef MICROPY_INCLUDED_STM32F4XX_HAL_CONF_H
#define MICROPY_INCLUDED_STM32F4XX_HAL_CONF_H
#include "boards/stm32f4xx_hal_conf_base.h"
// Oscillator values in Hz
#define HSE_VALUE (16000000)
#define LSE_VALUE (32768)
@ -16,4 +14,6 @@
#define HSE_STARTUP_TIMEOUT (100)
#define LSE_STARTUP_TIMEOUT (5000)
#include "boards/stm32f4xx_hal_conf_base.h"
#endif // MICROPY_INCLUDED_STM32F4XX_HAL_CONF_H

4
ports/stm32/boards/GARATRONIC_PYBSTICK26_F411/stm32f4xx_hal_conf.h

@ -5,8 +5,6 @@
#ifndef MICROPY_INCLUDED_STM32F4XX_HAL_CONF_H
#define MICROPY_INCLUDED_STM32F4XX_HAL_CONF_H
#include "boards/stm32f4xx_hal_conf_base.h"
// Oscillator values in Hz
#define HSE_VALUE (16000000)
#define LSE_VALUE (32768)
@ -16,4 +14,6 @@
#define HSE_STARTUP_TIMEOUT (100)
#define LSE_STARTUP_TIMEOUT (5000)
#include "boards/stm32f4xx_hal_conf_base.h"
#endif // MICROPY_INCLUDED_STM32F4XX_HAL_CONF_H

4
ports/stm32/boards/HYDRABUS/stm32f4xx_hal_conf.h

@ -5,8 +5,6 @@
#ifndef MICROPY_INCLUDED_STM32F4XX_HAL_CONF_H
#define MICROPY_INCLUDED_STM32F4XX_HAL_CONF_H
#include "boards/stm32f4xx_hal_conf_base.h"
// Oscillator values in Hz
#define HSE_VALUE (8000000)
#define LSE_VALUE (32768)
@ -16,4 +14,6 @@
#define HSE_STARTUP_TIMEOUT (100)
#define LSE_STARTUP_TIMEOUT (5000)
#include "boards/stm32f4xx_hal_conf_base.h"
#endif // MICROPY_INCLUDED_STM32F4XX_HAL_CONF_H

4
ports/stm32/boards/LEGO_HUB_NO6/stm32f4xx_hal_conf.h

@ -5,8 +5,6 @@
#ifndef MICROPY_INCLUDED_STM32F4XX_HAL_CONF_H
#define MICROPY_INCLUDED_STM32F4XX_HAL_CONF_H
#include "boards/stm32f4xx_hal_conf_base.h"
// Oscillator values in Hz
#define HSE_VALUE (16000000)
#define LSE_VALUE (32768)
@ -16,4 +14,6 @@
#define HSE_STARTUP_TIMEOUT (100)
#define LSE_STARTUP_TIMEOUT (5000)
#include "boards/stm32f4xx_hal_conf_base.h"
#endif // MICROPY_INCLUDED_STM32F4XX_HAL_CONF_H

7
ports/stm32/boards/LEGO_HUB_NO7/stm32f4xx_hal_conf.h

@ -5,10 +5,6 @@
#ifndef MICROPY_INCLUDED_STM32F4XX_HAL_CONF_H
#define MICROPY_INCLUDED_STM32F4XX_HAL_CONF_H
#include "boards/stm32f4xx_hal_conf_base.h"
#include "stm32f4xx_hal_fmpi2c.h"
#define HAL_FMPI2C_MODULE_ENABLED
// Oscillator values in Hz
@ -20,4 +16,7 @@
#define HSE_STARTUP_TIMEOUT (100)
#define LSE_STARTUP_TIMEOUT (5000)
#include "boards/stm32f4xx_hal_conf_base.h"
#include "stm32f4xx_hal_fmpi2c.h"
#endif // MICROPY_INCLUDED_STM32F4XX_HAL_CONF_H

4
ports/stm32/boards/LIMIFROG/stm32l4xx_hal_conf.h

@ -5,8 +5,6 @@
#ifndef MICROPY_INCLUDED_STM32L4XX_HAL_CONF_H
#define MICROPY_INCLUDED_STM32L4XX_HAL_CONF_H
#include "boards/stm32l4xx_hal_conf_base.h"
// Oscillator values in Hz
#define HSE_VALUE (8000000)
#define LSE_VALUE (32768)
@ -17,4 +15,6 @@
#define HSE_STARTUP_TIMEOUT (100)
#define LSE_STARTUP_TIMEOUT (5000)
#include "boards/stm32l4xx_hal_conf_base.h"
#endif // MICROPY_INCLUDED_STM32L4XX_HAL_CONF_H

4
ports/stm32/boards/MIKROE_CLICKER2_STM32/stm32f4xx_hal_conf.h

@ -5,8 +5,6 @@
#ifndef MICROPY_INCLUDED_STM32F4XX_HAL_CONF_H
#define MICROPY_INCLUDED_STM32F4XX_HAL_CONF_H
#include "boards/stm32f4xx_hal_conf_base.h"
// Oscillator values in Hz
#define HSE_VALUE (25000000)
#define LSE_VALUE (32768)
@ -16,4 +14,6 @@
#define HSE_STARTUP_TIMEOUT (100)
#define LSE_STARTUP_TIMEOUT (5000)
#include "boards/stm32f4xx_hal_conf_base.h"
#endif // MICROPY_INCLUDED_STM32F4XX_HAL_CONF_H

4
ports/stm32/boards/MIKROE_QUAIL/stm32f4xx_hal_conf.h

@ -5,8 +5,6 @@
#ifndef MICROPY_INCLUDED_STM32F4XX_HAL_CONF_H
#define MICROPY_INCLUDED_STM32F4XX_HAL_CONF_H
#include "boards/stm32f4xx_hal_conf_base.h"
// Oscillator values in Hz
#define HSE_VALUE (12000000)
#define EXTERNAL_CLOCK_VALUE (12288000)
@ -15,4 +13,6 @@
#define HSE_STARTUP_TIMEOUT (100)
#define LSE_STARTUP_TIMEOUT (0)
#include "boards/stm32f4xx_hal_conf_base.h"
#endif // MICROPY_INCLUDED_STM32F4XX_HAL_CONF_H

4
ports/stm32/boards/NETDUINO_PLUS_2/stm32f4xx_hal_conf.h

@ -5,8 +5,6 @@
#ifndef MICROPY_INCLUDED_STM32F4XX_HAL_CONF_H
#define MICROPY_INCLUDED_STM32F4XX_HAL_CONF_H
#include "boards/stm32f4xx_hal_conf_base.h"
// Oscillator values in Hz
#define HSE_VALUE (25000000)
#define LSE_VALUE (32768)
@ -16,4 +14,6 @@
#define HSE_STARTUP_TIMEOUT (100)
#define LSE_STARTUP_TIMEOUT (5000)
#include "boards/stm32f4xx_hal_conf_base.h"
#endif // MICROPY_INCLUDED_STM32F4XX_HAL_CONF_H

4
ports/stm32/boards/NUCLEO_F091RC/stm32f0xx_hal_conf.h

@ -5,8 +5,6 @@
#ifndef MICROPY_INCLUDED_STM32F0XX_HAL_CONF_H
#define MICROPY_INCLUDED_STM32F0XX_HAL_CONF_H
#include "boards/stm32f0xx_hal_conf_base.h"
// Oscillator values in Hz
#define HSE_VALUE (8000000)
#define LSE_VALUE (32768)
@ -15,4 +13,6 @@
#define HSE_STARTUP_TIMEOUT (100)
#define LSE_STARTUP_TIMEOUT (5000)
#include "boards/stm32f0xx_hal_conf_base.h"
#endif // MICROPY_INCLUDED_STM32F0XX_HAL_CONF_H

4
ports/stm32/boards/NUCLEO_F401RE/stm32f4xx_hal_conf.h

@ -5,8 +5,6 @@
#ifndef MICROPY_INCLUDED_STM32F4XX_HAL_CONF_H
#define MICROPY_INCLUDED_STM32F4XX_HAL_CONF_H
#include "boards/stm32f4xx_hal_conf_base.h"
// Oscillator values in Hz
#define HSE_VALUE (8000000)
#define LSE_VALUE (32768)
@ -16,4 +14,6 @@
#define HSE_STARTUP_TIMEOUT (100)
#define LSE_STARTUP_TIMEOUT (5000)
#include "boards/stm32f4xx_hal_conf_base.h"
#endif // MICROPY_INCLUDED_STM32F4XX_HAL_CONF_H

4
ports/stm32/boards/NUCLEO_F411RE/stm32f4xx_hal_conf.h

@ -5,8 +5,6 @@
#ifndef MICROPY_INCLUDED_STM32F4XX_HAL_CONF_H
#define MICROPY_INCLUDED_STM32F4XX_HAL_CONF_H
#include "boards/stm32f4xx_hal_conf_base.h"
// Oscillator values in Hz
#define HSE_VALUE (8000000)
#define LSE_VALUE (32768)
@ -16,4 +14,6 @@
#define HSE_STARTUP_TIMEOUT (100)
#define LSE_STARTUP_TIMEOUT (5000)
#include "boards/stm32f4xx_hal_conf_base.h"
#endif // MICROPY_INCLUDED_STM32F4XX_HAL_CONF_H

4
ports/stm32/boards/NUCLEO_F412ZG/stm32f4xx_hal_conf.h

@ -5,8 +5,6 @@
#ifndef MICROPY_INCLUDED_STM32F4XX_HAL_CONF_H
#define MICROPY_INCLUDED_STM32F4XX_HAL_CONF_H
#include "boards/stm32f4xx_hal_conf_base.h"
// Oscillator values in Hz
#define HSE_VALUE (8000000)
#define LSE_VALUE (32768)
@ -16,4 +14,6 @@
#define HSE_STARTUP_TIMEOUT (100)
#define LSE_STARTUP_TIMEOUT (5000)
#include "boards/stm32f4xx_hal_conf_base.h"
#endif // MICROPY_INCLUDED_STM32F4XX_HAL_CONF_H

4
ports/stm32/boards/NUCLEO_F413ZH/stm32f4xx_hal_conf.h

@ -5,8 +5,6 @@
#ifndef MICROPY_INCLUDED_STM32F4XX_HAL_CONF_H
#define MICROPY_INCLUDED_STM32F4XX_HAL_CONF_H
#include "boards/stm32f4xx_hal_conf_base.h"
// Oscillator values in Hz
#define HSE_VALUE (8000000)
#define LSE_VALUE (32768)
@ -16,4 +14,6 @@
#define HSE_STARTUP_TIMEOUT (100)
#define LSE_STARTUP_TIMEOUT (5000)
#include "boards/stm32f4xx_hal_conf_base.h"
#endif // MICROPY_INCLUDED_STM32F4XX_HAL_CONF_H

4
ports/stm32/boards/NUCLEO_F429ZI/stm32f4xx_hal_conf.h

@ -5,8 +5,6 @@
#ifndef MICROPY_INCLUDED_STM32F4XX_HAL_CONF_H
#define MICROPY_INCLUDED_STM32F4XX_HAL_CONF_H
#include "boards/stm32f4xx_hal_conf_base.h"
// Oscillator values in Hz
#define HSE_VALUE (8000000)
#define LSE_VALUE (32768)
@ -16,4 +14,6 @@
#define HSE_STARTUP_TIMEOUT (100)
#define LSE_STARTUP_TIMEOUT (5000)
#include "boards/stm32f4xx_hal_conf_base.h"
#endif // MICROPY_INCLUDED_STM32F4XX_HAL_CONF_H

4
ports/stm32/boards/NUCLEO_F439ZI/stm32f4xx_hal_conf.h

@ -5,8 +5,6 @@
#ifndef MICROPY_INCLUDED_STM32F4XX_HAL_CONF_H
#define MICROPY_INCLUDED_STM32F4XX_HAL_CONF_H
#include "boards/stm32f4xx_hal_conf_base.h"
// Oscillator values in Hz
#define HSE_VALUE (8000000)
#define LSE_VALUE (32768)
@ -16,4 +14,6 @@
#define HSE_STARTUP_TIMEOUT (100)
#define LSE_STARTUP_TIMEOUT (5000)
#include "boards/stm32f4xx_hal_conf_base.h"
#endif // MICROPY_INCLUDED_STM32F4XX_HAL_CONF_H

4
ports/stm32/boards/NUCLEO_F446RE/stm32f4xx_hal_conf.h

@ -5,8 +5,6 @@
#ifndef MICROPY_INCLUDED_STM32F4XX_HAL_CONF_H
#define MICROPY_INCLUDED_STM32F4XX_HAL_CONF_H
#include "boards/stm32f4xx_hal_conf_base.h"
// Oscillator values in Hz
#define HSE_VALUE (8000000)
#define LSE_VALUE (32768)
@ -16,4 +14,6 @@
#define HSE_STARTUP_TIMEOUT (100)
#define LSE_STARTUP_TIMEOUT (5000)
#include "boards/stm32f4xx_hal_conf_base.h"
#endif // MICROPY_INCLUDED_STM32F4XX_HAL_CONF_H

4
ports/stm32/boards/NUCLEO_F722ZE/stm32f7xx_hal_conf.h

@ -4,8 +4,6 @@
#ifndef MICROPY_INCLUDED_STM32F7XX_HAL_CONF_H
#define MICROPY_INCLUDED_STM32F7XX_HAL_CONF_H
#include "boards/stm32f7xx_hal_conf_base.h"
// Oscillator values in Hz
#define HSE_VALUE (8000000)
#define LSE_VALUE (32768)
@ -15,4 +13,6 @@
#define HSE_STARTUP_TIMEOUT (5000)
#define LSE_STARTUP_TIMEOUT (5000)
#include "boards/stm32f7xx_hal_conf_base.h"
#endif // MICROPY_INCLUDED_STM32F7XX_HAL_CONF_H

4
ports/stm32/boards/NUCLEO_F746ZG/stm32f7xx_hal_conf.h

@ -5,8 +5,6 @@
#ifndef MICROPY_INCLUDED_STM32F7XX_HAL_CONF_H
#define MICROPY_INCLUDED_STM32F7XX_HAL_CONF_H
#include "boards/stm32f7xx_hal_conf_base.h"
// Oscillator values in Hz
#define HSE_VALUE (8000000)
#define LSE_VALUE (32768)
@ -16,4 +14,6 @@
#define HSE_STARTUP_TIMEOUT (5000)
#define LSE_STARTUP_TIMEOUT (5000)
#include "boards/stm32f7xx_hal_conf_base.h"
#endif // MICROPY_INCLUDED_STM32F7XX_HAL_CONF_H

4
ports/stm32/boards/NUCLEO_F756ZG/stm32f7xx_hal_conf.h

@ -5,8 +5,6 @@
#ifndef MICROPY_INCLUDED_STM32F7XX_HAL_CONF_H
#define MICROPY_INCLUDED_STM32F7XX_HAL_CONF_H
#include "boards/stm32f7xx_hal_conf_base.h"
// Oscillator values in Hz
#define HSE_VALUE (8000000)
#define LSE_VALUE (32768)
@ -16,4 +14,6 @@
#define HSE_STARTUP_TIMEOUT (5000)
#define LSE_STARTUP_TIMEOUT (5000)
#include "boards/stm32f7xx_hal_conf_base.h"
#endif // MICROPY_INCLUDED_STM32F7XX_HAL_CONF_H

4
ports/stm32/boards/NUCLEO_F767ZI/stm32f7xx_hal_conf.h

@ -5,8 +5,6 @@
#ifndef MICROPY_INCLUDED_STM32F7XX_HAL_CONF_H
#define MICROPY_INCLUDED_STM32F7XX_HAL_CONF_H
#include "boards/stm32f7xx_hal_conf_base.h"
// Oscillator values in Hz
#define HSE_VALUE (8000000)
#define LSE_VALUE (32768)
@ -16,4 +14,6 @@
#define HSE_STARTUP_TIMEOUT (5000)
#define LSE_STARTUP_TIMEOUT (5000)
#include "boards/stm32f7xx_hal_conf_base.h"
#endif // MICROPY_INCLUDED_STM32F7XX_HAL_CONF_H

4
ports/stm32/boards/NUCLEO_G474RE/stm32g4xx_hal_conf.h

@ -5,8 +5,6 @@
#ifndef MICROPY_INCLUDED_STM32G4XX_HAL_CONF_H
#define MICROPY_INCLUDED_STM32G4XX_HAL_CONF_H
#include "boards/stm32g4xx_hal_conf_base.h"
// Oscillator values in Hz
#define HSE_VALUE (24000000)
#define LSE_VALUE (32768)
@ -16,4 +14,6 @@
#define HSE_STARTUP_TIMEOUT (100)
#define LSE_STARTUP_TIMEOUT (5000)
#include "boards/stm32g4xx_hal_conf_base.h"
#endif // MICROPY_INCLUDED_STM32G4XX_HAL_CONF_H

4
ports/stm32/boards/NUCLEO_H723ZG/stm32h7xx_hal_conf.h

@ -5,8 +5,6 @@
#ifndef MICROPY_INCLUDED_STM32H7XX_HAL_CONF_H
#define MICROPY_INCLUDED_STM32H7XX_HAL_CONF_H
#include "boards/stm32h7xx_hal_conf_base.h"
// Oscillator values in Hz
#define HSE_VALUE (8000000)
#define LSE_VALUE (32768)
@ -16,4 +14,6 @@
#define HSE_STARTUP_TIMEOUT (5000)
#define LSE_STARTUP_TIMEOUT (5000)
#include "boards/stm32h7xx_hal_conf_base.h"
#endif // MICROPY_INCLUDED_STM32H7XX_HAL_CONF_H

4
ports/stm32/boards/NUCLEO_H743ZI/stm32h7xx_hal_conf.h

@ -5,8 +5,6 @@
#ifndef MICROPY_INCLUDED_STM32H7XX_HAL_CONF_H
#define MICROPY_INCLUDED_STM32H7XX_HAL_CONF_H
#include "boards/stm32h7xx_hal_conf_base.h"
// Oscillator values in Hz
#define HSE_VALUE (8000000)
#define LSE_VALUE (32768)
@ -16,4 +14,6 @@
#define HSE_STARTUP_TIMEOUT (5000)
#define LSE_STARTUP_TIMEOUT (5000)
#include "boards/stm32h7xx_hal_conf_base.h"
#endif // MICROPY_INCLUDED_STM32H7XX_HAL_CONF_H

4
ports/stm32/boards/NUCLEO_L073RZ/stm32l0xx_hal_conf.h

@ -5,8 +5,6 @@
#ifndef MICROPY_INCLUDED_STM32L0XX_HAL_CONF_H
#define MICROPY_INCLUDED_STM32L0XX_HAL_CONF_H
#include "boards/stm32l0xx_hal_conf_base.h"
// Oscillator values in Hz
#define HSE_VALUE (8000000)
#define LSE_VALUE (32768)
@ -15,4 +13,6 @@
#define HSE_STARTUP_TIMEOUT (100)
#define LSE_STARTUP_TIMEOUT (5000)
#include "boards/stm32l0xx_hal_conf_base.h"
#endif // MICROPY_INCLUDED_STM32L0XX_HAL_CONF_H

4
ports/stm32/boards/NUCLEO_L432KC/stm32l4xx_hal_conf.h

@ -5,8 +5,6 @@
#ifndef MICROPY_INCLUDED_STM32L4XX_HAL_CONF_H
#define MICROPY_INCLUDED_STM32L4XX_HAL_CONF_H
#include "boards/stm32l4xx_hal_conf_base.h"
// Oscillator values in Hz
#define HSE_VALUE (8000000)
#define LSE_VALUE (32768)
@ -17,4 +15,6 @@
#define HSE_STARTUP_TIMEOUT (100)
#define LSE_STARTUP_TIMEOUT (5000)
#include "boards/stm32l4xx_hal_conf_base.h"
#endif // MICROPY_INCLUDED_STM32L4XX_HAL_CONF_H

4
ports/stm32/boards/NUCLEO_L452RE/stm32l4xx_hal_conf.h

@ -5,8 +5,6 @@
#ifndef MICROPY_INCLUDED_STM32L4XX_HAL_CONF_H
#define MICROPY_INCLUDED_STM32L4XX_HAL_CONF_H
#include "boards/stm32l4xx_hal_conf_base.h"
// Oscillator values in Hz
#define HSE_VALUE (8000000)
#define LSE_VALUE (32768)
@ -17,4 +15,6 @@
#define HSE_STARTUP_TIMEOUT (100)
#define LSE_STARTUP_TIMEOUT (5000)
#include "boards/stm32l4xx_hal_conf_base.h"
#endif // MICROPY_INCLUDED_STM32L4XX_HAL_CONF_H

4
ports/stm32/boards/NUCLEO_L476RG/stm32l4xx_hal_conf.h

@ -5,8 +5,6 @@
#ifndef MICROPY_INCLUDED_STM32L4XX_HAL_CONF_H
#define MICROPY_INCLUDED_STM32L4XX_HAL_CONF_H
#include "boards/stm32l4xx_hal_conf_base.h"
// Oscillator values in Hz
#define HSE_VALUE (8000000)
#define LSE_VALUE (32768)
@ -17,4 +15,6 @@
#define HSE_STARTUP_TIMEOUT (100)
#define LSE_STARTUP_TIMEOUT (5000)
#include "boards/stm32l4xx_hal_conf_base.h"
#endif // MICROPY_INCLUDED_STM32L4XX_HAL_CONF_H

4
ports/stm32/boards/NUCLEO_L4A6ZG/stm32l4xx_hal_conf.h

@ -5,8 +5,6 @@
#ifndef MICROPY_INCLUDED_STM32L4XX_HAL_CONF_H
#define MICROPY_INCLUDED_STM32L4XX_HAL_CONF_H
#include "boards/stm32l4xx_hal_conf_base.h"
// Oscillator values in Hz
#define HSE_VALUE (8000000)
#define LSE_VALUE (32768)
@ -17,4 +15,6 @@
#define HSE_STARTUP_TIMEOUT (100)
#define LSE_STARTUP_TIMEOUT (5000)
#include "boards/stm32l4xx_hal_conf_base.h"
#endif // MICROPY_INCLUDED_STM32L4XX_HAL_CONF_H

4
ports/stm32/boards/OLIMEX_E407/stm32f4xx_hal_conf.h

@ -5,8 +5,6 @@
#ifndef MICROPY_INCLUDED_STM32F4XX_HAL_CONF_H
#define MICROPY_INCLUDED_STM32F4XX_HAL_CONF_H
#include "boards/stm32f4xx_hal_conf_base.h"
// Oscillator values in Hz
#define HSE_VALUE (12000000)
#define LSE_VALUE (32768)
@ -16,4 +14,6 @@
#define HSE_STARTUP_TIMEOUT (100)
#define LSE_STARTUP_TIMEOUT (5000)
#include "boards/stm32f4xx_hal_conf_base.h"
#endif // MICROPY_INCLUDED_STM32F4XX_HAL_CONF_H

4
ports/stm32/boards/OLIMEX_H407/stm32f4xx_hal_conf.h

@ -5,8 +5,6 @@
#ifndef MICROPY_INCLUDED_STM32F4XX_HAL_CONF_H
#define MICROPY_INCLUDED_STM32F4XX_HAL_CONF_H
#include "boards/stm32f4xx_hal_conf_base.h"
// Oscillator values in Hz
#define HSE_VALUE (12000000)
#define LSE_VALUE (32768)
@ -16,4 +14,6 @@
#define HSE_STARTUP_TIMEOUT (100)
#define LSE_STARTUP_TIMEOUT (5000)
#include "boards/stm32f4xx_hal_conf_base.h"
#endif // MICROPY_INCLUDED_STM32F4XX_HAL_CONF_H

4
ports/stm32/boards/PYBD_SF2/stm32f7xx_hal_conf.h

@ -5,8 +5,6 @@
#ifndef MICROPY_INCLUDED_STM32F7XX_HAL_CONF_H
#define MICROPY_INCLUDED_STM32F7XX_HAL_CONF_H
#include "boards/stm32f7xx_hal_conf_base.h"
// Oscillator values in Hz
#define HSE_VALUE (25000000)
#define LSE_VALUE (32768)
@ -16,4 +14,6 @@
#define HSE_STARTUP_TIMEOUT (5000)
#define LSE_STARTUP_TIMEOUT (5000)
#include "boards/stm32f7xx_hal_conf_base.h"
#endif // MICROPY_INCLUDED_STM32F7XX_HAL_CONF_H

4
ports/stm32/boards/PYBLITEV10/stm32f4xx_hal_conf.h

@ -5,8 +5,6 @@
#ifndef MICROPY_INCLUDED_STM32F4XX_HAL_CONF_H
#define MICROPY_INCLUDED_STM32F4XX_HAL_CONF_H
#include "boards/stm32f4xx_hal_conf_base.h"
// Oscillator values in Hz
#define HSE_VALUE (12000000)
#define LSE_VALUE (32768)
@ -16,4 +14,6 @@
#define HSE_STARTUP_TIMEOUT (100)
#define LSE_STARTUP_TIMEOUT (5000)
#include "boards/stm32f4xx_hal_conf_base.h"
#endif // MICROPY_INCLUDED_STM32F4XX_HAL_CONF_H

4
ports/stm32/boards/PYBV10/stm32f4xx_hal_conf.h

@ -5,8 +5,6 @@
#ifndef MICROPY_INCLUDED_STM32F4XX_HAL_CONF_H
#define MICROPY_INCLUDED_STM32F4XX_HAL_CONF_H
#include "boards/stm32f4xx_hal_conf_base.h"
// Oscillator values in Hz
#define HSE_VALUE (8000000)
#define LSE_VALUE (32768)
@ -16,4 +14,6 @@
#define HSE_STARTUP_TIMEOUT (100)
#define LSE_STARTUP_TIMEOUT (5000)
#include "boards/stm32f4xx_hal_conf_base.h"
#endif // MICROPY_INCLUDED_STM32F4XX_HAL_CONF_H

4
ports/stm32/boards/PYBV11/stm32f4xx_hal_conf.h

@ -5,8 +5,6 @@
#ifndef MICROPY_INCLUDED_STM32F4XX_HAL_CONF_H
#define MICROPY_INCLUDED_STM32F4XX_HAL_CONF_H
#include "boards/stm32f4xx_hal_conf_base.h"
// Oscillator values in Hz
#define HSE_VALUE (12000000)
#define LSE_VALUE (32768)
@ -16,4 +14,6 @@
#define HSE_STARTUP_TIMEOUT (100)
#define LSE_STARTUP_TIMEOUT (5000)
#include "boards/stm32f4xx_hal_conf_base.h"
#endif // MICROPY_INCLUDED_STM32F4XX_HAL_CONF_H

4
ports/stm32/boards/PYBV3/stm32f4xx_hal_conf.h

@ -5,8 +5,6 @@
#ifndef MICROPY_INCLUDED_STM32F4XX_HAL_CONF_H
#define MICROPY_INCLUDED_STM32F4XX_HAL_CONF_H
#include "boards/stm32f4xx_hal_conf_base.h"
// Oscillator values in Hz
#define HSE_VALUE (8000000)
#define LSE_VALUE (32768)
@ -16,4 +14,6 @@
#define HSE_STARTUP_TIMEOUT (100)
#define LSE_STARTUP_TIMEOUT (5000)
#include "boards/stm32f4xx_hal_conf_base.h"
#endif // MICROPY_INCLUDED_STM32F4XX_HAL_CONF_H

4
ports/stm32/boards/PYBV4/stm32f4xx_hal_conf.h

@ -5,8 +5,6 @@
#ifndef MICROPY_INCLUDED_STM32F4XX_HAL_CONF_H
#define MICROPY_INCLUDED_STM32F4XX_HAL_CONF_H
#include "boards/stm32f4xx_hal_conf_base.h"
// Oscillator values in Hz
#define HSE_VALUE (8000000)
#define LSE_VALUE (32768)
@ -16,4 +14,6 @@
#define HSE_STARTUP_TIMEOUT (100)
#define LSE_STARTUP_TIMEOUT (5000)
#include "boards/stm32f4xx_hal_conf_base.h"
#endif // MICROPY_INCLUDED_STM32F4XX_HAL_CONF_H

4
ports/stm32/boards/SPARKFUN_MICROMOD_STM32/stm32f4xx_hal_conf.h

@ -5,8 +5,6 @@
#ifndef MICROPY_INCLUDED_STM32F4XX_HAL_CONF_H
#define MICROPY_INCLUDED_STM32F4XX_HAL_CONF_H
#include "boards/stm32f4xx_hal_conf_base.h"
// Oscillator values in Hz
#define HSE_VALUE (12000000)
#define LSE_VALUE (32768)
@ -16,4 +14,6 @@
#define HSE_STARTUP_TIMEOUT (100)
#define LSE_STARTUP_TIMEOUT (5000)
#include "boards/stm32f4xx_hal_conf_base.h"
#endif // MICROPY_INCLUDED_STM32F4XX_HAL_CONF_H

4
ports/stm32/boards/STM32F411DISC/stm32f4xx_hal_conf.h

@ -5,8 +5,6 @@
#ifndef MICROPY_INCLUDED_STM32F4XX_HAL_CONF_H
#define MICROPY_INCLUDED_STM32F4XX_HAL_CONF_H
#include "boards/stm32f4xx_hal_conf_base.h"
// Oscillator values in Hz
#define HSE_VALUE (8000000)
#define LSE_VALUE (32768)
@ -16,4 +14,6 @@
#define HSE_STARTUP_TIMEOUT (100)
#define LSE_STARTUP_TIMEOUT (5000)
#include "boards/stm32f4xx_hal_conf_base.h"
#endif // MICROPY_INCLUDED_STM32F4XX_HAL_CONF_H

4
ports/stm32/boards/STM32F429DISC/stm32f4xx_hal_conf.h

@ -5,8 +5,6 @@
#ifndef MICROPY_INCLUDED_STM32F4XX_HAL_CONF_H
#define MICROPY_INCLUDED_STM32F4XX_HAL_CONF_H
#include "boards/stm32f4xx_hal_conf_base.h"
// Oscillator values in Hz
#define HSE_VALUE (8000000)
#define LSE_VALUE (32768)
@ -16,4 +14,6 @@
#define HSE_STARTUP_TIMEOUT (100)
#define LSE_STARTUP_TIMEOUT (5000)
#include "boards/stm32f4xx_hal_conf_base.h"
#endif // MICROPY_INCLUDED_STM32F4XX_HAL_CONF_H

4
ports/stm32/boards/STM32F439/stm32f4xx_hal_conf.h

@ -5,8 +5,6 @@
#ifndef MICROPY_INCLUDED_STM32F4XX_HAL_CONF_H
#define MICROPY_INCLUDED_STM32F4XX_HAL_CONF_H
#include "boards/stm32f4xx_hal_conf_base.h"
// Oscillator values in Hz
#define HSE_VALUE (8000000)
#define LSE_VALUE (32768)
@ -16,4 +14,6 @@
#define HSE_STARTUP_TIMEOUT (100)
#define LSE_STARTUP_TIMEOUT (5000)
#include "boards/stm32f4xx_hal_conf_base.h"
#endif // MICROPY_INCLUDED_STM32F4XX_HAL_CONF_H

4
ports/stm32/boards/STM32F4DISC/stm32f4xx_hal_conf.h

@ -5,8 +5,6 @@
#ifndef MICROPY_INCLUDED_STM32F4XX_HAL_CONF_H
#define MICROPY_INCLUDED_STM32F4XX_HAL_CONF_H
#include "boards/stm32f4xx_hal_conf_base.h"
// Oscillator values in Hz
#define HSE_VALUE (8000000)
#define LSE_VALUE (32768)
@ -16,4 +14,6 @@
#define HSE_STARTUP_TIMEOUT (100)
#define LSE_STARTUP_TIMEOUT (5000)
#include "boards/stm32f4xx_hal_conf_base.h"
#endif // MICROPY_INCLUDED_STM32F4XX_HAL_CONF_H

4
ports/stm32/boards/STM32F769DISC/stm32f7xx_hal_conf.h

@ -5,8 +5,6 @@
#ifndef MICROPY_INCLUDED_STM32F7XX_HAL_CONF_H
#define MICROPY_INCLUDED_STM32F7XX_HAL_CONF_H
#include "boards/stm32f7xx_hal_conf_base.h"
// Oscillator values in Hz
#define HSE_VALUE (25000000)
#define LSE_VALUE (32768)
@ -16,4 +14,6 @@
#define HSE_STARTUP_TIMEOUT (5000)
#define LSE_STARTUP_TIMEOUT (5000)
#include "boards/stm32f7xx_hal_conf_base.h"
#endif // MICROPY_INCLUDED_STM32F7XX_HAL_CONF_H

4
ports/stm32/boards/STM32F7DISC/stm32f7xx_hal_conf.h

@ -5,8 +5,6 @@
#ifndef MICROPY_INCLUDED_STM32F7XX_HAL_CONF_H
#define MICROPY_INCLUDED_STM32F7XX_HAL_CONF_H
#include "boards/stm32f7xx_hal_conf_base.h"
// Oscillator values in Hz
#define HSE_VALUE (25000000)
#define LSE_VALUE (32768)
@ -16,4 +14,6 @@
#define HSE_STARTUP_TIMEOUT (5000)
#define LSE_STARTUP_TIMEOUT (5000)
#include "boards/stm32f7xx_hal_conf_base.h"
#endif // MICROPY_INCLUDED_STM32F7XX_HAL_CONF_H

4
ports/stm32/boards/STM32H573I_DK/stm32h5xx_hal_conf.h

@ -10,10 +10,10 @@
#define LSE_VALUE (32768)
#define EXTERNAL_CLOCK_VALUE (12288000)
#include "boards/stm32h5xx_hal_conf_base.h"
// Oscillator timeouts in ms
#define HSE_STARTUP_TIMEOUT (100)
#define LSE_STARTUP_TIMEOUT (5000)
#include "boards/stm32h5xx_hal_conf_base.h"
#endif // MICROPY_INCLUDED_STM32H5XX_HAL_CONF_H

4
ports/stm32/boards/STM32H7B3I_DK/stm32h7xx_hal_conf.h

@ -5,8 +5,6 @@
#ifndef MICROPY_INCLUDED_STM32H7XX_HAL_CONF_H
#define MICROPY_INCLUDED_STM32H7XX_HAL_CONF_H
#include "boards/stm32h7xx_hal_conf_base.h"
// Oscillator values in Hz
#define HSE_VALUE (24000000)
#define LSE_VALUE (32768)
@ -16,4 +14,6 @@
#define HSE_STARTUP_TIMEOUT (5000)
#define LSE_STARTUP_TIMEOUT (5000)
#include "boards/stm32h7xx_hal_conf_base.h"
#endif // MICROPY_INCLUDED_STM32H7XX_HAL_CONF_H

4
ports/stm32/boards/STM32L476DISC/stm32l4xx_hal_conf.h

@ -5,8 +5,6 @@
#ifndef MICROPY_INCLUDED_STM32L4XX_HAL_CONF_H
#define MICROPY_INCLUDED_STM32L4XX_HAL_CONF_H
#include "boards/stm32l4xx_hal_conf_base.h"
// Oscillator values in Hz
#define HSE_VALUE (8000000)
#define LSE_VALUE (32768)
@ -17,4 +15,6 @@
#define HSE_STARTUP_TIMEOUT (100)
#define LSE_STARTUP_TIMEOUT (5000)
#include "boards/stm32l4xx_hal_conf_base.h"
#endif // MICROPY_INCLUDED_STM32L4XX_HAL_CONF_H

4
ports/stm32/boards/STM32L496GDISC/stm32l4xx_hal_conf.h

@ -5,8 +5,6 @@
#ifndef MICROPY_INCLUDED_STM32L4XX_HAL_CONF_H
#define MICROPY_INCLUDED_STM32L4XX_HAL_CONF_H
#include "boards/stm32l4xx_hal_conf_base.h"
// Oscillator values in Hz
#define HSE_VALUE (8000000)
#define LSE_VALUE (32768)
@ -17,4 +15,6 @@
#define HSE_STARTUP_TIMEOUT (100)
#define LSE_STARTUP_TIMEOUT (5000)
#include "boards/stm32l4xx_hal_conf_base.h"
#endif // MICROPY_INCLUDED_STM32L4XX_HAL_CONF_H

4
ports/stm32/boards/VCC_GND_F407VE/stm32f4xx_hal_conf.h

@ -1,8 +1,6 @@
#ifndef MICROPY_INCLUDED_STM32F4XX_HAL_CONF_H
#define MICROPY_INCLUDED_STM32F4XX_HAL_CONF_H
#include "boards/stm32f4xx_hal_conf_base.h"
// Oscillator values in Hz
#define HSE_VALUE (25000000)
#define LSE_VALUE (32768)
@ -12,4 +10,6 @@
#define HSE_STARTUP_TIMEOUT (100)
#define LSE_STARTUP_TIMEOUT (5000)
#include "boards/stm32f4xx_hal_conf_base.h"
#endif // MICROPY_INCLUDED_STM32F4XX_HAL_CONF_H

4
ports/stm32/boards/VCC_GND_F407ZG/stm32f4xx_hal_conf.h

@ -1,8 +1,6 @@
#ifndef MICROPY_INCLUDED_STM32F4XX_HAL_CONF_H
#define MICROPY_INCLUDED_STM32F4XX_HAL_CONF_H
#include "boards/stm32f4xx_hal_conf_base.h"
// Oscillator values in Hz
#define HSE_VALUE (25000000)
#define LSE_VALUE (32768)
@ -12,4 +10,6 @@
#define HSE_STARTUP_TIMEOUT (100)
#define LSE_STARTUP_TIMEOUT (5000)
#include "boards/stm32f4xx_hal_conf_base.h"
#endif // MICROPY_INCLUDED_STM32F4XX_HAL_CONF_H

4
ports/stm32/boards/VCC_GND_H743VI/stm32h7xx_hal_conf.h

@ -5,8 +5,6 @@
#ifndef MICROPY_INCLUDED_STM32H7XX_HAL_CONF_H
#define MICROPY_INCLUDED_STM32H7XX_HAL_CONF_H
#include "boards/stm32h7xx_hal_conf_base.h"
// Oscillator values in Hz
#define HSE_VALUE (25000000)
#define LSE_VALUE (32768)
@ -16,4 +14,6 @@
#define HSE_STARTUP_TIMEOUT (5000)
#define LSE_STARTUP_TIMEOUT (5000)
#include "boards/stm32h7xx_hal_conf_base.h"
#endif // MICROPY_INCLUDED_STM32H7XX_HAL_CONF_H

50
ports/stm32/boards/stm32f0xx_hal_conf_base.h

@ -26,31 +26,6 @@
#ifndef MICROPY_INCLUDED_STM32F0XX_HAL_CONF_BASE_H
#define MICROPY_INCLUDED_STM32F0XX_HAL_CONF_BASE_H
// Include various HAL modules for convenience
#include "stm32f0xx_hal_dma.h"
#include "stm32f0xx_hal_adc.h"
#include "stm32f0xx_hal_can.h"
#include "stm32f0xx_hal_cortex.h"
#include "stm32f0xx_hal_crc.h"
#include "stm32f0xx_hal_dac.h"
#include "stm32f0xx_hal_flash.h"
#include "stm32f0xx_hal_gpio.h"
#include "stm32f0xx_hal_i2c.h"
#include "stm32f0xx_hal_i2s.h"
#include "stm32f0xx_hal_iwdg.h"
#include "stm32f0xx_hal_pcd.h"
#include "stm32f0xx_hal_pwr.h"
#include "stm32f0xx_hal_rcc.h"
#include "stm32f0xx_hal_rtc.h"
#include "stm32f0xx_hal_spi.h"
#include "stm32f0xx_hal_tim.h"
#include "stm32f0xx_hal_uart.h"
#include "stm32f0xx_hal_usart.h"
#include "stm32f0xx_hal_wwdg.h"
#include "stm32f0xx_ll_adc.h"
#include "stm32f0xx_ll_rtc.h"
#include "stm32f0xx_ll_usart.h"
// Enable various HAL modules
#define HAL_MODULE_ENABLED
#define HAL_ADC_MODULE_ENABLED
@ -87,6 +62,31 @@
#define USE_RTOS 0
#define USE_SPI_CRC 1
// Include various HAL modules for convenience
#include "stm32f0xx_hal_dma.h"
#include "stm32f0xx_hal_adc.h"
#include "stm32f0xx_hal_can.h"
#include "stm32f0xx_hal_cortex.h"
#include "stm32f0xx_hal_crc.h"
#include "stm32f0xx_hal_dac.h"
#include "stm32f0xx_hal_flash.h"
#include "stm32f0xx_hal_gpio.h"
#include "stm32f0xx_hal_i2c.h"
#include "stm32f0xx_hal_i2s.h"
#include "stm32f0xx_hal_iwdg.h"
#include "stm32f0xx_hal_pcd.h"
#include "stm32f0xx_hal_pwr.h"
#include "stm32f0xx_hal_rcc.h"
#include "stm32f0xx_hal_rtc.h"
#include "stm32f0xx_hal_spi.h"
#include "stm32f0xx_hal_tim.h"
#include "stm32f0xx_hal_uart.h"
#include "stm32f0xx_hal_usart.h"
#include "stm32f0xx_hal_wwdg.h"
#include "stm32f0xx_ll_adc.h"
#include "stm32f0xx_ll_rtc.h"
#include "stm32f0xx_ll_usart.h"
// HAL parameter assertions are disabled
#define assert_param(expr) ((void)0)

66
ports/stm32/boards/stm32f4xx_hal_conf_base.h

@ -26,39 +26,6 @@
#ifndef MICROPY_INCLUDED_STM32F4XX_HAL_CONF_BASE_H
#define MICROPY_INCLUDED_STM32F4XX_HAL_CONF_BASE_H
// Include various HAL modules for convenience
#include "stm32f4xx_hal_dma.h"
#include "stm32f4xx_hal_adc.h"
#include "stm32f4xx_hal_can.h"
#include "stm32f4xx_hal_cortex.h"
#include "stm32f4xx_hal_crc.h"
#include "stm32f4xx_hal_dac.h"
#include "stm32f4xx_hal_dcmi.h"
#include "stm32f4xx_hal_eth.h"
#include "stm32f4xx_hal_flash.h"
#include "stm32f4xx_hal_gpio.h"
#include "stm32f4xx_hal_hash.h"
#include "stm32f4xx_hal_hcd.h"
#include "stm32f4xx_hal_i2c.h"
#include "stm32f4xx_hal_i2s.h"
#include "stm32f4xx_hal_iwdg.h"
#include "stm32f4xx_hal_mmc.h"
#include "stm32f4xx_hal_pcd.h"
#include "stm32f4xx_hal_pwr.h"
#include "stm32f4xx_hal_rcc.h"
#include "stm32f4xx_hal_rtc.h"
#include "stm32f4xx_hal_sd.h"
#include "stm32f4xx_hal_sdram.h"
#include "stm32f4xx_hal_spi.h"
#include "stm32f4xx_hal_tim.h"
#include "stm32f4xx_hal_uart.h"
#include "stm32f4xx_hal_usart.h"
#include "stm32f4xx_hal_wwdg.h"
#include "stm32f4xx_ll_adc.h"
#include "stm32f4xx_ll_pwr.h"
#include "stm32f4xx_ll_rtc.h"
#include "stm32f4xx_ll_usart.h"
// Enable various HAL modules
#define HAL_ADC_MODULE_ENABLED
#define HAL_CAN_MODULE_ENABLED
@ -101,6 +68,39 @@
#define PREFETCH_ENABLE 1
#define USE_RTOS 0
// Include various HAL modules for convenience
#include "stm32f4xx_hal_dma.h"
#include "stm32f4xx_hal_adc.h"
#include "stm32f4xx_hal_can.h"
#include "stm32f4xx_hal_cortex.h"
#include "stm32f4xx_hal_crc.h"
#include "stm32f4xx_hal_dac.h"
#include "stm32f4xx_hal_dcmi.h"
#include "stm32f4xx_hal_eth.h"
#include "stm32f4xx_hal_flash.h"
#include "stm32f4xx_hal_gpio.h"
#include "stm32f4xx_hal_hash.h"
#include "stm32f4xx_hal_hcd.h"
#include "stm32f4xx_hal_i2c.h"
#include "stm32f4xx_hal_i2s.h"
#include "stm32f4xx_hal_iwdg.h"
#include "stm32f4xx_hal_mmc.h"
#include "stm32f4xx_hal_pcd.h"
#include "stm32f4xx_hal_pwr.h"
#include "stm32f4xx_hal_rcc.h"
#include "stm32f4xx_hal_rtc.h"
#include "stm32f4xx_hal_sd.h"
#include "stm32f4xx_hal_sdram.h"
#include "stm32f4xx_hal_spi.h"
#include "stm32f4xx_hal_tim.h"
#include "stm32f4xx_hal_uart.h"
#include "stm32f4xx_hal_usart.h"
#include "stm32f4xx_hal_wwdg.h"
#include "stm32f4xx_ll_adc.h"
#include "stm32f4xx_ll_pwr.h"
#include "stm32f4xx_ll_rtc.h"
#include "stm32f4xx_ll_usart.h"
// HAL parameter assertions are disabled
#define assert_param(expr) ((void)0)

64
ports/stm32/boards/stm32f7xx_hal_conf_base.h

@ -26,38 +26,6 @@
#ifndef MICROPY_INCLUDED_STM32F7XX_HAL_CONF_BASE_H
#define MICROPY_INCLUDED_STM32F7XX_HAL_CONF_BASE_H
// Include various HAL modules for convenience
#include "stm32f7xx_hal_dma.h"
#include "stm32f7xx_hal_adc.h"
#include "stm32f7xx_hal_can.h"
#include "stm32f7xx_hal_cortex.h"
#include "stm32f7xx_hal_crc.h"
#include "stm32f7xx_hal_dac.h"
#include "stm32f7xx_hal_dcmi.h"
#include "stm32f7xx_hal_flash.h"
#include "stm32f7xx_hal_gpio.h"
#include "stm32f7xx_hal_hash.h"
#include "stm32f7xx_hal_hcd.h"
#include "stm32f7xx_hal_i2c.h"
#include "stm32f7xx_hal_i2s.h"
#include "stm32f7xx_hal_iwdg.h"
#include "stm32f7xx_hal_mmc.h"
#include "stm32f7xx_hal_pcd.h"
#include "stm32f7xx_hal_pwr.h"
#include "stm32f7xx_hal_rcc.h"
#include "stm32f7xx_hal_rtc.h"
#include "stm32f7xx_hal_sd.h"
#include "stm32f7xx_hal_sdram.h"
#include "stm32f7xx_hal_spi.h"
#include "stm32f7xx_hal_tim.h"
#include "stm32f7xx_hal_uart.h"
#include "stm32f7xx_hal_usart.h"
#include "stm32f7xx_hal_wwdg.h"
#include "stm32f7xx_ll_adc.h"
#include "stm32f7xx_ll_pwr.h"
#include "stm32f7xx_ll_rtc.h"
#include "stm32f7xx_ll_usart.h"
// Enable various HAL modules
#define HAL_ADC_MODULE_ENABLED
#define HAL_CAN_MODULE_ENABLED
@ -97,6 +65,38 @@
#define ART_ACCLERATOR_ENABLE 1
#define USE_RTOS 0
// Include various HAL modules for convenience
#include "stm32f7xx_hal_dma.h"
#include "stm32f7xx_hal_adc.h"
#include "stm32f7xx_hal_can.h"
#include "stm32f7xx_hal_cortex.h"
#include "stm32f7xx_hal_crc.h"
#include "stm32f7xx_hal_dac.h"
#include "stm32f7xx_hal_dcmi.h"
#include "stm32f7xx_hal_flash.h"
#include "stm32f7xx_hal_gpio.h"
#include "stm32f7xx_hal_hash.h"
#include "stm32f7xx_hal_hcd.h"
#include "stm32f7xx_hal_i2c.h"
#include "stm32f7xx_hal_i2s.h"
#include "stm32f7xx_hal_iwdg.h"
#include "stm32f7xx_hal_mmc.h"
#include "stm32f7xx_hal_pcd.h"
#include "stm32f7xx_hal_pwr.h"
#include "stm32f7xx_hal_rcc.h"
#include "stm32f7xx_hal_rtc.h"
#include "stm32f7xx_hal_sd.h"
#include "stm32f7xx_hal_sdram.h"
#include "stm32f7xx_hal_spi.h"
#include "stm32f7xx_hal_tim.h"
#include "stm32f7xx_hal_uart.h"
#include "stm32f7xx_hal_usart.h"
#include "stm32f7xx_hal_wwdg.h"
#include "stm32f7xx_ll_adc.h"
#include "stm32f7xx_ll_pwr.h"
#include "stm32f7xx_ll_rtc.h"
#include "stm32f7xx_ll_usart.h"
// HAL parameter assertions are disabled
#define assert_param(expr) ((void)0)

88
ports/stm32/boards/stm32g4xx_hal_conf_base.h

@ -26,51 +26,6 @@
#ifndef MICROPY_INCLUDED_STM32G4XX_HAL_CONF_BASE_H
#define MICROPY_INCLUDED_STM32G4XX_HAL_CONF_BASE_H
// Include various HAL modules for convenience
#include "stm32g4xx_hal_rcc.h"
#include "stm32g4xx_hal_gpio.h"
#include "stm32g4xx_hal_dma.h"
#include "stm32g4xx_hal_cortex.h"
#include "stm32g4xx_hal_adc.h"
#include "stm32g4xx_hal_comp.h"
#include "stm32g4xx_hal_cordic.h"
#include "stm32g4xx_hal_crc.h"
#include "stm32g4xx_hal_cryp.h"
#include "stm32g4xx_hal_dac.h"
#include "stm32g4xx_hal_exti.h"
#include "stm32g4xx_hal_fdcan.h"
#include "stm32g4xx_hal_flash.h"
#include "stm32g4xx_hal_fmac.h"
#include "stm32g4xx_hal_hrtim.h"
#include "stm32g4xx_hal_irda.h"
#include "stm32g4xx_hal_iwdg.h"
#include "stm32g4xx_hal_i2c.h"
#include "stm32g4xx_hal_i2s.h"
#include "stm32g4xx_hal_lptim.h"
#include "stm32g4xx_hal_nand.h"
#include "stm32g4xx_hal_nor.h"
#include "stm32g4xx_hal_opamp.h"
#include "stm32g4xx_hal_pcd.h"
#include "stm32g4xx_hal_pwr.h"
#include "stm32g4xx_hal_qspi.h"
#include "stm32g4xx_hal_rng.h"
#include "stm32g4xx_hal_rtc.h"
#include "stm32g4xx_hal_sai.h"
#include "stm32g4xx_hal_smartcard.h"
#include "stm32g4xx_hal_smbus.h"
#include "stm32g4xx_hal_spi.h"
#include "stm32g4xx_hal_sram.h"
#include "stm32g4xx_hal_tim.h"
#include "stm32g4xx_hal_uart.h"
#include "stm32g4xx_hal_usart.h"
#include "stm32g4xx_hal_wwdg.h"
#include "stm32g4xx_ll_adc.h"
#include "stm32g4xx_ll_rtc.h"
#include "stm32g4xx_ll_usart.h"
#include "stm32g4xx_ll_lpuart.h"
#define HAL_MODULE_ENABLED
#define HAL_ADC_MODULE_ENABLED
#define HAL_COMP_MODULE_ENABLED
@ -125,6 +80,49 @@
#define DATA_CACHE_ENABLE 1
#define USE_SPI_CRC 1
// Include various HAL modules for convenience
#include "stm32g4xx_hal_rcc.h"
#include "stm32g4xx_hal_gpio.h"
#include "stm32g4xx_hal_dma.h"
#include "stm32g4xx_hal_cortex.h"
#include "stm32g4xx_hal_adc.h"
#include "stm32g4xx_hal_comp.h"
#include "stm32g4xx_hal_cordic.h"
#include "stm32g4xx_hal_crc.h"
#include "stm32g4xx_hal_cryp.h"
#include "stm32g4xx_hal_dac.h"
#include "stm32g4xx_hal_exti.h"
#include "stm32g4xx_hal_fdcan.h"
#include "stm32g4xx_hal_flash.h"
#include "stm32g4xx_hal_fmac.h"
#include "stm32g4xx_hal_hrtim.h"
#include "stm32g4xx_hal_irda.h"
#include "stm32g4xx_hal_iwdg.h"
#include "stm32g4xx_hal_i2c.h"
#include "stm32g4xx_hal_i2s.h"
#include "stm32g4xx_hal_lptim.h"
#include "stm32g4xx_hal_nand.h"
#include "stm32g4xx_hal_nor.h"
#include "stm32g4xx_hal_opamp.h"
#include "stm32g4xx_hal_pcd.h"
#include "stm32g4xx_hal_pwr.h"
#include "stm32g4xx_hal_qspi.h"
#include "stm32g4xx_hal_rng.h"
#include "stm32g4xx_hal_rtc.h"
#include "stm32g4xx_hal_sai.h"
#include "stm32g4xx_hal_smartcard.h"
#include "stm32g4xx_hal_smbus.h"
#include "stm32g4xx_hal_spi.h"
#include "stm32g4xx_hal_sram.h"
#include "stm32g4xx_hal_tim.h"
#include "stm32g4xx_hal_uart.h"
#include "stm32g4xx_hal_usart.h"
#include "stm32g4xx_hal_wwdg.h"
#include "stm32g4xx_ll_adc.h"
#include "stm32g4xx_ll_rtc.h"
#include "stm32g4xx_ll_usart.h"
#include "stm32g4xx_ll_lpuart.h"
// HAL parameter assertions are disabled
#define assert_param(expr) ((void)0)

66
ports/stm32/boards/stm32h7xx_hal_conf_base.h

@ -26,39 +26,6 @@
#ifndef MICROPY_INCLUDED_STM32H7XX_HAL_CONF_BASE_H
#define MICROPY_INCLUDED_STM32H7XX_HAL_CONF_BASE_H
// Include various HAL modules for convenience
#include "stm32h7xx_hal_dma.h"
#include "stm32h7xx_hal_mdma.h"
#include "stm32h7xx_hal_adc.h"
#include "stm32h7xx_hal_cortex.h"
#include "stm32h7xx_hal_crc.h"
#include "stm32h7xx_hal_dac.h"
#include "stm32h7xx_hal_dcmi.h"
#include "stm32h7xx_hal_fdcan.h"
#include "stm32h7xx_hal_flash.h"
#include "stm32h7xx_hal_gpio.h"
#include "stm32h7xx_hal_hash.h"
#include "stm32h7xx_hal_hcd.h"
#include "stm32h7xx_hal_i2c.h"
#include "stm32h7xx_hal_i2s.h"
#include "stm32h7xx_hal_iwdg.h"
#include "stm32h7xx_hal_pcd.h"
#include "stm32h7xx_hal_pwr.h"
#include "stm32h7xx_hal_rcc.h"
#include "stm32h7xx_hal_rtc.h"
#include "stm32h7xx_hal_sd.h"
#include "stm32h7xx_hal_sdram.h"
#include "stm32h7xx_hal_spi.h"
#include "stm32h7xx_hal_tim.h"
#include "stm32h7xx_hal_uart.h"
#include "stm32h7xx_hal_usart.h"
#include "stm32h7xx_hal_wwdg.h"
#include "stm32h7xx_ll_adc.h"
#include "stm32h7xx_ll_lpuart.h"
#include "stm32h7xx_ll_pwr.h"
#include "stm32h7xx_ll_rtc.h"
#include "stm32h7xx_ll_usart.h"
// Enable various HAL modules
#define HAL_ADC_MODULE_ENABLED
#define HAL_CORTEX_MODULE_ENABLED
@ -98,6 +65,39 @@
#define USE_SD_TRANSCEIVER 0
#define USE_SPI_CRC 1
// Include various HAL modules for convenience
#include "stm32h7xx_hal_dma.h"
#include "stm32h7xx_hal_mdma.h"
#include "stm32h7xx_hal_adc.h"
#include "stm32h7xx_hal_cortex.h"
#include "stm32h7xx_hal_crc.h"
#include "stm32h7xx_hal_dac.h"
#include "stm32h7xx_hal_dcmi.h"
#include "stm32h7xx_hal_fdcan.h"
#include "stm32h7xx_hal_flash.h"
#include "stm32h7xx_hal_gpio.h"
#include "stm32h7xx_hal_hash.h"
#include "stm32h7xx_hal_hcd.h"
#include "stm32h7xx_hal_i2c.h"
#include "stm32h7xx_hal_i2s.h"
#include "stm32h7xx_hal_iwdg.h"
#include "stm32h7xx_hal_pcd.h"
#include "stm32h7xx_hal_pwr.h"
#include "stm32h7xx_hal_rcc.h"
#include "stm32h7xx_hal_rtc.h"
#include "stm32h7xx_hal_sd.h"
#include "stm32h7xx_hal_sdram.h"
#include "stm32h7xx_hal_spi.h"
#include "stm32h7xx_hal_tim.h"
#include "stm32h7xx_hal_uart.h"
#include "stm32h7xx_hal_usart.h"
#include "stm32h7xx_hal_wwdg.h"
#include "stm32h7xx_ll_adc.h"
#include "stm32h7xx_ll_lpuart.h"
#include "stm32h7xx_ll_pwr.h"
#include "stm32h7xx_ll_rtc.h"
#include "stm32h7xx_ll_usart.h"
// HAL parameter assertions are disabled
#define assert_param(expr) ((void)0)

50
ports/stm32/boards/stm32l0xx_hal_conf_base.h

@ -26,31 +26,6 @@
#ifndef MICROPY_INCLUDED_STM32L0XX_HAL_CONF_BASE_H
#define MICROPY_INCLUDED_STM32L0XX_HAL_CONF_BASE_H
// Include various HAL modules for convenience
#include "stm32l0xx_hal_dma.h"
#include "stm32l0xx_hal_adc.h"
#include "stm32l0xx_hal_cortex.h"
#include "stm32l0xx_hal_crc.h"
#include "stm32l0xx_hal_dac.h"
#include "stm32l0xx_hal_flash.h"
#include "stm32l0xx_hal_gpio.h"
#include "stm32l0xx_hal_i2c.h"
#include "stm32l0xx_hal_i2s.h"
#include "stm32l0xx_hal_iwdg.h"
#include "stm32l0xx_hal_pcd.h"
#include "stm32l0xx_hal_pwr.h"
#include "stm32l0xx_hal_rcc.h"
#include "stm32l0xx_hal_rtc.h"
#include "stm32l0xx_hal_spi.h"
#include "stm32l0xx_hal_tim.h"
#include "stm32l0xx_hal_uart.h"
#include "stm32l0xx_hal_usart.h"
#include "stm32l0xx_hal_wwdg.h"
#include "stm32l0xx_ll_adc.h"
#include "stm32l0xx_ll_lpuart.h"
#include "stm32l0xx_ll_rtc.h"
#include "stm32l0xx_ll_usart.h"
// Enable various HAL modules
#define HAL_MODULE_ENABLED
#define HAL_ADC_MODULE_ENABLED
@ -89,6 +64,31 @@
#define USE_RTOS 0
#define USE_SPI_CRC 0
// Include various HAL modules for convenience
#include "stm32l0xx_hal_dma.h"
#include "stm32l0xx_hal_adc.h"
#include "stm32l0xx_hal_cortex.h"
#include "stm32l0xx_hal_crc.h"
#include "stm32l0xx_hal_dac.h"
#include "stm32l0xx_hal_flash.h"
#include "stm32l0xx_hal_gpio.h"
#include "stm32l0xx_hal_i2c.h"
#include "stm32l0xx_hal_i2s.h"
#include "stm32l0xx_hal_iwdg.h"
#include "stm32l0xx_hal_pcd.h"
#include "stm32l0xx_hal_pwr.h"
#include "stm32l0xx_hal_rcc.h"
#include "stm32l0xx_hal_rtc.h"
#include "stm32l0xx_hal_spi.h"
#include "stm32l0xx_hal_tim.h"
#include "stm32l0xx_hal_uart.h"
#include "stm32l0xx_hal_usart.h"
#include "stm32l0xx_hal_wwdg.h"
#include "stm32l0xx_ll_adc.h"
#include "stm32l0xx_ll_lpuart.h"
#include "stm32l0xx_ll_rtc.h"
#include "stm32l0xx_ll_usart.h"
// HAL parameter assertions are disabled
#define assert_param(expr) ((void)0)

58
ports/stm32/boards/stm32l1xx_hal_conf_base.h

@ -26,36 +26,6 @@
#ifndef MICROPY_INCLUDED_STM32L1XX_HAL_CONF_BASE_H
#define MICROPY_INCLUDED_STM32L1XX_HAL_CONF_BASE_H
// Needs to be defined before ll_usb.h is included
#define HAL_PCD_MODULE_ENABLED
// Include various HAL modules for convenience
#include "stm32l1xx_hal_rcc.h"
#include "stm32l1xx_hal_gpio.h"
#include "stm32l1xx_hal_dma.h"
#include "stm32l1xx_hal_cortex.h"
#include "stm32l1xx_hal_adc.h"
#include "stm32l1xx_hal_comp.h"
#include "stm32l1xx_hal_crc.h"
#include "stm32l1xx_hal_dac.h"
#include "stm32l1xx_hal_flash.h"
#include "stm32l1xx_hal_i2c.h"
#include "stm32l1xx_hal_iwdg.h"
#include "stm32l1xx_hal_pcd.h"
#include "stm32l1xx_hal_pwr.h"
#include "stm32l1xx_hal_rtc.h"
#include "stm32l1xx_hal_spi.h"
#include "stm32l1xx_hal_tim.h"
#include "stm32l1xx_hal_uart.h"
#include "stm32l1xx_hal_usart.h"
#include "stm32l1xx_hal_wwdg.h"
#include "stm32l1xx_hal_exti.h"
#include "stm32l1xx_ll_adc.h"
#include "stm32l1xx_ll_pwr.h"
#include "stm32l1xx_ll_rtc.h"
#include "stm32l1xx_ll_usart.h"
#include "stm32l1xx_ll_usb.h"
// Enable various HAL modules
#define HAL_MODULE_ENABLED
#define HAL_ADC_MODULE_ENABLED
@ -67,6 +37,7 @@
#define HAL_FLASH_MODULE_ENABLED
#define HAL_GPIO_MODULE_ENABLED
#define HAL_I2C_MODULE_ENABLED
#define HAL_PCD_MODULE_ENABLED
#define HAL_PWR_MODULE_ENABLED
#define HAL_RCC_MODULE_ENABLED
#define HAL_RTC_MODULE_ENABLED
@ -98,6 +69,33 @@
#define USE_SPI_CRC 0
#define USE_RTOS 0
// Include various HAL modules for convenience
#include "stm32l1xx_hal_rcc.h"
#include "stm32l1xx_hal_gpio.h"
#include "stm32l1xx_hal_dma.h"
#include "stm32l1xx_hal_cortex.h"
#include "stm32l1xx_hal_adc.h"
#include "stm32l1xx_hal_comp.h"
#include "stm32l1xx_hal_crc.h"
#include "stm32l1xx_hal_dac.h"
#include "stm32l1xx_hal_flash.h"
#include "stm32l1xx_hal_i2c.h"
#include "stm32l1xx_hal_iwdg.h"
#include "stm32l1xx_hal_pcd.h"
#include "stm32l1xx_hal_pwr.h"
#include "stm32l1xx_hal_rtc.h"
#include "stm32l1xx_hal_spi.h"
#include "stm32l1xx_hal_tim.h"
#include "stm32l1xx_hal_uart.h"
#include "stm32l1xx_hal_usart.h"
#include "stm32l1xx_hal_wwdg.h"
#include "stm32l1xx_hal_exti.h"
#include "stm32l1xx_ll_adc.h"
#include "stm32l1xx_ll_pwr.h"
#include "stm32l1xx_ll_rtc.h"
#include "stm32l1xx_ll_usart.h"
#include "stm32l1xx_ll_usb.h"
// HAL parameter assertions are disabled
#define assert_param(expr) ((void)0)

64
ports/stm32/boards/stm32l4xx_hal_conf_base.h

@ -26,39 +26,6 @@
#ifndef MICROPY_INCLUDED_STM32L4XX_HAL_CONF_BASE_H
#define MICROPY_INCLUDED_STM32L4XX_HAL_CONF_BASE_H
// Needs to be defined before ll_usb.h is included
#define HAL_PCD_MODULE_ENABLED
// Include various HAL modules for convenience
#include "stm32l4xx_hal_dma.h"
#include "stm32l4xx_hal_adc.h"
#include "Legacy/stm32l4xx_hal_can_legacy.h"
#include "stm32l4xx_hal_cortex.h"
#include "stm32l4xx_hal_crc.h"
#include "stm32l4xx_hal_dac.h"
#include "stm32l4xx_hal_dcmi.h"
#include "stm32l4xx_hal_flash.h"
#include "stm32l4xx_hal_gpio.h"
#include "stm32l4xx_hal_hash.h"
#include "stm32l4xx_hal_hcd.h"
#include "stm32l4xx_hal_i2c.h"
#include "stm32l4xx_hal_iwdg.h"
#include "stm32l4xx_hal_pcd.h"
#include "stm32l4xx_hal_pwr.h"
#include "stm32l4xx_hal_rcc.h"
#include "stm32l4xx_hal_rtc.h"
#include "stm32l4xx_hal_sd.h"
#include "stm32l4xx_hal_spi.h"
#include "stm32l4xx_hal_tim.h"
#include "stm32l4xx_hal_uart.h"
#include "stm32l4xx_hal_usart.h"
#include "stm32l4xx_hal_wwdg.h"
#include "stm32l4xx_ll_adc.h"
#include "stm32l4xx_ll_lpuart.h"
#include "stm32l4xx_ll_rtc.h"
#include "stm32l4xx_ll_usart.h"
#include "stm32l4xx_ll_usb.h"
// Enable various HAL modules
#define HAL_MODULE_ENABLED
#define HAL_ADC_MODULE_ENABLED
@ -74,6 +41,7 @@
#define HAL_HCD_MODULE_ENABLED
#define HAL_I2C_MODULE_ENABLED
#define HAL_IWDG_MODULE_ENABLED
#define HAL_PCD_MODULE_ENABLED
#define HAL_PWR_MODULE_ENABLED
#define HAL_RCC_MODULE_ENABLED
#define HAL_RTC_MODULE_ENABLED
@ -100,6 +68,36 @@
#define USE_SPI_CRC 0
#define USE_RTOS 0
// Include various HAL modules for convenience
#include "stm32l4xx_hal_dma.h"
#include "stm32l4xx_hal_adc.h"
#include "Legacy/stm32l4xx_hal_can_legacy.h"
#include "stm32l4xx_hal_cortex.h"
#include "stm32l4xx_hal_crc.h"
#include "stm32l4xx_hal_dac.h"
#include "stm32l4xx_hal_dcmi.h"
#include "stm32l4xx_hal_flash.h"
#include "stm32l4xx_hal_gpio.h"
#include "stm32l4xx_hal_hash.h"
#include "stm32l4xx_hal_hcd.h"
#include "stm32l4xx_hal_i2c.h"
#include "stm32l4xx_hal_iwdg.h"
#include "stm32l4xx_hal_pcd.h"
#include "stm32l4xx_hal_pwr.h"
#include "stm32l4xx_hal_rcc.h"
#include "stm32l4xx_hal_rtc.h"
#include "stm32l4xx_hal_sd.h"
#include "stm32l4xx_hal_spi.h"
#include "stm32l4xx_hal_tim.h"
#include "stm32l4xx_hal_uart.h"
#include "stm32l4xx_hal_usart.h"
#include "stm32l4xx_hal_wwdg.h"
#include "stm32l4xx_ll_adc.h"
#include "stm32l4xx_ll_lpuart.h"
#include "stm32l4xx_ll_rtc.h"
#include "stm32l4xx_ll_usart.h"
#include "stm32l4xx_ll_usb.h"
// HAL parameter assertions are disabled
#define assert_param(expr) ((void)0)

42
ports/stm32/boards/stm32wbxx_hal_conf_base.h

@ -26,27 +26,6 @@
#ifndef MICROPY_INCLUDED_STM32WBXX_HAL_CONF_BASE_H
#define MICROPY_INCLUDED_STM32WBXX_HAL_CONF_BASE_H
// Include various HAL modules for convenience
#include "stm32wbxx_hal_dma.h"
#include "stm32wbxx_hal_adc.h"
#include "stm32wbxx_hal_cortex.h"
#include "stm32wbxx_hal_flash.h"
#include "stm32wbxx_hal_gpio.h"
#include "stm32wbxx_hal_i2c.h"
#include "stm32wbxx_hal_pcd.h"
#include "stm32wbxx_hal_pwr.h"
#include "stm32wbxx_hal_rcc.h"
#include "stm32wbxx_hal_rtc.h"
#include "stm32wbxx_hal_spi.h"
#include "stm32wbxx_hal_tim.h"
#include "stm32wbxx_hal_uart.h"
#include "stm32wbxx_hal_usart.h"
#include "stm32wbxx_ll_adc.h"
#include "stm32wbxx_ll_hsem.h"
#include "stm32wbxx_ll_lpuart.h"
#include "stm32wbxx_ll_rtc.h"
#include "stm32wbxx_ll_usart.h"
// Enable various HAL modules
#define HAL_MODULE_ENABLED
#define HAL_ADC_MODULE_ENABLED
@ -77,6 +56,27 @@
#define USE_SPI_CRC 0
#define USE_RTOS 0
// Include various HAL modules for convenience
#include "stm32wbxx_hal_dma.h"
#include "stm32wbxx_hal_adc.h"
#include "stm32wbxx_hal_cortex.h"
#include "stm32wbxx_hal_flash.h"
#include "stm32wbxx_hal_gpio.h"
#include "stm32wbxx_hal_i2c.h"
#include "stm32wbxx_hal_pcd.h"
#include "stm32wbxx_hal_pwr.h"
#include "stm32wbxx_hal_rcc.h"
#include "stm32wbxx_hal_rtc.h"
#include "stm32wbxx_hal_spi.h"
#include "stm32wbxx_hal_tim.h"
#include "stm32wbxx_hal_uart.h"
#include "stm32wbxx_hal_usart.h"
#include "stm32wbxx_ll_adc.h"
#include "stm32wbxx_ll_hsem.h"
#include "stm32wbxx_ll_lpuart.h"
#include "stm32wbxx_ll_rtc.h"
#include "stm32wbxx_ll_usart.h"
// HAL parameter assertions are disabled
#define assert_param(expr) ((void)0)

38
ports/stm32/boards/stm32wlxx_hal_conf_base.h

@ -26,25 +26,6 @@
#ifndef MICROPY_INCLUDED_STM32WLXX_HAL_CONF_BASE_H
#define MICROPY_INCLUDED_STM32WLXX_HAL_CONF_BASE_H
// Include various HAL modules for convenience
#include "stm32wlxx_hal_dma.h"
#include "stm32wlxx_hal_adc.h"
#include "stm32wlxx_hal_cortex.h"
#include "stm32wlxx_hal_flash.h"
#include "stm32wlxx_hal_gpio.h"
#include "stm32wlxx_hal_i2c.h"
#include "stm32wlxx_hal_pwr.h"
#include "stm32wlxx_hal_rcc.h"
#include "stm32wlxx_hal_rtc.h"
#include "stm32wlxx_hal_spi.h"
#include "stm32wlxx_hal_tim.h"
#include "stm32wlxx_hal_uart.h"
#include "stm32wlxx_hal_usart.h"
#include "stm32wlxx_ll_adc.h"
#include "stm32wlxx_ll_lpuart.h"
#include "stm32wlxx_ll_rtc.h"
#include "stm32wlxx_ll_usart.h"
// Enable various HAL modules
#define HAL_MODULE_ENABLED
#define HAL_CORTEX_MODULE_ENABLED
@ -72,6 +53,25 @@
#define USE_SPI_CRC 0
#define USE_RTOS 0
// Include various HAL modules for convenience
#include "stm32wlxx_hal_dma.h"
#include "stm32wlxx_hal_adc.h"
#include "stm32wlxx_hal_cortex.h"
#include "stm32wlxx_hal_flash.h"
#include "stm32wlxx_hal_gpio.h"
#include "stm32wlxx_hal_i2c.h"
#include "stm32wlxx_hal_pwr.h"
#include "stm32wlxx_hal_rcc.h"
#include "stm32wlxx_hal_rtc.h"
#include "stm32wlxx_hal_spi.h"
#include "stm32wlxx_hal_tim.h"
#include "stm32wlxx_hal_uart.h"
#include "stm32wlxx_hal_usart.h"
#include "stm32wlxx_ll_adc.h"
#include "stm32wlxx_ll_lpuart.h"
#include "stm32wlxx_ll_rtc.h"
#include "stm32wlxx_ll_usart.h"
// HAL parameter assertions are disabled
#define assert_param(expr) ((void)0)

Loading…
Cancel
Save