Jump to content

Laxmi

Members
  • Content count

    15
  • Joined

  • Last visited

About Laxmi

  • Rank
    Member

Contact Methods

  • Website URL
    http://www.kgptalkie.com

Profile Information

  • Location
    Kharagpur
  • Interests
    NA
  • Sparkfun
    NA
  • Github
    Na

Recent Profile Visitors

146 profile views
  1. Hi, How can I use UART interrupt in Energia? I tried but could not find any example or sample work.
  2. Hi, I am trying to play audio using a speaker with the help of CC3200MOD and Audio Booster Pack. I have got example code in CCS and it is working fine but most of my codes are written in Energia, therefore, I am trying to use Energia to code Audio Booster but I could not find any documents or examples. do you have any example codes on Energia? Kindly, share the link, it would be really very helpful to me. Thanks.
  3. Update: added corresponding files in the search path now getting following errors C:\Users\LaxmiKant\OneDrive\Project\energia-0101E0015\hardware\cc3200\cores\cc3200\driverlib\libdriverlib.a, -lm, -lc, -lgcc, -LC:\Users\LAXMIK~1\AppData\Local\Temp\build1071701420128820851.tmp, -lm] c:/users/laxmikant/onedrive/project/energia-0101e0015/hardware/tools/lm4f/bin/../lib/gcc/arm-none-eabi/4.8.4/../../../../arm-none-eabi/lib/armv7e-m\libc.a(lib_a-abort.o): In function `abort': abort.c:(.text.abort+0xa): undefined reference to `_exit' collect2.exe: error: ld returned 1 exit status When I imported Energia project in CCSv6.1, getting same error as above.
  4. Thanks. It was the silly mistake. I have moved it in setup(). Now I am getting linking errors dwt2.cpp.o: In function `setup': dwt2.cpp:(.text.setup+0x8): undefined reference to `gsl_wavelet_alloc' dwt2.cpp:(.text.setup+0x14): undefined reference to `gsl_wavelet_workspace_alloc' dwt2.cpp:(.text.setup+0x20): undefined reference to `gsl_wavelet_daubechies' collect2.exe: error: ld returned 1 exit status Any help??
  5. Hello, I am doing wavelet transformation in C code using GSL-2.1 Library. I have done it successfully in CCSv6.1 with TI v16.3.0 STS compiler. My most of the other codes are in Energia since I have found it very easy to use. Now I am trying to interface GSL-2.1 with Energia but getting some errors. Let me explain first how I am adding library to Energia Downloaded GSL lib from here and extracted it. copied all .h files in new folder GSL_wavelet as well as in new gsl folder copied all c files related to wavelet and linked files in GSL_wavelet then paste GSL_wavelet in cc3200/libraries and placed gsl folder in energia-0101E0015\hardware\cc3200\cores\cc3200 folder then wrote the following code to test the DWT #include <stdio.h> #include <stdlib.h> #include <string.h> #include <math.h> #include <gsl/gsl_errno.h> #include <gsl/gsl_vector.h> #include <gsl/gsl_blas.h> #include <gsl/gsl_test.h> #include <gsl/gsl_wavelet.h> #include <gsl/gsl_wavelet2d.h> #include <gsl_wavelet.h> //#include<wavelet.c> //#include<daubechies.c> //#include<error.c> //#include<stream.c> gsl_wavelet *w; gsl_wavelet_workspace *work; w = gsl_wavelet_alloc(gsl_wavelet_daubechies,4); work = gsl_wavelet_workspace_alloc(256); void setup() { } void loop() { } it is very simple code. I wrote it only for test whether lib is working or not. The files which I copied in libraries is same as which are working with CCSv6.1, however, I am getting following error [C:\Users\LaxmiKant\OneDrive\Project\energia-0101E0015\hardware\tools\lm4f\bin\arm-none-eabi-g++, -c, -Os, -w, -fno-rtti, -fno-exceptions, -ffunction-sections, -fdata-sections, -mthumb, -mcpu=cortex-m4, -DF_CPU=80000000L, -MMD, -DARDUINO=101, -DENERGIA=15, -IC:\Users\LaxmiKant\OneDrive\Project\energia-0101E0015\hardware\cc3200\cores\cc3200, -IC:\Users\LaxmiKant\OneDrive\Project\energia-0101E0015\hardware\cc3200\variants\launchpad, -IC:\Users\LaxmiKant\OneDrive\Project\energia-0101E0015\hardware\cc3200\libraries\wavelet, C:\Users\LAXMIK~1\AppData\Local\Temp\build1071701420128820851.tmp\dwt2.cpp, -o, C:\Users\LAXMIK~1\AppData\Local\Temp\build1071701420128820851.tmp\dwt2.cpp.o] dwt2.ino:19:1: error: 'w' does not name a type dwt2.ino:20:1: error: 'work' does not name a type perhaps I need some modification to make it working with Energia but I am clueless. Any help would be appreciated.
  6. I am getting following error when I changed .asm file to .s extension C:\Users\LAXMIK~1\AppData\Local\Temp\build3667472384792498114.tmp\CMSIS_DSP\arm_bitreversal2.S.o] arm-none-eabi-gcc: error: unrecognized command line option '-assembler-with-cpp'
  7. So it means, I can also write assembly codes?
  8. I downloaded it from ARM site and placed it in libraries folder of CC3200 with some modification.
  9. Hello, I am building CMSIS DSP library but it takes lots of time in compilation. I want to make a precompiled library of CMSIS DSP. What are the procedures to do it?
  10. I asked there but they told me it is related to energia so ask here.
  11. I am using CC3200 launchpad. It is giving error "arm_cfft_f32.c:(.text.arm_cfft_f32+0x92): undefined reference to 'arm_bitreversal_32'. collect2.exe: error: ld returned 1 exit status. this function is defined in arm_bitreversal2.asm but it is in assembly code. Now I have managed to compile it by changing arm_bitreversal_32 to arm_bitreversal_f32 but when I call arm_bit_reverse_32() function, it goes in FaultISR() infinite loop. Interestingly when I do bitreverse = false in my main program then it runs fine but results are not as expected.
  12. Hello, I was importing CMSIS 4.5 in energia but It is not building correctly because there is a .asm file in DSP library which is not compiling. Is there any way to compile .asm file in energia.
  13. Hello, I have used petit FatFs library in my project and it is working great but only problem is It can not create new file it only can modify already created file. But in my project I need to create many files on runtime. where can I ger FatFs SD Host library which I can use with energia. Thanks in advance
×