Comments (7)
I was able to compile but I don't have hardware to test using memory optimization
CFLAGS += -g -gdwarf-2 -Os -flto
from modbus-stm32-slave-example.
you have error will not fit in region
. in this example i use low memory micro stm32f03, 16KB flash and 4KB ram. i think modbus lib need 4KB to run. also i don't show error when run make on windows and it done successfully .
file: myTerminalOut.txt
text data bss dec hex filename
16000 128 1984 18112 46c0 build/MBTest.elf
I try make on linux and get same as your error!
let me fix that ...
from modbus-stm32-slave-example.
I want to change micro stm32f03 to stm32f103(blue pill). it's Ok?
from modbus-stm32-slave-example.
It's Done!
I change code for STM32F103C8T6 (Blue Pill) for better developing and extend flash size.
The old code also available
from modbus-stm32-slave-example.
Keep in mind that the current project I developed, used a virtual USB COM Port called USB CDC mode. simply u can change code for using hardware UART in physical MODBUS network but just for the simplicity of the project i use USB CDC mode for example.
from modbus-stm32-slave-example.
Greetings,
Thanks a lot for the reply and the changes. But I would like to use a low-cost microcontroller from STM.
The bluepill I have to test the new code.
from modbus-stm32-slave-example.
I still don't understand the reason for the increase in prog size during compilation on Linux.
from modbus-stm32-slave-example.
Related Issues (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 modbus-stm32-slave-example.