你的浏览器版本过低,可能导致网站不能正常访问!
为了你能正常使用网站功能,请使用这些浏览器。

msys2下编译stm32的micropython

[复制链接]
Mandelbrot_Set 提问时间:2018-5-24 16:41 /
先说明下环境确实不如linux好用,各种坑,虽然可以编译成功。
1.clone仓库.
由于有http://github.com/micropython/mi ... tm32/modules/dht.py等symbolic link
直接在windows clone下来会变样(用的msys2自带的git)
所以:
  1. admin@admin-PC MINGW64 ~/test
  2. $ git clone -c core.symlinks=true http://github.com/micropython/micropython --branch v1.9.4 --depth=1
  3. Cloning into 'micropython'...
  4. remote: Counting objects: 2846, done.
  5. remote: Compressing objects: 100% (2478/2478), done.
  6. remote: Total 2846 (delta 460), reused 1426 (delta 181), pack-reused 0
  7. Receiving objects: 100% (2846/2846), 5.01 MiB | 681.00 KiB/s, done.
  8. Resolving deltas: 100% (460/460), done.
  9. Note: checking out '421b84af9968e582f324899934f52b3df60381ee'.

  10. You are in 'detached HEAD' state. You can look around, make experimental
  11. changes and commit them, and you can discard any commits you make in this
  12. state without impacting any branches by performing another checkout.

  13. If you want to create a new branch to retain commits you create, you may
  14. do so (now or later) by using -b with the checkout command again. Example:

  15.   git checkout -b <new-branch-name>

  16. error: unable to create symlink examples/embedding/mpconfigport.h: No such file or directory
  17. error: unable to create symlink ports/esp32/modules/ds18x20.py: No such file or directory
  18. error: unable to create symlink ports/esp32/modules/ntptime.py: No such file or directory
  19. error: unable to create symlink ports/esp32/modules/onewire.py: No such file or directory
  20. error: unable to create symlink ports/esp32/modules/upip.py: No such file or directory
  21. error: unable to create symlink ports/esp32/modules/upip_utarfile.py: No such file or directory
  22. error: unable to create symlink ports/esp32/modules/upysh.py: No such file or directory
  23. error: unable to create symlink ports/esp32/modules/urequests.py: No such file or directory
  24. error: unable to create symlink ports/esp32/modules/webrepl.py: No such file or directory
  25. error: unable to create symlink ports/esp32/modules/webrepl_setup.py: No such file or directory
  26. error: unable to create symlink ports/esp32/modules/websocket_helper.py: No such file or directory
  27. error: unable to create symlink ports/esp8266/modules/upip.py: No such file or directory
  28. error: unable to create symlink ports/esp8266/modules/upip_utarfile.py: No such file or directory
  29. error: unable to create symlink ports/unix/modules/upip.py: No such file or directory
  30. error: unable to create symlink ports/unix/modules/upip_utarfile.py: No such file or directory
  31. error: unable to create symlink tests/pyboard.py: No such file or directory
  32. Checking out files: 100% (2698/2698), done.
  33. fatal: unable to checkout working tree
  34. warning: Clone succeeded, but checkout failed.
  35. You can inspect what was checked out with 'git status'
  36. and retry the checkout with 'git checkout -f HEAD'

复制代码
还是报错。。
如果不待-c core.symlinks=true参数,可能出现
  1. MPY modules/dht.py
  2. Traceback (most recent call last):
  3.   File "modules/dht.py", line 1
  4. SyntaxError: invalid syntax
  5. make: *** [../../py/mkrules.mk:114: build-NUCLEO_L476RG/frozen_mpy/dht.mpy] Error 1
复制代码
原因在于modules/dht.py 已经不是它该有的样子了。。
将链接指向的文件copy过去覆盖也是可以的(这样可能就不需要step2了)

2.clone stm32lib
make 时按理会自动clone,但是报错了,先手动.
[可能上面的错误导致的]
  1. admin@admin-PC MINGW64 ~/test
  2. $ cd micropython/
复制代码
  1. admin@admin-PC MINGW64 ~/test/micropython
  2. $ git clone http://github.com/micropython/stm32lib ./lib/stm32lib
  3. Cloning into './lib/stm32lib'...
  4. remote: Counting objects: 1958, done.
  5. remote: Total 1958 (delta 0), reused 0 (delta 0), pack-reused 1958
  6. Receiving objects: 100% (1958/1958), 7.46 MiB | 905.00 KiB/s, done.
  7. Resolving deltas: 100% (1508/1508), done.
  8. Checking out files: 100% (776/776), done.
