![]() ![]() #include "./filename.h" OR #include ".\filename.h" but under Linux/iOS you most likely can use only "./filename.h"Īnyway - if you have issues with my syntax, just remove the dot-slash and specify the filename asĪnd see If that works for you. Therefore, depending on your OS you may need to change some things in my code! Therefore, rather than modifying them and renaming and adding them to the libraries in the user Arduino\libraries path, I simply keep the edited libraries in my sketch folder. Most standard libraries used for Arduino will not work unmodified on the STM32 platform. Exhaustive testing has not been done and the only way to get great feedback is to open the door for others.įYI to anyone using any of my Maple Mini examples: Thanks for helping the STM32 team "shake-down" the core. You may also find lots of rich support in the on-line material from the original developers, Leaflabs. #include ".\SoftwareSerial.h" // faux version only for STM32 Maple cpp files.Įxample: #include ".\BMP085.h" // #include "I2Cdev.h" is pulled in also If you take this approach, then you will need to modify your #include statements from #include to the format #include ".\library.h" in all locations where the library is specified: that is, the main sketch and any tabs and in many of the. This approach fully insulates the modified libraries from other sketches for my 8-bit AVR programs. Nothing is exhaustively tested!īecause you must often modify libraries, in my STM32 sketch directory, I am building projects that have all of the supporting modified libraries (those not in \documents\Arduino\libraries) in the sketch directory. As an example, we have the Adafruit_GFX and Adafruit_ILI9341 libraries converted and tested-> that is, they run the Adafruit test sketch. As libraries are converted and tested, we put them into the ZIP. The effort to "fix" these libraries is akin to what Paul does for gaining compatibility with the Teens圓.x boards or what Arduino does with the Due. sometimes multiple times per day which is especially true over a weekend.įew libraries from AVR will work as-is with the STM32 board. Let me repeat, the github source is constantly changing. If you download and install the ZIP for the Maple core, please keep a copy of the ZIP so that if future core work messes up your code, you can revert back to a core that is working until the new core is validated. If you choose to play, remember that play is the objective. While I have received boards from eBay and AliExpress, you should realize that you are dealing with off-shore vendors and hosting companies with varied policies. There is little to no support for issues you may encounter. Here is the caveat: The STM32 Maple core is experimental. I also have a few Maple Mini clone projects on my project page. However, I have both $4 and $6 boards and other than the rosin on the reworked board, they both function the same. ![]() My guess is Baite off-loads those boards to other sellers who correct issues in the initial reflow oven process. that is, one can see manual reflow efforts on the uC by a soldering iron. Additionally, the $4 from Chinese dealers seem to be a manual rework of the Baite board. However, for the average user, 2^10 vs 2^12 should have little issue between AVR and STM. This will mess with your ADC low order bit(s) due to noise. The tested board is this one: STM32 32-bit Maple Mini clone I have over 10 boards from different vendors all stenciled with "Baite" and what I have found is that the Baite board is a 2 layer design where the original Leaflabs board was a 4 layer board. As you are utilizing a Mac, just about everything I know about the Windows environment will be useless. I have my Windows 8.1 in "test mode" so that I can utilize the unsigned drivers. I am using Windows 8.1 64-bit and Arduino 1.6.1/2. Global variables use 2,600 bytes of dynamic memory. Sketch uses 13,420 bytes (12%) of program storage space. ray burnette: Compiled under Arduino 1.6.0rc1 Please note, as we are tweaking compiler options, the numbers you see in the heading of these examples will not match what you get - for example: Maple Mini port m. In support of those wanting to get their feet wet, I have personally verified that all of my examples run on the Arduino 1.6.0 and 1.6.1 and 1.6.2 (nightly build as of 22 March.) But you may not be keen to bother the developers in the other thread in case that slows down progress. ![]()
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |