Git Product home page Git Product logo

accelduino-rs's Introduction

Hi there ๐Ÿ‘‹

I'm kaaatsu32329 (Katsu Uchiyama).

kaaatsu32329's GitHub stats

accelduino-rs's People

Contributors

kaaatsu32329 avatar

Stargazers

 avatar  avatar  avatar  avatar

Watchers

 avatar

accelduino-rs's Issues

`serde_json_core`ใ‚’็”จใ„ใฆjsonใซใ—ใ‚ˆใ†ใจใ™ใ‚‹ใจใƒ“ใƒซใƒ‰ใ‚จใƒฉใƒผใŒ่ตทใใ‚‹ใ€‚

Environment

  • rustc 1.68.0-nightly (bdb07a8ec 2022-12-11)
  • rustup 1.25.1 (bb60b1e89 2022-07-12)
  • cargo 1.68.0-nightly (70898e522 2022-12-05)

ๅฝฑ้ŸฟใŒใ‚ใ‚Šใใ†ใช็ฎ‡ๆ‰€ใ€‚

let accl_serde = serde_json_core::to_string::<_, 1024>(&accl_sensor).unwrap();
let accl_str = accl_serde.as_str();
ufmt::uwriteln!(&mut serial, "{}", accl_str).void_unwrap();

ใ‚ณใƒณใƒ‘ใ‚คใƒฉใƒผใ‚ชใƒ—ใ‚ทใƒงใƒณๅ‘จใ‚Šใ‹ใ‚‚ใ—ใ‚Œใชใ„ใ€‚

ๅ‡บๅŠ›

> cargo build
   Compiling accelduino-rs v0.1.0 (C:\Users\user\Documents\accelduino-rs)
