- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Hi,
In a previous post, I belatedly realised that the pin component used 110 bytes of FLASH. It may not seem like a lot, but for a device with about 62 IO lines, that means that 41% of the FLASH is used just by the API for the pins!
Feature request: An option for the pin component to use less FLASH by not generating the ReadPin() function etc.
Hugo Elias
- Labels:
-
PSoC 3
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
I ran some tests and they show something different.
See attached project, use it as suggested with no, 4 or 2 input/output pins. If your values tend to differ from mine, try to play around with the optimization-features.
Some of the flash-bytes are used to define/program the control-registers for the modules at startup. To save flash, you may use the ECC-part of the memory to store these initialization data.
Bob
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content