Comments (4)
Don't blame your compiler for these warnings, please.
It does the right thing™ and it's better to fix the code instead (data[]
instead of data[0]
).
from bluepill-serial-monster.
Fair point, data[]
is by any means the cleanest way to define flexible size arrays. Please test the linked PR.
As for the compiler version, I use arm-none-eabi-gcc (GNU Arm Embedded Toolchain 9-2020-q2-update) 9.3.1 20200408 (release) on my Mac which I use for development, and gcc-arm-none-eabi_15%3a9-2019-q4-0ubuntu1_amd64, which is used in GitHub actions. None of them shows this warning.
from bluepill-serial-monster.
I checked your PR.
Now gcc-arm-none-eabi-10-2020-q4-major
works fine without any warnings.
Thanks for your quick fix!
from bluepill-serial-monster.
Thank you!
from bluepill-serial-monster.
Related Issues (20)
- LED indication enchancement HOT 5
- Advanced option for Pull-Up resistor value changing HOT 2
- Reset of the MCU doesn't cause USB device re-enumeration HOT 14
- Remove the existing clang format
- Garbage data on config console after reset HOT 1
- Проблема с работой с одним из устройств, может какие настройки? HOT 15
- usb_send does not take into account usb_endpoints[ep_num].tx_size
- Добавить управление несколькими GPIO и чтение с входов АЦП HOT 5
- Suggestion: Blackpill support? HOT 8
- Windows compilation HOT 3
- Probably erroneous usb_endpoint_address_cdc_0_interrupt usage HOT 2
- Possible buffer overflow in the 7-bits data mode HOT 1
- Pull request for easier build and support maple mini HOT 5
- [info] max baud rate HOT 3
- [info] communication with device powered at 5V HOT 3
- Feature request: Add support for SendBreak requests
- Possible to add support for STM32F103VET6
- Does not compile on Manjaro Linux (up-to-date)
- Fix small endpoint size for USART1
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from bluepill-serial-monster.