Bug-fix: Repeated command by [CR] and overflow detection#8
Bug-fix: Repeated command by [CR] and overflow detection#8Nakakiyo092 wants to merge 9 commits intonormaldotcom:mainfrom
Conversation
With this fix, CANable will just ignore [CR] without any character, instead of repeating the previous command.
Fix typo
Fix handling of a blank command
The return will leave the system interrupt disabled.
If the data just fits. It's OK.
Fix usb buffer overflow detection
|
Hello It is great that you improved the code. I just posted a new issue on Normaldotcom but I'am sure nobody will ever care, although this can be fixed in 5 minutes. |
|
Hello @Elmue , Unfortunately, I would refrain from sharing the binary, as it's unclear for me whether the license permits it. In my fork, I'm trying to switch to a more permissive library. By the way, my fork already includes an adjustable sampling point, which you discussed in #1 . Regards. |
|
Hello
That is great. You write: I have not the slightest idea what that means.
You mean that a license exists that allows to publish source code but prohibits to compile it ? Did you change the license ? |
|
Hello @Elmue ,
Please find detailed information here and here.
The problem is ST Micro's Liberty V2 License for the STM32 USB Library. Regards. |
|
Hello OK I tell you that I managed to compile the code and I'am already working on a new version. Your commands sddxxyyzz and yddxxyyzz are a better solution than my idea with commas because it is easier to parse. |
|
Hello,
Good to hear that.
As indicated by 'hex values', they should be in hexadecimal format. Regards. |
|
You can now download the new CANable 2.5 firmware with many new features and bugfixes and speed optimizations here: |
This pull request fixes two bugs.
Close #4
With this fix, CANable will just ignore [CR] without any character, instead of repeating the previous command.
Close #6
With this fix, CANable will always detect USB Tx buffer overflow .
This pull request also includes a fix for some minor typo in the README.