Skip to content

Commit 1bcb609

Browse files
committed
Fri Apr 24 14:54:38 EDT 2020 - cleaning house
1 parent a58f8ec commit 1bcb609

File tree

7 files changed

+34
-21
lines changed

7 files changed

+34
-21
lines changed
50.6 KB
Loading

Firmware/Releases/=.zip

2.33 MB
Binary file not shown.

Launchers/128x128/components/cog/cog.c

Lines changed: 15 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -12,8 +12,22 @@
1212

1313
#include <string.h>
1414

15+
/*
16+
const gpio_num_t COG_CS // 5
17+
const gpio_num_t COG_RST // RST
18+
const gpio_num_t COG_RS
19+
const gpio_num_t COG_D7
20+
const gpio_num_t COG_D6
21+
const gpio_num_t COG_D3 // 23
22+
const gpio_num_t COG_D0 // 18
23+
*/
24+
25+
void debug(char *string);
26+
1527
void cog_init(void) {
16-
printf("\n**********\n%s\n**********\n", __func__);
28+
char message[256] = "";
29+
sprintf(message, "%s\nfile %s\nline #%d", __func__, __FILE__, __LINE__);
30+
debug(message);
1731
}
1832

1933
void cog_deinit() {

Launchers/128x128/main/main.c

Lines changed: 7 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -47,25 +47,24 @@
4747
#include "driver/sdspi_host.h"
4848
#include "driver/ledc.h"
4949

50-
/*
51-
COG
52-
*/
53-
#include "cog.h"
54-
55-
5650
//{#pragma region Debug
57-
void debug(char *string) {
51+
extern void debug(char *string) {
5852
printf("\n**********\n%s\n**********\n", string);
5953
}
6054
//}#pragma endregion Debug
6155

56+
/*
57+
COG
58+
*/
59+
#include "cog.h"
60+
6261

6362
//{#pragma region Main
6463
void app_main(void) {
6564
nvs_flash_init();
6665

6766
char message[256] = "";
68-
sprintf(message, "%s\nline #%d", __func__, __LINE__);
67+
sprintf(message, "%s\nfile %s\nline #%d", __func__, __FILE__, __LINE__);
6968
debug(message);
7069

7170
cog_init();
3.5 KB
Binary file not shown.

Launchers/retro-esp32/sdkconfig

100755100644
Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -83,10 +83,10 @@ CONFIG_MONITOR_BAUD=115200
8383
#
8484
# Retro ESP32 Configuration
8585
#
86-
CONFIG_LCD_DRIVER_CHIP_ODROID_GO=
87-
CONFIG_LCD_DRIVER_CHIP_RETRO_ESP32=y
88-
CONFIG_DEFAULT_MENU_KEY=
89-
CONFIG_COMBO_MENU_KEY=y
86+
CONFIG_LCD_DRIVER_CHIP_ODROID_GO=y
87+
CONFIG_LCD_DRIVER_CHIP_RETRO_ESP32=
88+
CONFIG_DEFAULT_MENU_KEY=y
89+
CONFIG_COMBO_MENU_KEY=
9090

9191
#
9292
# Partition Table

Launchers/retro-esp32/sdkconfig.old

100755100644
Lines changed: 8 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -38,7 +38,7 @@ CONFIG_FLASH_ENCRYPTION_ENABLED=
3838
#
3939
# Serial flasher config
4040
#
41-
CONFIG_ESPTOOLPY_PORT="/dev/cu.usbserial-AB0JESEM"
41+
CONFIG_ESPTOOLPY_PORT="/dev/cu.SLAB_USBtoUART"
4242
CONFIG_ESPTOOLPY_BAUD_115200B=
4343
CONFIG_ESPTOOLPY_BAUD_230400B=
4444
CONFIG_ESPTOOLPY_BAUD_921600B=
@@ -59,10 +59,10 @@ CONFIG_ESPTOOLPY_FLASHFREQ_20M=
5959
CONFIG_ESPTOOLPY_FLASHFREQ="80m"
6060
CONFIG_ESPTOOLPY_FLASHSIZE_1MB=
6161
CONFIG_ESPTOOLPY_FLASHSIZE_2MB=
62-
CONFIG_ESPTOOLPY_FLASHSIZE_4MB=
62+
CONFIG_ESPTOOLPY_FLASHSIZE_4MB=y
6363
CONFIG_ESPTOOLPY_FLASHSIZE_8MB=
64-
CONFIG_ESPTOOLPY_FLASHSIZE_16MB=y
65-
CONFIG_ESPTOOLPY_FLASHSIZE="16MB"
64+
CONFIG_ESPTOOLPY_FLASHSIZE_16MB=
65+
CONFIG_ESPTOOLPY_FLASHSIZE="4MB"
6666
CONFIG_ESPTOOLPY_FLASHSIZE_DETECT=y
6767
CONFIG_ESPTOOLPY_BEFORE_RESET=y
6868
CONFIG_ESPTOOLPY_BEFORE_NORESET=
@@ -83,10 +83,10 @@ CONFIG_MONITOR_BAUD=115200
8383
#
8484
# Retro ESP32 Configuration
8585
#
86-
CONFIG_LCD_DRIVER_CHIP_ODROID_GO=y
87-
CONFIG_LCD_DRIVER_CHIP_RETRO_ESP32=
88-
CONFIG_DEFAULT_MENU_KEY=y
89-
CONFIG_COMBO_MENU_KEY=
86+
CONFIG_LCD_DRIVER_CHIP_ODROID_GO=
87+
CONFIG_LCD_DRIVER_CHIP_RETRO_ESP32=y
88+
CONFIG_DEFAULT_MENU_KEY=
89+
CONFIG_COMBO_MENU_KEY=y
9090

9191
#
9292
# Partition Table

0 commit comments

Comments
 (0)