复制代码
3.下面可以编译了。
  1. admin@admin-PC MINGW64 ~/test/micropython
  2. $ make -C mpy-cross -j8
  3. make: Entering directory '/aaaa/test/micropython/mpy-cross'
  4. Use make V=1 or set BUILD_VERBOSE in your environment to increase build verbosity.
  5. mkdir -p build/genhdr
  6. mkdir -p build/
  7. mkdir -p build/extmod/
  8. mkdir -p build/lib/embed/
  9. mkdir -p build/lib/utils/
  10. mkdir -p build/py/
  11. GEN build/genhdr/mpversion.h
  12. GEN build/genhdr/qstr.i.last
  13. GEN build/genhdr/qstr.split
  14. GEN build/genhdr/qstrdefs.collected.h
  15. QSTR updated
  16. GEN build/genhdr/qstrdefs.generated.h
  17. CC ../py/mpstate.c
  18. CC ../py/nlr.c
  19. CC ../py/nlrx86.c
  20. CC ../py/nlrx64.c
  21. CC ../py/nlrthumb.c
  22. CC ../py/nlrxtensa.c
  23. CC ../py/nlrsetjmp.c
  24. CC ../py/malloc.c
  25. CC ../py/gc.c
  26. CC ../py/pystack.c
  27. CC ../py/qstr.c
  28. CC ../py/vstr.c
  29. CC ../py/mpprint.c
  30. CC ../py/unicode.c
  31. CC ../py/mpz.c
  32. CC ../py/reader.c
  33. CC ../py/lexer.c
  34. CC ../py/parse.c
  35. CC ../py/scope.c
  36. CC ../py/compile.c
  37. CC ../py/emitcommon.c
  38. CC ../py/emitbc.c
  39. CC ../py/asmbase.c
  40. CC ../py/asmx64.c
  41. CC ../py/emitnx64.c
  42. CC ../py/asmx86.c
  43. CC ../py/emitnx86.c
  44. CC ../py/asmthumb.c
  45. CC ../py/emitnthumb.c
  46. CC ../py/emitinlinethumb.c
  47. CC ../py/emitnarm.c
  48. CC ../py/asmarm.c
  49. CC ../py/asmxtensa.c
  50. CC ../py/emitnxtensa.c
  51. CC ../py/emitinlinextensa.c
  52. CC ../py/formatfloat.c
  53. CC ../py/parsenumbase.c
  54. CC ../py/parsenum.c
  55. CC ../py/emitglue.c
  56. CC ../py/persistentcode.c
  57. CC ../py/runtime.c
  58. CC ../py/runtime_utils.c
  59. CC ../py/scheduler.c
  60. CC ../py/nativeglue.c
  61. CC ../py/stackctrl.c
  62. CC ../py/argcheck.c
  63. CC ../py/map.c
  64. CC ../py/warning.c
  65. CC ../py/obj.c
  66. CC ../py/objarray.c
  67. CC ../py/objattrtuple.c
  68. CC ../py/objboundmeth.c
  69. CC ../py/objbool.c
  70. CC ../py/objcell.c
  71. CC ../py/objclosure.c
  72. CC ../py/objcomplex.c
  73. CC ../py/objdeque.c
  74. CC ../py/objdict.c
  75. CC ../py/objexcept.c
  76. CC ../py/objenumerate.c
  77. CC ../py/objfilter.c
  78. CC ../py/objfloat.c
  79. CC ../py/objfun.c
  80. CC ../py/objgenerator.c
  81. CC ../py/objgetitemiter.c
  82. CC ../py/objint.c
  83. CC ../py/objint_longlong.c
  84. CC ../py/objint_mpz.c
  85. CC ../py/objlist.c
  86. CC ../py/objmodule.c
  87. CC ../py/objmap.c
  88. CC ../py/objobject.c
  89. CC ../py/objpolyiter.c
  90. CC ../py/objproperty.c
  91. CC ../py/objnone.c
  92. CC ../py/objnamedtuple.c
  93. CC ../py/objrange.c
  94. CC ../py/objreversed.c
  95. CC ../py/objset.c
  96. CC ../py/objsingleton.c
  97. CC ../py/objslice.c
  98. CC ../py/objstr.c
  99. CC ../py/objstrunicode.c
  100. CC ../py/objstringio.c
  101. CC ../py/objtuple.c
  102. CC ../py/objtype.c
  103. CC ../py/opmethods.c
  104. CC ../py/sequence.c
  105. CC ../py/objzip.c
  106. CC ../py/stream.c
  107. CC ../py/binary.c
  108. CC ../py/builtinimport.c
  109. CC ../py/builtinevex.c
  110. CC ../py/builtinhelp.c
  111. CC ../py/modarray.c
  112. CC ../py/modbuiltins.c
  113. CC ../py/modcollections.c
  114. CC ../py/modgc.c
  115. CC ../py/modio.c
  116. CC ../py/modmath.c
  117. CC ../py/modcmath.c
  118. CC ../py/modmicropython.c
  119. CC ../py/modsys.c
  120. CC ../py/moduerrno.c
  121. CC ../py/modstruct.c
  122. CC ../py/modthread.c
  123. CC ../py/vm.c
  124. CC ../py/bc.c
  125. CC ../py/showbc.c
  126. CC ../py/repl.c
  127. CC ../py/smallint.c
  128. CC ../py/frozenmod.c
  129. CC ../extmod/moductypes.c
  130. CC ../extmod/modujson.c
  131. CC ../extmod/modure.c
  132. CC ../extmod/moduzlib.c
  133. CC ../extmod/moduheapq.c
  134. CC ../extmod/modutimeq.c
  135. CC ../extmod/moduhashlib.c
  136. CC ../extmod/modubinascii.c
  137. CC ../extmod/virtpin.c
  138. CC ../extmod/machine_mem.c
  139. CC ../extmod/machine_pinbase.c
  140. CC ../extmod/machine_signal.c
  141. CC ../extmod/machine_pulse.c
  142. CC ../extmod/machine_i2c.c
  143. CC ../extmod/machine_spi.c
  144. CC ../extmod/modussl_axtls.c
  145. CC ../extmod/modussl_mbedtls.c
  146. CC ../extmod/modurandom.c
  147. CC ../extmod/moduselect.c
  148. CC ../extmod/modwebrepl.c
  149. CC ../extmod/modwebsocket.c
  150. CC ../extmod/modframebuf.c
  151. CC ../extmod/vfs.c
  152. CC ../extmod/vfs_reader.c
  153. CC ../extmod/vfs_fat.c
  154. CC ../extmod/vfs_fat_diskio.c
  155. CC ../extmod/vfs_fat_file.c
  156. CC ../extmod/utime_mphal.c
  157. CC ../extmod/uos_dupterm.c
  158. CC ../lib/embed/abort_.c
  159. CC ../lib/utils/printf.c
  160. CC main.c
  161. CC gccollect.c
  162. LINK mpy-cross
  163.    text    data     bss     dec     hex filename
  164. 190489    2852    1280  194621   2f83d mpy-cross
  165. make: Leaving directory '/aaaa/test/micropython/mpy-cross'
