I have project in mbed online compiler all thinks work fine in online compiler.I’m trying to migrate my project to keil studio because without removing the online compiler to avoid any issues.
I am facing a lot of problems
I list the problems I encountered below;
1-) Usb can’t recognize to my device.
2-)strlen() can’t use
3-)rd_sock can’t use
4-)td_sock can’t use
I hope the mbed online compiler stays with us a little longer.
Thank you for your post. Would you mind providing more information. It will help us improve Keil Studio.
What device are you using? Maybe it just needs a firmware update? Keil Studio doesn’t support remote deploy and debug yet on all devices. We are however increasing the number of supported boards quite regularly.
2,3,4. They work as the program can be compiled. I however see that intellisense indeed complains that they can’t be found. Let us take a look at that.
Hello,
I’m using NUCLEO-F429ZI, when ı was updated the firmware USB recognition problems solved , thanks for that.
But I have still issues.
1-)strlen() can’t use
2-)rd_sock can’t use
3-)td_sock can’t use
still issue for me.
I can share a snippet of the code.
I do not know from where are points 2 and 3, but point 1 is know issue and was already reported few times (don’t ask me why it got resolved). However it is only an intellisense issue, compilation and your program will not affected, you can ignore that.
From Keil Studio’s release note:
Version 1.5.21
Fixes
C++ language support fixed for some standard library functions in Mbed projects.
I only use the nano stm32L432.
I currently have about 10 projects.
But when converting to studio keil, none of this works. When will the online mbed compiler stop?
Is there an offline compiler for this problem?
Gr Jos v. Engelen
Hi @Jos_Engelen_van. Do you mean that you have 10 projects that you have imported from the Online Compiler to Keil Studio Cloud? Could you expand a little on the issues you are facing so we can take a look?
I’ve spent a lot of time in the last few weeks trying to find a working offline compiler, but so far unfortunately.
So the problem I am using timers and interrupt and serial communication with pc.
For example, I want to control my heat pump with stm32L432 and send the measured values back to the PC, so a data logger. This works perfectly with mbed, but now everything would have to be done again
The closest offline alternative to the online compiler would be to use the Mbed CLI but this does not offer the UI on top of the build process.
But I would not expect Keil Studio Cloud to have any issues with what you are trying to achieve. The core compilation functionality is exactly the same as offered by the Online Compiler. If you can share an example program that can’t be built in KSC then I’d be happy to take a look. If the problem is that you can’t import them at all can you try the export feature in the Online Compiler (Right-click a project, select ‘Export’ and set the Export Toolchain to ‘ZIP Archive’). If you drag and drop the resulting directory in to KSC it should work as expected.
I now have a project working.
However
printf only supports an integer.
Making a copy doesn’t work either, solved this by starting a new project and copying the code from the old one to the new one.
ik wil attach_us gebruiken in screen1 met mbed 6.15 werkt het wel.
In screen2 met mbed 6.16 een foutmelding. deprecated?
is er een andere mogelijkheid.
Gr Jos v. Engelen
i want to use attach_us in screen1 with mbed 6.15 does it work.
In screen2 with mbed 6.16 an error message. deprecated?
is there any other possibility.
this is not error but only a warning. This information want to tell you - Care this is not recommended to use in new programs, because in a future major release (probably something like MbedOS 7) this will be removed.