Comments (8)
Should be fixed: Welcome OpenModelica (on Win)!
What is left is
- adaption of the cmake scripts to also consider Mingw/Cygwin
- adaption of the cmake scripts to consider the new test for serial port communication
- add Library={winmm} to keyboard and joystick functions
@bernhard-thiele Are you willing to do this? If not, just close this issue. Thank you!
from modelica_devicedrivers.
Yes, I will do this. It is on my list. It just has low-priority as long as the communication/packaging blocks don't work in OM. Getting them to work means changing some parts of the compiler. I might work on that if I have some spare time for it, but maybe someone else will fix it for OM.
from modelica_devicedrivers.
You could start with input devices (that are independent of packager).
from modelica_devicedrivers.
- adaption of the cmake scripts to consider the new test for serial port communication is done by 4a98e21
from modelica_devicedrivers.
Could you please list out the steps on how to compile the Blink example in Embedded Targets(in Serial Communication) on windows as it is giving 'unrecognized command line option "-std=c11"'
on both MinGW and MSVC.
The command was:
avr-gcc -Os -std=c11 -ffunction-sections -fdata-sections -mmcu=atmega328p -DF_CPU=16000000UL -Wl,--gc-sections Blink_main.c -o Blink -I D:/Modelica_DeviceDrivers/Resources/Include -I /usr/include/omc/c
cc1.exe: error: unrecognized command line option "-std=c11"
from modelica_devicedrivers.
Which gcc version is in your avr-gcc? The latest Windows release of 8-bit avr-gcc contains gcc 4.9, which does support c11. If you installed the 32-bit avr-gcc, it seems that uses gcc 4.4 which was released in 2009 and indeed does not support c11.
from modelica_devicedrivers.
Yeah, that was the issue as it works fine with gcc 4.9. Thanks for the help!
from modelica_devicedrivers.
All done.
from modelica_devicedrivers.
Related Issues (20)
- Log message "Receiving not possible, socket not valid." HOT 2
- Serial port data unknown HOT 2
- Serial communication result depends on COM ports HOT 6
- Allow to send and receive data from the same COM port HOT 1
- Communication troubles after several seconds HOT 3
- A spurious byte sent at the end of simulation HOT 6
- A difficulty about serial port communication (this is not a bug report) HOT 1
- Examples in M_DD make use of deprecated block SynchronizeRealtime HOT 1
- RealtimeSynchronize block "clock_nanosleep" error on Linux
- How to handle a telnet-like protocol? HOT 1
- Error in Linux MDD_getTimeMS(...)
- MDDUDPSocket.h: socket failed with error: 10022 HOT 6
- ModelicaUtilities.c includes ModelicaUtilities.h in wrong directory HOT 1
- Serial port change port settings (number of data bits) HOT 10
- Compilation process failed in TestSerialPackager_UDP HOT 1
- Cosimulation using TCP/IP HOT 5
- TCP/IP with OpenModelica? HOT 4
- Struggling with serial port string communication HOT 11
- Not able to understand how to generate generic microcontroller code using the package ? HOT 2
- Component config of variability parameter has binding 'socketCANConfig1[<txMessage1, txMessage1>]' of higher variability continuous. HOT 1
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 modelica_devicedrivers.