-
Notifications
You must be signed in to change notification settings - Fork 13.3k
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
Conversation
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
compiler now gives warnings by miss usage of printf
Readme changes
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’.
merge esp8266/Arduino
fix warning in hexdump and ESP8266WiFiMulti
add String getResetInfo(void); and struct rst_info * getResetInfoPtr(void);
…g wifi) improve WiFiMulti
setting freq to 50, range to 20000 and writing between 700 and 2200 gives servo control for example
add RTC registers
fix image
…iFiClass::beginSmartConfig
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
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. |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
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).