Giter Site home page Giter Site logo

uni-stc's People

Contributors

area-8051 avatar geezmolycos avatar tonious avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar

uni-stc's Issues

Error on make all

First I want to thank you for the great project you have put together. In using it I have come across the following behavior:

After running make clean and then running make all I get the following error:

/Users/mwood/Documents/DigiColony/uni-STC/makefiles/2-mcu-rules.mk:34: target build' given more than once in the same rule. sed: 1: "build/dependencies.mk": undefined label 'uild/dependencies.mk' make: *** No rule to make target build/dependencies.mk', needed by `all'. Stop.

If I run make all again it appears to work properly. Is there a way to prevent this requirement?

STC15W101 128 RAM, 1KB flash - limit code size?

I have a STC15W101 mounted to a circuit board (sonoff door sensor).
This chip apparently has 128 bytes of RAM, 1KB of code flash, and 4KB of EEPROM flash.

It appears that just gpio hal alone requires about 2KB of flash.

I did notice that gpio-hal.h defines the GPIO_HAL_H macro.
It is stated that this macro greatly helps reduce flash footprint.
However it appears to only reduce the flash size a few bytes.
(by comparing flash size reported by .mem files)

I'm really not sure what type of overhead to expect for HAL.

Is there anything I can do to shrink usage but allow use of HAL?
Or alternatively, with 8051 there's no keyword/macro to place functions in eeprom flash?

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.