Comments (10)
I can verify that the behaviour that @ricki-z has seen is genuine and not a one-off problem.
It is not unique to this project and has already been brought up in the espressif8266 firmware issues here section '.text' will not fit in region 'iram1_0_seg'. The issue was closed because a workaround was found although it has not been understood what the real root of the problem is.
(Edit) I should mention that it happened for me every time I compiled this project on a first time installation of platform-io on an up-to-date Debian 64-bit Linux until I installed the workaround mentioned in the issue above. Since then the project compiles just fine (but for numerous warnings) and even runs.
from sensors-software.
We can't save too many language versions in the firmware. The FlashROM and RAM ist very limited. We don't have any idea by now how to solve this.
from sensors-software.
I made some tests to find more effective way to solve. I try some different approach (with ROM and RAM storage) and my conclusion is that it is not very effective to store more then one language in FlashROM without unnecessarily space lost.
In real usage people never use more than one language in there devices.
So I can offer solution that will build N-firmware files (where N=number of translated languages) each one contains core functions + one language.
Every language will be one extra .h file and compiler will make N-.bin files with suffix like xxx_de.bin, xxx_en.bin
Auto update must send request with parameter for current language and download relevant file.
I can make changes and suggest pull request, but first of all I would like to know your opinion - whether this approach acceptable for you ?
Best regards
from sensors-software.
Can you give me the command line to compile the firmware with platform.io?
from sensors-software.
pio run
Or, if you want to upload the generated binary to an esp
pio run -t upload
from sensors-software.
This reminds me that I wanted to write documentation for using platform.io
from sensors-software.
I'm getting errors on pio run: .platformio/packages/toolchain-xtensa/bin/../lib/gcc/xtensa-lx106-elf/4.8.2/../../../../xtensa-lx106-elf/bin/ld: .pioenvs/nodemcuv2_bg/firmware.elf section .text' will not fit in region
iram1_0_seg'
There seems to be a problem with the actual version.
from sensors-software.
Hmm,
That's strange.
Can you give me some information about build environment ?
Currently I can not reproduce it.
I successfully build 3 firmwares on Mac OS and on Ubuntu with latest version of platformio. Ububtu installation is fresh and clear.
You can compile single firmware with command
pio run -e nodemcuv2_de
pio run -e nodemcuv2_en
pio run -e nodemcuv2_bg
Try to find is the problem persist in all three version or only in bulgarian.
There are almost equal except that in intl_bg.h have a little bit lager svg logo (I will make it smaller).
You can try to replace it with original for the test.
from sensors-software.
It was a fresh install on MacOS 10.11.6 as written on platform.io. The problem persists in all three versions.
My steps:
installed platform.io
deinstall python-dateutil, install python-dateutil==2.2
run 'platformio run'
from sensors-software.
This solved the problem (for McOS, important: don't 'sudo'):
platformio platform uninstall espressif8266
platformio platform install https://github.com/platformio/platform-espressif8266.git#feature/stage
Set platform = espressif8266_stage in platformio.ini
from sensors-software.
Related Issues (20)
- Please support Sensirion SEN6x sensors HOT 2
- No Data from Sensors? HOT 7
- Open source DNMS Noise sensor- ESP8266: config restores to its default measurement interval
- Blocked Chip-ID during registration. Error "Already registered". HOT 1
- wrong measurement BME280 HOT 2
- SDS011 ID issue HOT 1
- Feature request: Static IP address HOT 1
- Senden an apis --> https funktioniert nicht? HOT 3
- BME 280 suddenly starts delivering weird values HOT 2
- HTTPS for sensor.comunity will not work anymore HOT 2
- connection failed HOT 1
- New beta (published April 2, 2024), please add problems here HOT 52
- Keine Zeitsynchronisierung durch Fritzbox ntp HOT 10
- Issue with NRZ-2024-135 with BME280 and SDS011 Lolin V3 HOT 3
- Add new sensor pinout to documentation
- BME280 temperature too high HOT 6
- No data upload to opensensemap since 3/16/2024 HOT 1
- Sensor displays - 141.6 °C HOT 12
- doesn't compile anymore for esp8266 HOT 1
- Remove "aircms.online" "Public air quality monitoring in Russia" from firmware HOT 5
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 sensors-software.