Skip to content

All ble targets _BOOT and _OTA fail on greentea #2383

@jacobrosenthal

Description

@jacobrosenthal
Compile: test_env.cpp
[Error] test_env.cpp@64,1: 'RawSerial' does not name a type
[Error] test_env.cpp@196,5: 'greentea_serial' was not declared in this scope
[Error] test_env.cpp@214,5: 'greentea_serial' was not declared in this scope
[Error] test_env.cpp@232,9: 'greentea_serial' was not declared in this scope
[Error] test_env.cpp@258,9: 'greentea_serial' was not declared in this scope
[Error] test_env.cpp@278,9: 'greentea_serial' was not declared in this scope
[Error] test_env.cpp@301,9: 'greentea_serial' was not declared in this scope
[Error] test_env.cpp@325,9: 'greentea_serial' was not declared in this scope
[Error] test_env.cpp@358,9: 'greentea_serial' was not declared in this scope
[Error] test_env.cpp@391,9: 'greentea_serial' was not declared in this scope
[ERROR] ./mbed-os/features/frameworks/greentea-client/source/test_env.cpp:64:1: error: 'RawSerial' does not name a type
 RawSerial greentea_serial(USBTX, USBRX); 
 ^
./mbed-os/features/frameworks/greentea-client/source/test_env.cpp: In function 'void greentea_write_preamble()':
./mbed-os/features/frameworks/greentea-client/source/test_env.cpp:196:5: error: 'greentea_serial' was not declared in this scope
     greentea_serial.putc('{');
     ^
./mbed-os/features/frameworks/greentea-client/source/test_env.cpp: In function 'void greentea_write_postamble()':
./mbed-os/features/frameworks/greentea-client/source/test_env.cpp:214:5: error: 'greentea_serial' was not declared in this scope
     greentea_serial.putc('}');
     ^
./mbed-os/features/frameworks/greentea-client/source/test_env.cpp: In function 'void greentea_write_string(const char*)':
./mbed-os/features/frameworks/greentea-client/source/test_env.cpp:232:9: error: 'greentea_serial' was not declared in this scope
         greentea_serial.putc(*str);
         ^
./mbed-os/features/frameworks/greentea-client/source/test_env.cpp: In function 'void greentea_write_int(int)':
./mbed-os/features/frameworks/greentea-client/source/test_env.cpp:258:9: error: 'greentea_serial' was not declared in this scope
         greentea_serial.putc(intval[i]);
         ^
./mbed-os/features/frameworks/greentea-client/source/test_env.cpp: In function 'void greentea_send_kv(const char*, const char*)':
./mbed-os/features/frameworks/greentea-client/source/test_env.cpp:278:9: error: 'greentea_serial' was not declared in this scope
         greentea_serial.putc(';');
         ^
./mbed-os/features/frameworks/greentea-client/source/test_env.cpp: In function 'void greentea_send_kv(const char*, int)':
./mbed-os/features/frameworks/greentea-client/source/test_env.cpp:301:9: error: 'greentea_serial' was not declared in this scope
         greentea_serial.putc(';');
         ^
./mbed-os/features/frameworks/greentea-client/source/test_env.cpp: In function 'void greentea_send_kv(const char*, const char*, int)':
./mbed-os/features/frameworks/greentea-client/source/test_env.cpp:325:9: error: 'greentea_serial' was not declared in this scope
         greentea_serial.putc(';');
         ^
./mbed-os/features/frameworks/greentea-client/source/test_env.cpp: In function 'void greentea_send_kv(const char*, const char*, int, int)':
./mbed-os/features/frameworks/greentea-client/source/test_env.cpp:358:9: error: 'greentea_serial' was not declared in this scope
         greentea_serial.putc(';');
         ^
./mbed-os/features/frameworks/greentea-client/source/test_env.cpp: In function 'void greentea_send_kv(const char*, int, int)':
./mbed-os/features/frameworks/greentea-client/source/test_env.cpp:391:9: error: 'greentea_serial' was not declared in this scope
         greentea_serial.putc(';');
         ^

[mbed] ERROR: "python" returned error code 1.
[mbed] ERROR: Command "python -u /Users/jacobrosenthal/mbed-os-example-ble/BLE_LED/mbed-os/tools/make.py -t GCC_ARM -m SEEED_TINY_BLE_BOOT --source . --build ./.build/SEEED_TINY_BLE_BOOT/GCC_ARM" in "/Users/jacobrosenthal/mbed-os-example-ble/BLE_LED"

---
Jacobs-MacBook-Air-3:BLE_LED jacobrosenthal$ mbed --version
0.9.1

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions