Giter Site home page Giter Site logo

LGT8F328P program size about lgt8fx HOT 6 OPEN

Schawen avatar Schawen commented on May 23, 2024
LGT8F328P program size

from lgt8fx.

Comments (6)

dbuezas avatar dbuezas commented on May 23, 2024 1

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.

LaZsolt avatar LaZsolt commented on May 23, 2024

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.

dbuezas avatar dbuezas commented on May 23, 2024

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.

Schawen avatar Schawen commented on May 23, 2024

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.

Schawen avatar Schawen commented on May 23, 2024

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.

whyameye avatar whyameye commented on May 23, 2024

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)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo 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.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.