Skip to content

Commit

Permalink
under work
Browse files Browse the repository at this point in the history
  • Loading branch information
David Krepsky committed Jul 15, 2015
1 parent 61e9de4 commit 867b91f
Show file tree
Hide file tree
Showing 22 changed files with 39 additions and 37 deletions.
6 changes: 6 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,11 @@
# CHANGES

### 07/2015 - 1.0.3

- Fix utils delay in driver lib.
- Fixed size_t error in osilib (added #include <stddef.h>).
- Fixed c++ compiling in simplelink.cpp (remove #ifdef __cplusplus block from line 371).

### 07/2015 - 1.0.2

- Fix utils delay in driver lib.
Expand Down
Binary file modified examples/FreeRTOS/Debug/FreeRTOS.bin
Binary file not shown.
Binary file modified examples/FreeRTOS/Debug/FreeRTOS.elf
Binary file not shown.
42 changes: 21 additions & 21 deletions examples/FreeRTOS/Debug/FreeRTOS.map
Original file line number Diff line number Diff line change
Expand Up @@ -1810,11 +1810,12 @@ LOAD /usr/bin/../lib/gcc/arm-none-eabi/4.9.3/armv7e-m/crtn.o
0x0000000020006be6 0xa /opt/cc3200/eclipse//../CC3200-Linux-SDK/lib/libdriver.a(uart.o)
0x0000000020006be6 UARTCharPut
.text.UtilsDelay
0x0000000020006bf0 0x8 /opt/cc3200/eclipse//../CC3200-Linux-SDK/lib/libdriver.a(utils.o)
0x0000000020006bf0 0x6 /opt/cc3200/eclipse//../CC3200-Linux-SDK/lib/libdriver.a(utils.o)
0x0000000020006bf0 UtilsDelay
.text.CPUcpsie
0x0000000020006bf8 0x10 /opt/cc3200/eclipse//../CC3200-Linux-SDK/lib/libdriver.a(cpu.o)
0x0000000020006bf8 CPUcpsie
0x0000000020006bf6 0x10 /opt/cc3200/eclipse//../CC3200-Linux-SDK/lib/libdriver.a(cpu.o)
0x0000000020006bf6 CPUcpsie
*fill* 0x0000000020006c06 0x2
.text 0x0000000020006c08 0x30 /usr/bin/../lib/gcc/arm-none-eabi/4.9.3/armv7e-m/libgcc.a(_aeabi_uldivmod.o)
0x0000000020006c08 __aeabi_uldivmod
.text 0x0000000020006c38 0x60 /usr/bin/../lib/gcc/arm-none-eabi/4.9.3/armv7e-m/libgcc.a(bpabi.o)
Expand Down Expand Up @@ -2333,7 +2334,7 @@ OUTPUT(FreeRTOS.elf elf32-littlearm)
.debug_macro 0x00000000000067c4 0x22 ./uart_if.o
.debug_macro 0x00000000000067e6 0x2e ./uart_if.o

.debug_line 0x0000000000000000 0x432e
.debug_line 0x0000000000000000 0x434e
.debug_line 0x0000000000000000 0x427 ./FreeRTOS/Source/portable/MemMang/heap_4.o
.debug_line 0x0000000000000427 0x3d0 ./FreeRTOS/Source/portable/GCC/ARM_CM4/port.o
.debug_line 0x00000000000007f7 0x3a0 ./FreeRTOS/Source/list.o
Expand All @@ -2344,15 +2345,15 @@ OUTPUT(FreeRTOS.elf elf32-littlearm)
.debug_line 0x0000000000002969 0x11f ./pinmux.o
.debug_line 0x0000000000002a88 0x1e0 ./startup_gcc.o
.debug_line 0x0000000000002c68 0x3fe ./uart_if.o
.debug_line 0x0000000000003066 0x487 /opt/cc3200/eclipse//../CC3200-Linux-SDK/lib/libosi.a(osi_freertos.o)
.debug_line 0x00000000000034ed 0x1bf /opt/cc3200/eclipse//../CC3200-Linux-SDK/lib/libdriver.a(interrupt.o)
.debug_line 0x00000000000036ac 0x186 /opt/cc3200/eclipse//../CC3200-Linux-SDK/lib/libdriver.a(pin.o)
.debug_line 0x0000000000003832 0x6a2 /opt/cc3200/eclipse//../CC3200-Linux-SDK/lib/libdriver.a(prcm.o)
.debug_line 0x0000000000003ed4 0x388 /opt/cc3200/eclipse//../CC3200-Linux-SDK/lib/libdriver.a(uart.o)
.debug_line 0x000000000000425c 0x39 /opt/cc3200/eclipse//../CC3200-Linux-SDK/lib/libdriver.a(utils.o)
.debug_line 0x0000000000004295 0x99 /opt/cc3200/eclipse//../CC3200-Linux-SDK/lib/libdriver.a(cpu.o)
.debug_line 0x0000000000003066 0x4a7 /opt/cc3200/eclipse//../CC3200-Linux-SDK/lib/libosi.a(osi_freertos.o)
.debug_line 0x000000000000350d 0x1bf /opt/cc3200/eclipse//../CC3200-Linux-SDK/lib/libdriver.a(interrupt.o)
.debug_line 0x00000000000036cc 0x186 /opt/cc3200/eclipse//../CC3200-Linux-SDK/lib/libdriver.a(pin.o)
.debug_line 0x0000000000003852 0x6a2 /opt/cc3200/eclipse//../CC3200-Linux-SDK/lib/libdriver.a(prcm.o)
.debug_line 0x0000000000003ef4 0x388 /opt/cc3200/eclipse//../CC3200-Linux-SDK/lib/libdriver.a(uart.o)
.debug_line 0x000000000000427c 0x39 /opt/cc3200/eclipse//../CC3200-Linux-SDK/lib/libdriver.a(utils.o)
.debug_line 0x00000000000042b5 0x99 /opt/cc3200/eclipse//../CC3200-Linux-SDK/lib/libdriver.a(cpu.o)

.debug_str 0x0000000000000000 0x1db3b
.debug_str 0x0000000000000000 0x1daa6
.debug_str 0x0000000000000000 0x81c9 ./FreeRTOS/Source/portable/MemMang/heap_4.o
0x83c9 (size before relaxing)
.debug_str 0x00000000000081c9 0x6b6 ./FreeRTOS/Source/portable/GCC/ARM_CM4/port.o
Expand All @@ -2375,20 +2376,20 @@ OUTPUT(FreeRTOS.elf elf32-littlearm)
0xbacb (size before relaxing)
.debug_str 0x000000000001d165 0x45e /opt/cc3200/eclipse//../CC3200-Linux-SDK/lib/libosi.a(osi_freertos.o)
0x825 (size before relaxing)
.debug_str 0x000000000001d5c3 0x1a4 /opt/cc3200/eclipse//../CC3200-Linux-SDK/lib/libdriver.a(interrupt.o)
.debug_str 0x000000000001d5c3 0x10f /opt/cc3200/eclipse//../CC3200-Linux-SDK/lib/libdriver.a(interrupt.o)
0x2e6 (size before relaxing)
.debug_str 0x000000000001d767 0x59 /opt/cc3200/eclipse//../CC3200-Linux-SDK/lib/libdriver.a(pin.o)
.debug_str 0x000000000001d6d2 0x59 /opt/cc3200/eclipse//../CC3200-Linux-SDK/lib/libdriver.a(pin.o)
0x21c (size before relaxing)
.debug_str 0x000000000001d7c0 0x294 /opt/cc3200/eclipse//../CC3200-Linux-SDK/lib/libdriver.a(prcm.o)
.debug_str 0x000000000001d72b 0x294 /opt/cc3200/eclipse//../CC3200-Linux-SDK/lib/libdriver.a(prcm.o)
0x798 (size before relaxing)
.debug_str 0x000000000001da54 0xbb /opt/cc3200/eclipse//../CC3200-Linux-SDK/lib/libdriver.a(uart.o)
.debug_str 0x000000000001d9bf 0xbb /opt/cc3200/eclipse//../CC3200-Linux-SDK/lib/libdriver.a(uart.o)
0x481 (size before relaxing)
.debug_str 0x000000000001db0f 0x8 /opt/cc3200/eclipse//../CC3200-Linux-SDK/lib/libdriver.a(utils.o)
.debug_str 0x000000000001da7a 0x8 /opt/cc3200/eclipse//../CC3200-Linux-SDK/lib/libdriver.a(utils.o)
0xed (size before relaxing)
.debug_str 0x000000000001db17 0x24 /opt/cc3200/eclipse//../CC3200-Linux-SDK/lib/libdriver.a(cpu.o)
.debug_str 0x000000000001da82 0x24 /opt/cc3200/eclipse//../CC3200-Linux-SDK/lib/libdriver.a(cpu.o)
0x12b (size before relaxing)

.comment 0x0000000000000000 0xe0
.comment 0x0000000000000000 0x70
.comment 0x0000000000000000 0x70 ./FreeRTOS/Source/portable/MemMang/heap_4.o
0x71 (size before relaxing)
.comment 0x0000000000000000 0x71 ./FreeRTOS/Source/portable/GCC/ARM_CM4/port.o
Expand All @@ -2400,8 +2401,7 @@ OUTPUT(FreeRTOS.elf elf32-littlearm)
.comment 0x0000000000000000 0x71 ./pinmux.o
.comment 0x0000000000000000 0x71 ./startup_gcc.o
.comment 0x0000000000000000 0x71 ./uart_if.o
.comment 0x0000000000000070 0x70 /opt/cc3200/eclipse//../CC3200-Linux-SDK/lib/libosi.a(osi_freertos.o)
0x71 (size before relaxing)
.comment 0x0000000000000000 0x71 /opt/cc3200/eclipse//../CC3200-Linux-SDK/lib/libosi.a(osi_freertos.o)
.comment 0x0000000000000000 0x71 /opt/cc3200/eclipse//../CC3200-Linux-SDK/lib/libdriver.a(interrupt.o)
.comment 0x0000000000000000 0x71 /opt/cc3200/eclipse//../CC3200-Linux-SDK/lib/libdriver.a(pin.o)
.comment 0x0000000000000000 0x71 /opt/cc3200/eclipse//../CC3200-Linux-SDK/lib/libdriver.a(prcm.o)
Expand Down
17 changes: 8 additions & 9 deletions examples/FreeRTOS/openocd.log
Original file line number Diff line number Diff line change
Expand Up @@ -2,14 +2,13 @@ Info : only one transport option; autoselect 'jtag'
adapter speed: 1000 kHz
cc3200_dbginit
Info : clock speed 1000 kHz
Info : JTAG tap: cc3200.jrc tap/device found: 0x0b97c02f (mfg: 0x017, part: 0xb97c, ver: 0x0)
Info : JTAG tap: cc3200.dap enabled
Info : cc3200.cpu: hardware has 6 breakpoints, 4 watchpoints
Error: JTAG scan chain interrogation failed: all ones
Error: Check JTAG interface, timings, target power, etc.
Error: Trying to use configured scan chain anyway...
Error: cc3200.jrc: IR capture error; saw 0x3f not 0x01
Warn : Bypassing JTAG setup events due to errors
Info : accepting 'gdb' connection from pipe
undefined debug reason 7 - target needs reset
requesting target halt and executing a soft reset
Warn : soft_reset_halt is deprecated, please use 'reset halt' instead.
target state: halted
target halted due to breakpoint, current mode: Thread
xPSR: 0x01000000 pc: 0x00008d1c msp: 0x20004000
Error: Target not examined yet
in procedure 'halt'

Info : dropped 'gdb' connection
Binary file modified lib/libdriver.a
Binary file not shown.
Binary file modified lib/libemail.a
Binary file not shown.
Binary file modified lib/libjson.a
Binary file not shown.
Binary file modified lib/libmiddleware.a
Binary file not shown.
Binary file modified lib/libmiddleware_nonos.a
Binary file not shown.
Binary file modified lib/libmqtt.a
Binary file not shown.
Binary file modified lib/libosi.a
Binary file not shown.
Binary file modified lib/libsimplelink.a
Binary file not shown.
Binary file modified lib/libsimplelink_nonos.a
Binary file not shown.
Binary file modified lib/libsimplelink_nonos_tiny.a
Binary file not shown.
Binary file modified lib/libtftp.a
Binary file not shown.
Binary file modified lib/libwebclient.a
Binary file not shown.
Binary file modified lib/libwebserver.a
Binary file not shown.
Binary file modified lib/libxmpp.a
Binary file not shown.
3 changes: 2 additions & 1 deletion src/driverlib/utils.c
Original file line number Diff line number Diff line change
Expand Up @@ -75,7 +75,8 @@ void __attribute__((naked))
UtilsDelay(unsigned long ulCount)
{
__asm(" subs r0, #1\n"
" bne UtilsDelay\n");
" bne UtilsDelay\n"
" bx lr\n");
}
#endif

Expand Down
2 changes: 2 additions & 0 deletions src/oslib/osi.h
Original file line number Diff line number Diff line change
Expand Up @@ -43,6 +43,8 @@
extern "C" {
#endif

#include <stddef.h>

#define OSI_WAIT_FOREVER (0xFFFFFFFF)

#define OSI_NO_WAIT (0)
Expand Down
6 changes: 0 additions & 6 deletions src/simplelink/include/simplelink.h
Original file line number Diff line number Diff line change
Expand Up @@ -368,12 +368,6 @@ typedef _u8 _SlArgSize_t;
typedef _i16 _SlDataSize_t;
typedef _i16 _SlReturnVal_t;

#ifdef __cplusplus
}
#endif /* __cplusplus */



/*
* This event status used to block or continue the event propagation
* through all the registered external libs/user application
Expand Down

0 comments on commit 867b91f

Please sign in to comment.