Title: Not using previously compiled files and slow compilation. · Issue #770 · stm32duino/Arduino_Core_STM32 · GitHub
Open Graph Title: Not using previously compiled files and slow compilation. · Issue #770 · stm32duino/Arduino_Core_STM32
X Title: Not using previously compiled files and slow compilation. · Issue #770 · stm32duino/Arduino_Core_STM32
Description: When re-compiling a sketch without changing the configuration or anything, the compiler does recompile many files instead of using previously compiled files. Tried for "BluePill F103C8 (128k)" ~195 files were re-used ~193 files were re-c...
Open Graph Description: When re-compiling a sketch without changing the configuration or anything, the compiler does recompile many files instead of using previously compiled files. Tried for "BluePill F103C8 (128k)" ~195...
X Description: When re-compiling a sketch without changing the configuration or anything, the compiler does recompile many files instead of using previously compiled files. Tried for "BluePill F103C8 (128k)&...
Opengraph URL: https://github.com/stm32duino/Arduino_Core_STM32/issues/770
X: @github
Domain: github.com
{"@context":"https://schema.org","@type":"DiscussionForumPosting","headline":"Not using previously compiled files and slow compilation.","articleBody":"1) When re-compiling a sketch without changing the configuration or anything, the compiler does recompile many files instead of using previously compiled files. \r\n\r\nTried for \"BluePill F103C8 (128k)\"\r\n\r\n~195 files were re-used\r\n~193 files were re-compiled\r\n\r\nFiles that where supposed to be re-used are anyway re-compiled\r\n\r\nExample\r\n\r\nUsing previously compiled file: C:\\Users\\TG\\AppData\\Local\\Temp\\arduino_build_531845\\core\\stm32\\HAL\\stm32yyxx_hal_i2s_ex.c.o\r\n\r\nThen\r\nC:\\\\Users\\\\TG\\\\AppData\\\\Local\\\\Arduino15\\\\packages\\\\STM32\\\\tools\\\\arm-none-eabi-gcc\\\\8.2.1-1.7/bin/arm-none-eabi-gcc-ar rcs \"C:\\\\Users\\\\TG\\\\AppData\\\\Local\\\\Temp\\\\arduino_build_531845\\\\core\\\\core.a\" \"C:\\\\Users\\\\TG\\\\AppData\\\\Local\\\\Temp\\\\arduino_build_531845\\\\core\\\\stm32\\\\HAL\\\\stm32yyxx_hal_i2s_ex.c.o\"\r\n\r\nThe log is attached\r\n[Blink_verbose_compilation.txt](https://github.com/stm32duino/Arduino_Core_STM32/files/3831585/Blink_verbose_compilation.txt)\r\n\r\n\r\n2) Each file compilation is extremely slow from a couple of seconds to tens of seconds. I have excluded Arduino files from AVG antivirus and authorized Arduino through the Comodo firewall. The CPU works at 1-30% load\r\n","author":{"url":"https://github.com/mrguen","@type":"Person","name":"mrguen"},"datePublished":"2019-11-11T13:51:54Z","url":"https://github.com/stm32duino/Arduino_Core_STM32/issues/770"}
| react-profiling | 0 |
| react-import-map | react,react-dom,react-dom/client,react-dom/profiling,react-is,react/compiler-runtime,react/jsx-dev-runtime,react/jsx-runtime,scheduler@b8488ee2c322 |
| route-pattern | /_view_fragments/issues/show/:user_id/:repository/:id/issue_layout(.:format) |
| route-controller | voltron_issues_fragments |
| route-action | issue_layout |
| fetch-nonce | v2:f3cfd53a-2772-8b0a-2c0a-c096ca96b49c |
| current-catalog-service-hash | 81bb79d38c15960b92d99bca9288a9108c7a47b18f2423d0f6438c5b7bcd2114 |
| request-id | 894A:14ECB:278BE7E:32401CA:6B019934 |
| html-safe-nonce | 702e820ab2a8d93c5778bae95c05f89606089a6a621d051b328d7b27610e68ca |
| visitor-payload | eyJyZWZlcnJlciI6IiIsInJlcXVlc3RfaWQiOiI4OTRBOjE0RUNCOjI3OEJFN0U6MzI0MDFDQTo2QjAxOTkzNCIsInZpc2l0b3JfaWQiOiIzNDM5NTQzODk3MDE2MDgwNjkyIiwicmVnaW9uX2VkZ2UiOiJpYWQiLCJyZWdpb25fcmVuZGVyIjoiaWFkIn0= |
| visitor-hmac | 37233728862147e65f58fb849a3e7d1f3b9c6d6135c5019d8de08f50649c8bd0 |
| hovercard-subject-tag | issue:520975472 |
| github-keyboard-shortcuts | repository,issues,copilot |
| google-site-verification | Apib7-x98H0j5cPqHWwSMm6dNU4GmODRoqxLiDzdx9I |
| octolytics-url | https://collector.github.com/github/collect |
| analytics-location | / |
| fb:app_id | 1401488693436528 |
| apple-itunes-app | app-id=1477376905, app-argument=https://github.com/_view_fragments/issues/show/stm32duino/Arduino_Core_STM32/770/issue_layout |
| twitter:image | https://opengraph.githubassets.com/df7637dd05e5f1dff72c1fe8c580cf746fa7c8663da0c506e10a2d7b1aa2a366/stm32duino/Arduino_Core_STM32/issues/770 |
| twitter:card | summary_large_image |
| og:image | https://opengraph.githubassets.com/df7637dd05e5f1dff72c1fe8c580cf746fa7c8663da0c506e10a2d7b1aa2a366/stm32duino/Arduino_Core_STM32/issues/770 |
| og:image:alt | When re-compiling a sketch without changing the configuration or anything, the compiler does recompile many files instead of using previously compiled files. Tried for "BluePill F103C8 (128k)" ~195... |
| og:image:width | 1200 |
| og:image:height | 600 |
| og:site_name | GitHub |
| og:type | object |
| og:author:username | mrguen |
| hostname | github.com |
| expected-hostname | github.com |
| None | cc5dfdd32f62ebd3223cab3af3aa2b268d3605218237326a48a99d1efd89495c |
| turbo-cache-control | no-preview |
| go-import | github.com/stm32duino/Arduino_Core_STM32 git https://github.com/stm32duino/Arduino_Core_STM32.git |
| octolytics-dimension-user_id | 12180191 |
| octolytics-dimension-user_login | stm32duino |
| octolytics-dimension-repository_id | 90867899 |
| octolytics-dimension-repository_nwo | stm32duino/Arduino_Core_STM32 |
| octolytics-dimension-repository_public | true |
| octolytics-dimension-repository_is_fork | false |
| octolytics-dimension-repository_network_root_id | 90867899 |
| octolytics-dimension-repository_network_root_nwo | stm32duino/Arduino_Core_STM32 |
| turbo-body-classes | logged-out env-production page-responsive |
| disable-turbo | false |
| browser-stats-url | https://api.github.com/_private/browser/stats |
| browser-errors-url | https://api.github.com/_private/browser/errors |
| release | 8c77c9e8439031ad54c75a250694842892f693e1 |
| ui-target | full |
| theme-color | #1e2327 |
| color-scheme | light dark |
| react-app-name | issues |
Links:
Viewport: width=device-width