Skip to content

Commit

Permalink
support files.
Browse files Browse the repository at this point in the history
  • Loading branch information
tschak909 committed Feb 10, 2023
1 parent e25b776 commit 9730e39
Show file tree
Hide file tree
Showing 5 changed files with 116 additions and 3 deletions.
47 changes: 47 additions & 0 deletions boards/fujinet-cx16.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,47 @@
{
"build": {
"arduino":{
"ldscript": "esp32_out.ld"
},
"core": "esp32",
"extra_flags": "-DARDUINO_ESP32_DEV",
"f_cpu": "240000000L",
"f_flash": "40000000L",
"flash_mode": "dio",
"mcu": "esp32",
"variant": "esp32",
"partitions": "fujinet_partitions_8MB.csv"
},
"connectivity": [
"wifi",
"bluetooth",
"ethernet",
"can"
],
"debug": {
"default_tool": "ftdi",
"onboard_tools": [
"ftdi"
],
"openocd_board": "esp-wrover.cfg"
},
"frameworks": [
"arduino",
"espidf"
],
"name": "#FujiNet CX16",
"upload": {
"flash_size": "8MB",
"maximum_ram_size": 327680,
"maximum_size": 8388608,
"protocols": [
"esptool",
"espota",
"ftdi"
],
"require_upload_port": true,
"speed": 460800
},
"url": "https://github.com/FujiNetWIFI/fujinet-platformio",
"vendor": "FujiNet Project"
}
18 changes: 18 additions & 0 deletions data/webui/config/fujinet-cx16.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,18 @@
paths:
font_path: /file?
css_path: /file?css
js_path: /file?js
components:
network: true
hardware: true
hosts_list: true
mount_list: true
printer_settings: true
modem_settings: true
hsio_settings: true
timezone: true
udp_stream: true
program_recorder: true
disk_swap: true
boot_settings: true
apetime: false
1 change: 1 addition & 0 deletions include/pinmap.h
Original file line number Diff line number Diff line change
Expand Up @@ -10,5 +10,6 @@
#include "pinmap/esp32s3.h"
#include "pinmap/lynx.h"
#include "pinmap/rs232_rev0.h"
#include "pinmap/cx16.h"

#endif /* PINMAP_H */
47 changes: 47 additions & 0 deletions include/pinmap/cx16.h
Original file line number Diff line number Diff line change
@@ -0,0 +1,47 @@
/* FujiNet Hardware Pin Mapping */
#ifdef PINMAP_CX16

/* SD Card */
#define PIN_CARD_DETECT 12 // fnSystem.h
#define PIN_CARD_DETECT_FIX 15 // fnSystem.h
#define PIN_SD_HOST_CS GPIO_NUM_5 //fnFsSD.cpp
#define PIN_SD_HOST_MISO GPIO_NUM_19
#define PIN_SD_HOST_MOSI GPIO_NUM_23
#define PIN_SD_HOST_SCK GPIO_NUM_18

/* UART */
#define PIN_UART0_RX 3 // fnUART.cpp
#define PIN_UART0_TX 1
#define PIN_UART1_RX 9
#define PIN_UART1_TX 10
#define PIN_UART2_RX 33
#define PIN_UART2_TX 21

/* Buttons */
#define PIN_BUTTON_A 0 // keys.cpp
#define PIN_BUTTON_B 34
#define PIN_BUTTON_C 14

/* LEDs */
#define PIN_LED_WIFI 2 // led.cpp
#define PIN_LED_BUS 4
// pins 12-15 are used to interface with the JTAG debugger
// so leave them alone if we're using JTAG
#if !defined(JTAG)
#define PIN_LED_BT 13
#else
#define PIN_LED_BT 4
#endif

/* Atari SIO Pins */
#define PIN_INT 26 // sio.h
#define PIN_PROC 22
#define PIN_CKO 32
#define PIN_CKI 27
#define PIN_MTR 36
#define PIN_CMD 39

/* Audio Output */
#define PIN_DAC1 25 // samlib.h

#endif /* PINMAP_ATARIV1 */
6 changes: 3 additions & 3 deletions include/version.h
Original file line number Diff line number Diff line change
Expand Up @@ -10,8 +10,8 @@
#define FN_VERSION_MAJOR 0
#define FN_VERSION_MINOR 5

#define FN_VERSION_BUILD "e0b91511"
#define FN_VERSION_BUILD "e25b7760"

#define FN_VERSION_DATE "2023-02-06 03:13:55"
#define FN_VERSION_DATE "2023-02-10 03:16:21"

#define FN_VERSION_FULL "0.5.e0b91511"
#define FN_VERSION_FULL "0.5.e25b7760"

0 comments on commit 9730e39

Please sign in to comment.