YourproductSmarter / KISSLoRa-demo

demo apps for KISSLoRa
MIT License
15 stars 26 forks source link

App size too big #3

Open DenniZr opened 7 years ago

DenniZr commented 7 years ago

Seems the app is too big? 112% of programming memory. If i flash with arduino ide 1.6.8 and the sparkfun pro mini selected. Am i doing it wrong, or is the app really too big?

FRVisser commented 7 years ago

Something wrong there. In Arduino 1.8.1 I've got:

Sketch uses 28294 bytes (98%) of program storage space. Maximum is 28672 bytes.
Global variables use 1446 bytes (56%) of dynamic memory, leaving 1114 bytes for local variables. Maximum is 2560 bytes.
DenniZr commented 7 years ago

Yups, its the ide version 1.8.2 works fine.

Op 30 mei 2017 22:45 schreef "FRVisser" notifications@github.com:

Something wrong there. In Arduino 1.8.1 I've got:

Sketch uses 28294 bytes (98%) of program storage space. Maximum is 28672 bytes. Global variables use 1446 bytes (56%) of dynamic memory, leaving 1114 bytes for local variables. Maximum is 2560 bytes.

— You are receiving this because you authored the thread. Reply to this email directly, view it on GitHub https://github.com/YourproductSmarter/KISSLoRa-demo/issues/3#issuecomment-305002714, or mute the thread https://github.com/notifications/unsubscribe-auth/AIm08j-SuuoT_tnJBq76zBqUrKDgPX6uks5r_H_LgaJpZM4Nqy7z .

amkuipers commented 7 years ago

IDE 1.8.2 works here too. The trick to press the user-button, mouse-click-to-upload, switch on the lora, is happening in about two seconds. Also Win10 needs a bit more time to detect the usb device after it has been switched on. And I do not see the 'port' message (see text in README.md) . So my appoach to program it, switch device off, press the user-button, switch device on, wait until Win10 sound, then upload program. When it is uploading, let the user-button loose.