Skip to content

Fix issue linking pgmspace.h functions in a sketch. #402

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Closed
wants to merge 103 commits into from
Closed

Fix issue linking pgmspace.h functions in a sketch. #402

wants to merge 103 commits into from

Conversation

tdicola
Copy link
Contributor

@tdicola tdicola commented Jun 8, 2015

This pull fixes issue #401, that pgmspace.h functions like strcpy_P, strlen_P, etc. fail to link with an error they can't be found. The fix is to extend the extern "C" in pgmspace.h so it covers all the function declarations. To test it use the example sketch in #401 and you can see if fail before the fix and succeed after the fix (and work as expected when run on the hardware).

pablotix20 and others added 30 commits May 16, 2015 11:11
compiler now gives warnings by miss usage of printf
added all boards present in the core, so it is visible on Board Manager also before install the core.
Added support for NodeMCU dev kit v2
Exception vectors have moved into .text.
Update build_board_manager_package.sh
-ffunction-sections
-fdata-sections
Place each function or data item into its own section in the output file if the
target supports arbitrary sections. The name of the function or the name of
the data item determines the section’s name in the output file.
Use these options on systems where the linker can perform optimizations to
improve locality of reference in the instruction space. Most systems using the
ELF object format and SPARC processors running Solaris 2 have linkers with
such optimizations. AIX may have these optimizations in the future.
Only use these options when there are significant benefits from doing so. When
you specify these options, the assembler and linker will create larger object and
executable files and will also be slower. You will not be able to use gprof on all
systems if you specify this option and you may have problems with debugging
if you specify both this option and ‘-g’.
fix warning in hexdump and ESP8266WiFiMulti
add String getResetInfo(void); and struct rst_info * getResetInfoPtr(void);
me-no-dev and others added 28 commits June 2, 2015 00:13
setting freq to 50, range to 20000 and writing between 700 and 2200
gives servo control for example
fix image
Disable DHCP if using static IP

With dhcp disabled, I noticed about 50% less conncection time
Fix redefinition of SPI_BUSY
Add function overload to config to include DNS
Update readme to include Servo
add better docu and schematics for easy setup the ESP
@tdicola
Copy link
Contributor Author

tdicola commented Jun 8, 2015

Oh geeze I think I did something wrong with the creation of this pull, for some reason it's pushing a ton of other changes. I'll close this for now and reopen when I figure out how to send just the fix.

@tdicola tdicola closed this Jun 8, 2015
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.