Comments (6)
The link I posted is to a specific comment, there's what you need to do (basically upload via ISP and ignore warning. Or modify the available flash in boards.txt if the error blocks uploading)
from lgt8fx.
Any ideas?
Your program size (30224 bytes)
is greater than
maximum allowed (29696 bytes)
Suggestion: Reduce your program size.
LGT8F328P has reserved FLASH spaces for emulating EEPROM (2048 bytes) and for bootloader (1024 bytes).
from lgt8fx.
You ran out of flash space, maybe some library was updated and it is bulkier?
By the way, 2 kb of flash are reserved for eeprom, so you could claim that. More here: #261 (comment)
from lgt8fx.
Thanks for your answers!
I've read #261 - so bootloader and eeprom memory could get overwritten by program code - theoretically (if not needed)?
But how can this be achieved?
from lgt8fx.
Thanks - I'll check this post again ...
But now I have a different problem with LGT8F in pio.
Now I don't even get to that point:
Processing LGT8F328P (platform: lgt8f; board: LGT8F328P; framework: arduino) --------------------------------------------------------------------------------------------------------------------Verbose mode can be enabled via
-v, --verbose option UnknownPlatform: Unknown development platform 'lgt8f': File "C:\Users\MiKo\.platformio\penv\lib\site-packages\platformio\builder\main.py", line 158: env.LoadPioPlatform() File "C:\Users\MiKo\.platformio\packages\tool-scons\scons-local-4.5.2\SCons\Util\envs.py", line 242: return self.method(*nargs, **kwargs) File "C:\Users\MiKo\.platformio\penv\lib\site-packages\platformio\builder\tools\pioplatform.py", line 66: p = env.PioPlatform() File "C:\Users\MiKo\.platformio\packages\tool-scons\scons-local-4.5.2\SCons\Util\envs.py", line 242: return self.method(*nargs, **kwargs) File "C:\Users\MiKo\.platformio\penv\lib\site-packages\platformio\builder\tools\pioplatform.py", line 40: return _PioPlatform() File "C:\Users\MiKo\.platformio\penv\lib\site-packages\platformio\util.py", line 56: self.cache[key] = (time.time(), func(*args, **kwargs)) File "C:\Users\MiKo\.platformio\penv\lib\site-packages\platformio\builder\tools\pioplatform.py", line 36: return PlatformFactory.from_env(env["PIOENV"], targets=COMMAND_LINE_TARGETS) File "C:\Users\MiKo\.platformio\penv\lib\site-packages\platformio\platform\factory.py", line 100: p = cls.new(spec, autoinstall=autoinstall) File "C:\Users\MiKo\.platformio\penv\lib\site-packages\platformio\platform\factory.py", line 70: raise UnknownPlatform(pkg_or_spec) ============================================ [FAILED] Took 1.63 seconds ============================================
platformio.ini
[env:LGT8F328P] platform = lgt8f board = LGT8F328P framework = arduino board_build.f_cpu = 16000000L ;board_build.f_cpu = 32000000L ;platform_packages = darkautism/framework-lgt8fx@^1.0.6 board_build.clock_source = 1 lib_deps = jgromes/RadioLib@^6.0.0 adafruit/Adafruit BMP280 Library@^2.6.8 adafruit/Adafruit Si7021 Library@^1.5.1 adafruit/Adafruit Unified Sensor@^1.1.9 ;sparkfun/SparkFun Si7021 Humidity and Temperature Sensor@^1.0.5 ;martinl1/BMP280_DEV@^1.0.21
... I think about swapping to pottery :(
from lgt8fx.
you should be aware you are using v1.0.6 of this repo from 2020 and the latest is 2.0.7. The latest version is not supported in pio.
from lgt8fx.
Related Issues (20)
- java.lang.NullPointerException when upload program to LGT8f328 IC HOT 5
- issues with timer3 in lgt8f328p HOT 42
- PetitFS and initialization problem (SPI)
- StLink v2 HOT 1
- NO SSL for json file HOT 7
- EEPROM library on logging principle (from STM32) HOT 10
- Problems with burning the bootloader HOT 14
- Cannot compile HOT 6
- [SOLUTION] Compilation error
- The WDT issue. HOT 11
- lgt8fx - Boards Manager Menu error / quirk - for Internal 16MHz / 32MHz HOT 27
- Lgt8fx - ADC analogRead() is wrong - it only returns back 10bit - need to load manually ADCH + ADCL to get 12bit value HOT 2
- FastIO will not accept defined constants HOT 3
- Internal clock speeds less than 32MHz no longer available since version 2.0.3. HOT 3
- voltage and current on pins when MCU in LowPower.deepSleep2 HOT 1
- standbyExternalInterrupt example does not consistently work HOT 1
- I am using emonlib with arduino then it is working HOT 2
- WDT clock source problem HOT 6
- E2PROM HOT 8
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 lgt8fx.