For example, if you look in: (install location)/hardware/tools/avr/avr/lib They include the standard libraries, pre-compiled. In a subdirectory (avr) you will find the avr-related things, with files for different processors, such as (in part): boot.hĪs for the source of strcpy, I don't think it is in the distribution. The header files for them can be found at: (install location)/hardware/tools/avr/avr/include/Įven that is not the full story. However even that does not locate things like strcpy. There you would find the Arduino core libraries like: abi.cpp These are in: (install location)/hardware/arduino/avr/cores/arduino That does not cover the low-level libraries like Tone, Print, main, etc. As at IDE 1.6.4 (Ubuntu version) some are in: (install location)/librariesīut these are the high-level libraries, in particular: Bridge Also, be sure to consult the STM HAL API documentation for detailed information on the available functions and their usage.There are multiple places where you can look. Note that this is just a simple example, and your code may require additional modifications to work properly with the STM HAL API. Here's an example of what the converted code might look like: #include "stm32f4xx_hal.h" For example, you may need to change the data types or the way the code handles interrupts.
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |