mirror of
https://github.com/openmv/openmv.git
synced 2025-11-04 14:49:50 +08:00
Disabled self tests for OMV1
* RGB QVGA doesn't fit in OMV1's RAM, fix the script or write another one.
This commit is contained in:
parent
d7130234d3
commit
940f3a0d7d
@ -96,6 +96,9 @@ static const char fresh_readme_txt[] =
|
|||||||
"Please visit http://micropython.org/help/ for further help.\r\n"
|
"Please visit http://micropython.org/help/ for further help.\r\n"
|
||||||
;
|
;
|
||||||
|
|
||||||
|
#ifdef OPENMV1
|
||||||
|
static const char fresh_selftest_py[] ="";
|
||||||
|
#else
|
||||||
static const char fresh_selftest_py[] =
|
static const char fresh_selftest_py[] =
|
||||||
"import sensor, time, pyb\n"
|
"import sensor, time, pyb\n"
|
||||||
"\n"
|
"\n"
|
||||||
@ -164,6 +167,8 @@ static const char fresh_selftest_py[] =
|
|||||||
"test_int_adc()\n"
|
"test_int_adc()\n"
|
||||||
"test_color_bars()\n"
|
"test_color_bars()\n"
|
||||||
;
|
;
|
||||||
|
#endif
|
||||||
|
|
||||||
void flash_error(int n) {
|
void flash_error(int n) {
|
||||||
for (int i = 0; i < n; i++) {
|
for (int i = 0; i < n; i++) {
|
||||||
led_state(LED_RED, 0);
|
led_state(LED_RED, 0);
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user