Comments (10)
If we don't compile in the whole archive, some things stop working,
Serveral other people have tried and unfortunately failed to figure out why.
If you look back in the history for platform.txt you will see that Whole archive has been removed but had to be reinstated
I think the last reason it was reinstated was because attachTimer callbacks didn't seem to work without it
People have speculated that its something to do with weak references in the code. A lot of stuff is defined as week weak in the lower levels of the code.
Unfortunately the problem with this issue is that changing it , potentially changes everything and people get quite upset when stuff that was working, suddenly stops working.
Hence considering it only saves a few kb by removing it, the safer option is to leave it in, until someone has time to do complete testing of everything.
from arduino_stm32.
Do you have some specific code that doesn't work? Everything I tried worked. * mostly serial stuff * I'd be glad to figure it out.
from arduino_stm32.
So can we think about doing this? With the recent pin map changes you can reduce the size significantly:
Sketch uses 3,740 bytes (5%) of program storage space. Maximum is 65,536 bytes.
Global variables use 1,360 bytes of dynamic memory.
from arduino_stm32.
Rick,
Have you tested attachInterrup() your latest change, from what I recall thats the thing which broken when the whole archive flag was removed, if you look in the commit history I probably wrote the reason why I had to last re-instate the flag
from arduino_stm32.
I looked at the history on platforn.txt and didn't see any changes or comments about the change
from arduino_stm32.
from arduino_stm32.
http://www.stm32duino.com/viewtopic.php?f=16&t=148#p1343 more info there about the weak references causing problems.
from arduino_stm32.
Rick,
I was hoping some other uses would take a look at the branch https://github.com/rogerclarkmelbourne/Arduino_STM32/tree/fix_weak_ref_timers and test it.
i.e it works for me, and its your fix, so it should work for you, but we are a limited subset.
However if in a few days no one has bothered.
I will just release it anyway, as I think we are both confident its no worse than we had before, and is hopefully considerably better
from arduino_stm32.
This will be actioned, its pending in a branch for testing.
I will close this issue when the branch has been merged into the master
from arduino_stm32.
fixed as part of commit
9411f03
from arduino_stm32.
Related Issues (20)
- PIN_MAP and boardPWMpins tables mismatch HOT 1
- Arduino IDE "Access Denied" on Uploading Sketch HOT 3
- Can't connect to target after flashing generic_boot20_pc13.bin using j-flash HOT 1
- Software reset HOT 1
- How to change default 42/72/128 MHz to 8/16Mhz HOT 2
- Add CH32F103 HOT 2
- Compilation error Problem with sketch that used library Arduino_STM32 HOT 1
- dfu upload failed on macOS + PlatformIO because cannot reset upload port HOT 5
- Writing String to EEPROM HOT 3
- EEPROM donot work on STM32F103C6(32k)
- ‘MCU basic current’ increases after PWM operation. help me. HOT 25
- Wire.h and Wire slave.h using in same program not working HOT 2
- Is 'STM32F103C8' 'digitalWrite' and 'digitalRead' possible in FAST mode? HOT 10
- Is any type a persistent storage available for STM32F4 ?
- Solution to use PB3 for things other than JTAG (Proposal for documentation note) HOT 2
- Not able to uploaded the code for NUCLEO-F103R HOT 2
- change clock soure HOT 5
- Unable to upload program when using STM32duino BootLoader HOT 4
- CAN bus stalls USB HOT 1
- Ports missing HOT 1
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
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.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from arduino_stm32.