Jump to content

Rei Vilo

Members
  • Content Count

    2,100
  • Joined

  • Last visited

  • Days Won

    138

Everything posted by Rei Vilo

  1. You can try and edit the platform.txt file and set a different version for C and C++. However, this may rise conflicts with the default libraries, as they target an older version of C and C++. For more advanced use of the Energia SDK, I would recommend using Code Composer Studio.
  2. The MSP432P4111 package doesn't include the libraries folder with the WiFi library. Create the directory ~/Users/ReiVilo/Library/Energia15/packages/energia/hardware/msp432p/5.29.0-beta1/libraries Copy the folder ~/Library/Energia15/packages/energia/hardware/msp432r/5.29.0/libraries/WiFi under ~/Users/ReiVilo/Library/Energia15/packages/energia/hardware/msp432p/5.29.0-beta1/libraries to obtain ~/Users/ReiVilo/Library/Energia15/packages/energia/hardware/msp432p/5.29.0-beta1/libraries/WiFi The paths mentioned above are for macOS. They might differ for Windows and Linux. Compiling the SimpleWebServerWiFi example was successful but I don't have the hardware LaunchPad MSP432P4111 + BoosterPack CC3100 to proceed with the tests.
  3. If you're using Energia for the MSP430, you can easily port it to chipKIT as both platforms are supported by the Arduino SDK. However, you should stick with high-level libraries like SPI and Wire instead of register-level commands. Please refer to Porting an Arduino library to Energia for some pointers.
  4. You could try editing platform.txt again and changing compiler.c.elf.extra_flags="-L{runtime.tools.msp430-elf-gcc.path}/msp430-gcc-support-files/include" for compiler.c.elf.extra_flags="-L{runtime.tools.msp430-elf-gcc.path}/msp430-gcc-support-files/include" -Wl,--cref -Wl,--print-map
  5. Rei Vilo

    BME280

    @Abdul400 There is no need to post the same question multiple times, as already at Please refer to: Netiquette for Newbies Porting an Arduino library to Energia
  6. You could use a library designed for Arduino. See Porting an Arduino library to Energia
  7. Have a look at this branch of the MSP430 with the Build instructions. It works great and allow to use the whole memory. Very useful with the 256 KB MSP430FR5994.
  8. I tried various times to adapt and develop a library for the BMI160 + BMM150 sensors on Energia, alas without succeeding. The example included in the SAIL SDK works fine, although it is pure C and aimed at Code Composer Studio. https://www.ti.com/tool/download/SIMPLELINK-SDK-SENSOR-ACTUATOR-PLUGIN The documentation provided by Bosch is very poor and marred with errors. Should you need a ready-to-use IMU, I strongly recommend the Bosch BNO055, which includes an MCU and provides ready-to-read angles, quarternions and alike.
  9. I’ve developed the Master I²C Software Library. Please refer to the home page, the GitHub repository and the thread in this very forum.
  10. It seems you’re using Windows: that is the standard behaviour.
  11. Check the I²C port selected, there are two and they differ from non-ET and ET LaunchPad boards.
  12. Could you please open a ticket at https://github.com/energia/EasyLink/issues? It seems some values are hard-coded, as noted at ETSI Frequency Hard-Coded — How to Comply with FCC?
  13. You need to use the tool Uniflash. https://www.ti.com/tool/UNIFLASH There is a rather sophisticated set of features. Here is the User's Guide. http://www.ti.com/lit/ug/swru469g/swru469g.pdf
  14. There is already a ticket Workshop — CC3220 — Add Upload to Flash, unfortunately still open.
  15. You're welcome! ...and don't forget to remove the jumpers from the LaunchPad.
  16. Just use the programming part of the CC3200 LaunchPad connected to your board.
  17. You can use a library for Arduino and adapt it to the MSP430. Porting an Arduino library to Energia
  18. Please have a look at Information to Provide When Asking for Help I²C Check-List I guess you're using the MMA8452 on I²C.
  19. As Energia is a fork of Arduino, the same settings apply. Call the menu Energia > Preferences and select a larger font. Open the file theme.txt (located at /Applications/Energia.app/Contents/Java/lib/theme/theme.txt on macOS) and edit the corresponding settings. # foreground and background colors editor.fgcolor = #000000 editor.bgcolor = #ffffff Go for the preferences.txt file (located at ~/Library/Energia15/preferences.txt on macOS) and edit the corresponding settings.
  20. Keep in mind the MSP430G2553 has only 512 bytes of RAM. It may not be enough for the buffers of two serial ports. Try with a more capable MCU.
  21. Which board? Please read Information to Provide When Asking for Help
×
×
  • Create New...