Giter Site home page Giter Site logo

cm1106_uart's People

Contributors

hpsaturn avatar jcomas avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar

cm1106_uart's Issues

[feature request] support for Arduino atmel-avr

Summary

Over Arduino framework on boards Atmel we have the next issue:

Indexing .pio/build/arduino/lib340/libDHT_nonblocking.a
.pio/libdeps/arduino/CM1106 UART/src/cm1106_uart.cpp: In member function 'uint8_t CM1106_UART::serial_read_bytes(uint8_t, int)':
.pio/libdeps/arduino/CM1106 UART/src/cm1106_uart.cpp:388:5: error: 'time_t' was not declared in this scope
     time_t start_t, end_t;
     ^~~~~~
.pio/libdeps/arduino/CM1106 UART/src/cm1106_uart.cpp:388:5: note: suggested alternative: 'size_t'
Compiling .pio/build/arduino/libacf/src/Sensors.cpp.o
     time_t start_t, end_t;
     ^~~~~~
     size_t
.pio/libdeps/arduino/CM1106 UART/src/cm1106_uart.cpp:390:11: error: 'start_t' was not declared in this scope

Config

[arduino_avr]
platform = atmelavr
board = pro16MHzatmega328
framework = arduino
monitor_speed = ${env.monitor_speed}
build_flags =
  ${env.build_flags}
lib_deps =
  ${env.lib_deps}

[esp32] crash on ESP32 architecture

On esp32 architecture we need omit software serial include into the library and example. Maybe we need detection of it.

Building in release mode
Compiling .pio/build/esp32/src/basic/main.cpp.o
Generating partitions .pio/build/esp32/partitions.bin
Compiling .pio/build/esp32/lib2bb/src/cm1106_uart.cpp.o
Archiving .pio/build/esp32/libFrameworkArduinoVariant.a
Indexing .pio/build/esp32/libFrameworkArduinoVariant.a
examples/basic/main.cpp:2:28: fatal error: SoftwareSerial.h: No such file or directory

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.