复制代码
  1. admin@admin-PC MINGW64 ~/test/micropython
  2. $ make -C ports/stm32 BOARD=NUCLEO_L476RG -j8
  3. make: Entering directory '/aaaa/test/micropython/ports/stm32'
  4. Use make V=1 or set BUILD_VERBOSE in your environment to increase build verbosity.
  5. mkdir -p build-NUCLEO_L476RG/genhdr
  6. mkdir -p build-NUCLEO_L476RG/boards/
  7. mkdir -p build-NUCLEO_L476RG/build-NUCLEO_L476RG/
  8. mkdir -p build-NUCLEO_L476RG/drivers/bus/
  9. mkdir -p build-NUCLEO_L476RG/drivers/dht/
  10. mkdir -p build-NUCLEO_L476RG/drivers/memory/
  11. mkdir -p build-NUCLEO_L476RG/extmod/
  12. mkdir -p build-NUCLEO_L476RG/lib/embed/
  13. mkdir -p build-NUCLEO_L476RG/lib/libc/
  14. mkdir -p build-NUCLEO_L476RG/lib/libm/
  15. mkdir -p build-NUCLEO_L476RG/lib/mp-readline/
  16. mkdir -p build-NUCLEO_L476RG/lib/netutils/
  17. mkdir -p build-NUCLEO_L476RG/lib/oofatfs/
  18. mkdir -p build-NUCLEO_L476RG/lib/oofatfs/option/
  19. mkdir -p build-NUCLEO_L476RG/lib/stm32lib/STM32L4xx_HAL_Driver/Src/
  20. mkdir -p build-NUCLEO_L476RG/lib/timeutils/
  21. mkdir -p build-NUCLEO_L476RG/lib/utils/
  22. mkdir -p build-NUCLEO_L476RG/py/
  23. mkdir -p build-NUCLEO_L476RG/usbdev/class/src/
  24. mkdir -p build-NUCLEO_L476RG/usbdev/core/src/
  25. MPY modules/dht.py
  26. MPY modules/lcd160cr.py
  27. MPY modules/lcd160cr_test.py
  28. MPY modules/onewire.py
  29. GEN stmconst build-NUCLEO_L476RG/genhdr/modstm_const.h
  30. GEN build-NUCLEO_L476RG/pins_NUCLEO_L476RG.c
  31. GEN build-NUCLEO_L476RG/genhdr/pybcdc.inf
  32. GEN build-NUCLEO_L476RG/genhdr/pllfreqtable.h
  33. GEN build-NUCLEO_L476RG/genhdr/pybcdc_inf.h
  34. GEN build-NUCLEO_L476RG/genhdr/mpversion.h
  35. GEN build-NUCLEO_L476RG/genhdr/qstr.i.last
  36. GEN build-NUCLEO_L476RG/genhdr/qstr.split
  37. GEN build-NUCLEO_L476RG/genhdr/qstrdefs.collected.h
  38. QSTR updated
  39. GEN build-NUCLEO_L476RG/genhdr/qstrdefs.generated.h
  40. CC ../../py/mpstate.c
  41. CC ../../py/nlr.c
  42. CC ../../py/nlrx86.c
  43. CC ../../py/nlrx64.c
  44. CC ../../py/nlrthumb.c
  45. CC ../../py/nlrxtensa.c
  46. CC ../../py/nlrsetjmp.c
  47. CC ../../py/malloc.c
  48. CC ../../py/gc.c
  49. CC ../../py/pystack.c
  50. CC ../../py/qstr.c
  51. CC ../../py/vstr.c
  52. CC ../../py/mpprint.c
  53. CC ../../py/unicode.c
  54. CC ../../py/mpz.c
  55. CC ../../py/reader.c
  56. CC ../../py/lexer.c
  57. CC ../../py/parse.c
  58. CC ../../py/scope.c
  59. CC ../../py/compile.c
  60. CC ../../py/emitcommon.c
  61. CC ../../py/emitbc.c
  62. CC ../../py/asmbase.c
  63. CC ../../py/asmx64.c
  64. CC ../../py/emitnx64.c
  65. CC ../../py/asmx86.c
  66. CC ../../py/emitnx86.c
  67. CC ../../py/asmthumb.c
  68. CC ../../py/emitnthumb.c
  69. CC ../../py/emitinlinethumb.c
  70. CC ../../py/asmarm.c
  71. CC ../../py/emitnarm.c
  72. CC ../../py/asmxtensa.c
  73. CC ../../py/emitnxtensa.c
  74. CC ../../py/emitinlinextensa.c
  75. CC ../../py/formatfloat.c
  76. CC ../../py/parsenumbase.c
  77. CC ../../py/parsenum.c
  78. CC ../../py/emitglue.c
  79. CC ../../py/persistentcode.c
  80. CC ../../py/runtime.c
  81. CC ../../py/runtime_utils.c
  82. CC ../../py/scheduler.c
  83. CC ../../py/nativeglue.c
  84. CC ../../py/stackctrl.c
  85. CC ../../py/argcheck.c
  86. CC ../../py/warning.c
  87. CC ../../py/map.c
  88. CC ../../py/obj.c
  89. CC ../../py/objarray.c
  90. CC ../../py/objattrtuple.c
  91. CC ../../py/objbool.c
  92. CC ../../py/objboundmeth.c
  93. CC ../../py/objcell.c
  94. CC ../../py/objclosure.c
  95. CC ../../py/objcomplex.c
  96. CC ../../py/objdeque.c
  97. CC ../../py/objdict.c
  98. CC ../../py/objenumerate.c
  99. CC ../../py/objexcept.c
  100. CC ../../py/objfilter.c
  101. CC ../../py/objfloat.c
  102. CC ../../py/objfun.c
  103. CC ../../py/objgenerator.c
  104. CC ../../py/objgetitemiter.c
  105. CC ../../py/objint.c
  106. CC ../../py/objint_longlong.c
  107. CC ../../py/objint_mpz.c
  108. CC ../../py/objlist.c
  109. CC ../../py/objmap.c
  110. CC ../../py/objmodule.c
  111. CC ../../py/objobject.c
  112. CC ../../py/objpolyiter.c
  113. CC ../../py/objproperty.c
  114. CC ../../py/objnone.c
  115. CC ../../py/objnamedtuple.c
  116. CC ../../py/objrange.c
  117. CC ../../py/objreversed.c
  118. CC ../../py/objset.c
  119. CC ../../py/objsingleton.c
  120. CC ../../py/objslice.c
  121. CC ../../py/objstr.c
  122. CC ../../py/objstrunicode.c
  123. CC ../../py/objstringio.c
  124. CC ../../py/objtuple.c
  125. CC ../../py/objtype.c
  126. CC ../../py/objzip.c
  127. CC ../../py/opmethods.c
  128. CC ../../py/sequence.c
  129. CC ../../py/stream.c
  130. CC ../../py/binary.c
  131. CC ../../py/builtinimport.c
  132. CC ../../py/builtinevex.c
  133. CC ../../py/builtinhelp.c
  134. CC ../../py/modarray.c
  135. CC ../../py/modbuiltins.c
  136. CC ../../py/modcollections.c
  137. CC ../../py/modgc.c
  138. CC ../../py/modio.c
  139. CC ../../py/modmath.c
  140. CC ../../py/modcmath.c
  141. CC ../../py/modmicropython.c
  142. CC ../../py/modstruct.c
  143. CC ../../py/modsys.c
  144. CC ../../py/moduerrno.c
  145. CC ../../py/modthread.c
  146. CC ../../py/vm.c
  147. CC ../../py/bc.c
  148. CC ../../py/showbc.c
  149. CC ../../py/repl.c
  150. CC ../../py/smallint.c
  151. CC ../../py/frozenmod.c
  152. CC ../../extmod/moductypes.c
  153. CC ../../extmod/modujson.c
  154. CC ../../extmod/modure.c
  155. CC ../../extmod/moduzlib.c
  156. CC ../../extmod/moduheapq.c
  157. CC ../../extmod/modutimeq.c
  158. CC ../../extmod/moduhashlib.c
  159. CC ../../extmod/modubinascii.c
  160. CC ../../extmod/virtpin.c
  161. CC ../../extmod/machine_mem.c
  162. CC ../../extmod/machine_pinbase.c
  163. CC ../../extmod/machine_signal.c
  164. CC ../../extmod/machine_pulse.c
  165. CC ../../extmod/machine_i2c.c
  166. CC ../../extmod/machine_spi.c
  167. CC ../../extmod/modussl_axtls.c
  168. CC ../../extmod/modussl_mbedtls.c
  169. CC ../../extmod/modurandom.c
  170. CC ../../extmod/moduselect.c
  171. CC ../../extmod/modwebsocket.c
  172. CC ../../extmod/modwebrepl.c
  173. CC ../../extmod/modframebuf.c
  174. CC ../../extmod/vfs.c
  175. CC ../../extmod/vfs_reader.c
  176. CC ../../extmod/vfs_fat.c
  177. CC ../../extmod/vfs_fat_diskio.c
  178. CC ../../extmod/vfs_fat_file.c
  179. CC ../../extmod/utime_mphal.c
  180. CC ../../extmod/uos_dupterm.c
  181. CC ../../lib/embed/abort_.c
  182. CC ../../lib/utils/printf.c
  183. GEN build-NUCLEO_L476RG/frozen_mpy.c
  184. CC ../../lib/libc/string0.c
  185. CC ../../lib/oofatfs/ff.c
  186. CC ../../lib/oofatfs/option/unicode.c
  187. CC ../../lib/mp-readline/readline.c
  188. CC ../../lib/netutils/netutils.c
  189. CC ../../lib/timeutils/timeutils.c
  190. CC ../../lib/utils/pyexec.c
  191. CC ../../lib/utils/interrupt_char.c
  192. CC ../../lib/utils/sys_stdio_mphal.c
  193. CC ../../lib/libm/math.c
  194. CC ../../lib/libm/thumb_vfp_sqrtf.c
  195. CC ../../lib/libm/acoshf.c
  196. CC ../../lib/libm/asinfacosf.c
  197. CC ../../lib/libm/asinhf.c
  198. CC ../../lib/libm/atan2f.c
  199. CC ../../lib/libm/atanf.c
  200. CC ../../lib/libm/atanhf.c
  201. CC ../../lib/libm/ef_rem_pio2.c
  202. CC ../../lib/libm/erf_lgamma.c
  203. CC ../../lib/libm/fmodf.c
  204. CC ../../lib/libm/kf_cos.c
  205. CC ../../lib/libm/kf_rem_pio2.c
  206. CC ../../lib/libm/kf_sin.c
  207. CC ../../lib/libm/kf_tan.c
  208. CC ../../lib/libm/log1pf.c
  209. CC ../../lib/libm/nearbyintf.c
  210. CC ../../lib/libm/sf_cos.c
  211. CC ../../lib/libm/sf_erf.c
  212. CC ../../lib/libm/sf_frexp.c
  213. CC ../../lib/libm/sf_ldexp.c
  214. CC ../../lib/libm/sf_modf.c
  215. CC ../../lib/libm/sf_sin.c
  216. CC ../../lib/libm/sf_tan.c
  217. CC ../../lib/libm/wf_lgamma.c
  218. CC ../../lib/libm/wf_tgamma.c
  219. CC ../../extmod/modonewire.c
  220. CC ../../drivers/bus/softspi.c
  221. CC ../../drivers/bus/softqspi.c
  222. CC ../../drivers/memory/spiflash.c
  223. CC ../../drivers/dht/dht.c
  224. CC main.c
  225. CC system_stm32.c
  226. CC stm32_it.c
  227. CC usbd_conf.c
  228. CC usbd_desc.c
  229. CC usbd_cdc_interface.c
  230. CC usbd_hid_interface.c
  231. CC usbd_msc_storage.c
  232. CC mphalport.c
  233. CC mpthreadport.c
  234. CC irq.c
  235. CC pendsv.c
  236. CC systick.c
  237. CC pybthread.c
  238. CC timer.c
  239. CC led.c
  240. CC pin.c
  241. CC pin_defs_stm32.c
  242. CC pin_named_pins.c
  243. CC bufhelper.c
  244. CC dma.c
  245. CC i2c.c
  246. CC pyb_i2c.c
  247. CC spi.c
  248. CC qspi.c
  249. CC uart.c
  250. CC can.c
  251. CC usb.c
  252. CC wdt.c
  253. CC gccollect.c
  254. CC help.c
  255. CC machine_i2c.c
  256. CC modmachine.c
  257. CC modpyb.c
  258. CC modstm.c
  259. CC moduos.c
  260. CC modutime.c
  261. CC modusocket.c
  262. CC modnetwork.c
  263. CC extint.c
  264. CC usrsw.c
  265. CC rng.c
  266. CC rtc.c
  267. CC flash.c
  268. CC flashbdev.c
  269. CC spibdev.c
  270. CC storage.c
  271. CC sdcard.c
  272. CC fatfs_port.c
  273. CC lcd.c
  274. CC accel.c
  275. CC servo.c
  276. CC dac.c
  277. CC adc.c
  278. AS boards/startup_stm32l4.s
  279. AS resethandler.s
  280. AS gchelper.s
  281. CC ../../lib/stm32lib/STM32L4xx_HAL_Driver/Src/stm32l4xx_hal.c
  282. CC ../../lib/stm32lib/STM32L4xx_HAL_Driver/Src/stm32l4xx_hal_adc.c
  283. CC ../../lib/stm32lib/STM32L4xx_HAL_Driver/Src/stm32l4xx_hal_adc_ex.c
  284. CC ../../lib/stm32lib/STM32L4xx_HAL_Driver/Src/stm32l4xx_hal_cortex.c
  285. CC ../../lib/stm32lib/STM32L4xx_HAL_Driver/Src/stm32l4xx_hal_dac.c
  286. CC ../../lib/stm32lib/STM32L4xx_HAL_Driver/Src/stm32l4xx_hal_dac_ex.c
  287. CC ../../lib/stm32lib/STM32L4xx_HAL_Driver/Src/stm32l4xx_hal_dma.c
  288. CC ../../lib/stm32lib/STM32L4xx_HAL_Driver/Src/stm32l4xx_hal_flash.c
  289. CC ../../lib/stm32lib/STM32L4xx_HAL_Driver/Src/stm32l4xx_hal_flash_ex.c
  290. CC ../../lib/stm32lib/STM32L4xx_HAL_Driver/Src/stm32l4xx_hal_gpio.c
  291. CC ../../lib/stm32lib/STM32L4xx_HAL_Driver/Src/stm32l4xx_hal_i2c.c
  292. CC ../../lib/stm32lib/STM32L4xx_HAL_Driver/Src/stm32l4xx_hal_pcd.c
  293. CC ../../lib/stm32lib/STM32L4xx_HAL_Driver/Src/stm32l4xx_hal_pcd_ex.c
  294. CC ../../lib/stm32lib/STM32L4xx_HAL_Driver/Src/stm32l4xx_hal_pwr.c
  295. CC ../../lib/stm32lib/STM32L4xx_HAL_Driver/Src/stm32l4xx_hal_pwr_ex.c
  296. CC ../../lib/stm32lib/STM32L4xx_HAL_Driver/Src/stm32l4xx_hal_rcc.c
  297. CC ../../lib/stm32lib/STM32L4xx_HAL_Driver/Src/stm32l4xx_hal_rcc_ex.c
  298. CC ../../lib/stm32lib/STM32L4xx_HAL_Driver/Src/stm32l4xx_hal_rtc.c
  299. CC ../../lib/stm32lib/STM32L4xx_HAL_Driver/Src/stm32l4xx_hal_rtc_ex.c
  300. CC ../../lib/stm32lib/STM32L4xx_HAL_Driver/Src/stm32l4xx_hal_sd.c
  301. CC ../../lib/stm32lib/STM32L4xx_HAL_Driver/Src/stm32l4xx_hal_spi.c
  302. CC ../../lib/stm32lib/STM32L4xx_HAL_Driver/Src/stm32l4xx_hal_tim.c
  303. CC ../../lib/stm32lib/STM32L4xx_HAL_Driver/Src/stm32l4xx_hal_tim_ex.c
  304. CC ../../lib/stm32lib/STM32L4xx_HAL_Driver/Src/stm32l4xx_hal_uart.c
  305. CC ../../lib/stm32lib/STM32L4xx_HAL_Driver/Src/stm32l4xx_ll_sdmmc.c
  306. CC ../../lib/stm32lib/STM32L4xx_HAL_Driver/Src/stm32l4xx_ll_usb.c
  307. CC ../../lib/stm32lib/STM32L4xx_HAL_Driver/Src/stm32l4xx_hal_can.c
  308. CC usbdev/core/src/usbd_core.c
  309. CC usbdev/core/src/usbd_ctlreq.c
  310. CC usbdev/core/src/usbd_ioreq.c
  311. CC usbdev/class/src/usbd_cdc_msc_hid.c
  312. CC usbdev/class/src/usbd_msc_bot.c
  313. CC usbdev/class/src/usbd_msc_scsi.c
  314. CC usbdev/class/src/usbd_msc_data.c
  315. CC build-NUCLEO_L476RG/pins_NUCLEO_L476RG.c
  316. CC build-NUCLEO_L476RG/frozen_mpy.c
  317. LINK build-NUCLEO_L476RG/firmware.elf
  318.    text    data     bss     dec     hex filename
  319. 313520     108   27828  341456   535d0 build-NUCLEO_L476RG/firmware.elf
  320. GEN build-NUCLEO_L476RG/firmware.dfu
  321. GEN build-NUCLEO_L476RG/firmware.hex
  322. make: Leaving directory '/aaaa/test/micropython/ports/stm32'

  323. admin@admin-PC MINGW64 ~/test/micropython
复制代码


以上仅供参考.


收藏 评论0 发布时间:2018-5-24 16:41

举报

0个回答

所属标签

相似问题

关于意法半导体
我们是谁
投资者关系
意法半导体可持续发展举措
创新和工艺
招聘信息
联系我们
联系ST分支机构
寻找销售人员和分销渠道
社区
媒体中心
活动与培训
隐私策略
隐私策略
Cookies管理
行使您的权利
关注我们
st-img 微信公众号
st-img 手机版