error: linking with `avr-gcc` failed: exit code: 1
  |
  = note: "avr-gcc" "-mmcu=atmega328p" "-Wl,--as-needed" "C:\\Users\\user\\AppData\\Local\\Temp\\rustcrgXaxG\\symbols.o" "C:\\Users\\user\\Documents\\accelduino-rs\\target\\avr-atmega328p\\debug\\deps\\accelduino_rs-94636f02bf0d8abe.serde_json_core-1eead99fff5793d7.serde_json_core.177c91ea-cgu.0.rcgu.o.rcgu.o" "-Wl,--as-needed" "-L" "C:\\Users\\user\\Documents\\accelduino-rs\\target\\avr-atmega328p\\debug\\deps" "-L" "C:\\Users\\user\\Documents\\accelduino-rs\\target\\debug\\deps" "-L" "C:\\Users\\user\\.rustup\\toolchains\\nightly-x86_64-pc-windows-msvc\\lib\\rustlib\\avr-atmega328p\\lib" "-Wl,-Bstatic" "C:\\Users\\user\\Documents\\accelduino-rs\\target\\avr-atmega328p\\debug\\deps\\libcompiler_builtins-1aa59d2479cb0a07.rlib" "-Wl,-Bdynamic" "-lgcc" "-Wl,-znoexecstack" "-L" "C:\\Users\\user\\.rustup\\toolchains\\nightly-x86_64-pc-windows-msvc\\lib\\rustlib\\avr-atmega328p\\lib" "-o" "C:\\Users\\user\\Documents\\accelduino-rs\\target\\avr-atmega328p\\debug\\deps\\accelduino_rs-94636f02bf0d8abe.elf" "-Wl,--gc-sections" "-no-pie"
  = note: c:/avr8-gnu-toolchain-win32_x86_64/bin/../lib/gcc/avr/7.3.0/../../../../avr/bin/ld.exe: address 0x8034bc of C:\Users\user\Documents\accelduino-rs\target\avr-atmega328p\debug\deps\accelduino_rs-94636f02bf0d8abe.elf section `.data' is not within region `data'
          c:/avr8-gnu-toolchain-win32_x86_64/bin/../lib/gcc/avr/7.3.0/../../../../avr/bin/ld.exe: C:\Users\user\Documents\accelduino-rs\target\avr-atmega328p\debug\deps\accelduino_rs-94636f02bf0d8abe.elf section `.data' will not fit in region `text'
          c:/avr8-gnu-toolchain-win32_x86_64/bin/../lib/gcc/avr/7.3.0/../../../../avr/bin/ld.exe: address 0x8034bd of C:\Users\user\Documents\accelduino-rs\target\avr-atmega328p\debug\deps\accelduino_rs-94636f02bf0d8abe.elf section `.bss' is not within region `data'
          c:/avr8-gnu-toolchain-win32_x86_64/bin/../lib/gcc/avr/7.3.0/../../../../avr/bin/ld.exe: address 0x8034bc of C:\Users\user\Documents\accelduino-rs\target\avr-atmega328p\debug\deps\accelduino_rs-94636f02bf0d8abe.elf section `.data' is not within region `data'
          c:/avr8-gnu-toolchain-win32_x86_64/bin/../lib/gcc/avr/7.3.0/../../../../avr/bin/ld.exe: address 0x8034bd of C:\Users\user\Documents\accelduino-rs\target\avr-atmega328p\debug\deps\accelduino_rs-94636f02bf0d8abe.elf section `.bss' is not within region `data'
          c:/avr8-gnu-toolchain-win32_x86_64/bin/../lib/gcc/avr/7.3.0/../../../../avr/bin/ld.exe: region `text' overflowed by 8096 bytes
          C:\Users\user\Documents\accelduino-rs\target\avr-atmega328p\debug\deps\libcompiler_builtins-1aa59d2479cb0a07.rlib(compiler_builtins-1aa59d2479cb0a07.compiler_builtins.e959a4ad-cgu.15.rcgu.o): In function `<f64 as compiler_builtins::float::Float>::normalize':
          C:\Users\user\.cargo\registry\src\github.com-1ecc6299db9ec823\compiler_builtins-0.1.85/src\float/mod.rs:164: undefined reference to `core::panicking::panic'
          C:\Users\user\Documents\accelduino-rs\target\avr-atmega328p\debug\deps\libcompiler_builtins-1aa59d2479cb0a07.rlib(compiler_builtins-1aa59d2479cb0a07.compiler_builtins.e959a4ad-cgu.3.rcgu.o): In function `compiler_builtins::float::mul::mul':
          C:\Users\user\.cargo\registry\src\github.com-1ecc6299db9ec823\compiler_builtins-0.1.85/src\float/mul.rs:(.text._ZN17compiler_builtins5float3mul8__muldf317h81f5d26047862690E+0x9aa): undefined reference to `core::panicking::panic'
          C:\Users\user\Documents\accelduino-rs\target\avr-atmega328p\debug\deps\libcompiler_builtins-1aa59d2479cb0a07.rlib(compiler_builtins-1aa59d2479cb0a07.compiler_builtins.e959a4ad-cgu.6.rcgu.o): In function `compiler_builtins::int::shift::Ashl::ashl':
          C:\Users\user\.cargo\registry\src\github.com-1ecc6299db9ec823\compiler_builtins-0.1.85/src\int/shift.rs:15: undefined reference to `core::panicking::panic'
          C:\Users\user\Documents\accelduino-rs\target\avr-atmega328p\debug\deps\libcompiler_builtins-1aa59d2479cb0a07.rlib(compiler_builtins-1aa59d2479cb0a07.compiler_builtins.e959a4ad-cgu.6.rcgu.o): In function `compiler_builtins::int::shift::Lshr::lshr':
          C:\Users\user\.cargo\registry\src\github.com-1ecc6299db9ec823\compiler_builtins-0.1.85/src\int/shift.rs:60: undefined reference to `core::panicking::panic'
          C:\Users\user\Documents\accelduino-rs\target\avr-atmega328p\debug\deps\libcompiler_builtins-1aa59d2479cb0a07.rlib(compiler_builtins-1aa59d2479cb0a07.compiler_builtins.e959a4ad-cgu.6.rcgu.o): In function `compiler_builtins::int::shift::Lshr::lshr':
          C:\Users\user\.cargo\registry\src\github.com-1ecc6299db9ec823\compiler_builtins-0.1.85/src\int/shift.rs:60: undefined reference to `core::panicking::panic'
          C:\Users\user\Documents\accelduino-rs\target\avr-atmega328p\debug\deps\libcompiler_builtins-1aa59d2479cb0a07.rlib(compiler_builtins-1aa59d2479cb0a07.compiler_builtins.e959a4ad-cgu.8.rcgu.o):C:\Users\user\.cargo\registry\src\github.com-1ecc6299db9ec823\compiler_builtins-0.1.85/src\float/conv.rs:27: more undefined references to `core::panicking::panic' follow
          collect2.exe: error: ld returned 1 exit status

  = note: some `extern` functions couldn't be found; some native libraries may need to be installed or have their path specified
  = note: use the `-l` flag to specify native libraries to link
  = note: use the `cargo:rustc-link-lib` directive to specify the native libraries to link with Cargo (see https://doc.rust-lang.org/cargo/reference/build-scripts.html#cargorustc-link-libkindname)

error: could not compile `accelduino-rs` due to previous error

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.