-
Notifications
You must be signed in to change notification settings - Fork 296
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
* TR6260 initial * fix gh-actions * various fixes/features * wifi fast connect fix * fix gpio, add i2c * move config to obk
- Loading branch information
1 parent
2c0b3cd
commit 532a903
Showing
26 changed files
with
1,372 additions
and
16 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,129 @@ | ||
VPATH += $(OBK_PATH) | ||
DEFINE += -DUSER_SW_VER='"$(APP_VERSION)"' | ||
DEFINE += -DPLATFORM_TR6260 | ||
|
||
CSRCS += base64/base64.c | ||
CSRCS += bitmessage/bitmessage_read.c | ||
CSRCS += bitmessage/bitmessage_write.c | ||
CSRCS += cJSON/cJSON.c | ||
CSRCS += cmnds/cmd_channels.c | ||
CSRCS += cmnds/cmd_eventHandlers.c | ||
CSRCS += cmnds/cmd_if.c | ||
CSRCS += cmnds/cmd_main.c | ||
CSRCS += cmnds/cmd_newLEDDriver_colors.c | ||
CSRCS += cmnds/cmd_newLEDDriver.c | ||
CSRCS += cmnds/cmd_repeatingEvents.c | ||
CSRCS += cmnds/cmd_script.c | ||
CSRCS += cmnds/cmd_simulatorOnly.c | ||
CSRCS += cmnds/cmd_tasmota.c | ||
CSRCS += cmnds/cmd_tcp.c | ||
CSRCS += cmnds/cmd_test.c | ||
CSRCS += cmnds/cmd_tokenizer.c | ||
CSRCS += devicegroups/deviceGroups_read.c | ||
CSRCS += devicegroups/deviceGroups_util.c | ||
CSRCS += devicegroups/deviceGroups_write.c | ||
CSRCS += driver/drv_main.c | ||
CSRCS += hal/tr6260/hal_adc_tr6260.c | ||
CSRCS += hal/tr6260/hal_flashConfig_tr6260.c | ||
CSRCS += hal/tr6260/hal_flashVars_tr6260.c | ||
CSRCS += hal/tr6260/hal_generic_tr6260.c | ||
CSRCS += hal/tr6260/hal_main_tr6260.c | ||
CSRCS += hal/tr6260/hal_pins_tr6260.c | ||
CSRCS += hal/tr6260/hal_wifi_tr6260.c | ||
CSRCS += httpserver/hass.c | ||
CSRCS += httpserver/http_basic_auth.c | ||
CSRCS += httpserver/http_fns.c | ||
CSRCS += httpserver/http_tcp_server.c | ||
CSRCS += httpserver/new_tcp_server.c | ||
CSRCS += httpserver/json_interface.c | ||
CSRCS += httpserver/new_http.c | ||
CSRCS += httpserver/rest_interface.c | ||
CSRCS += mqtt/new_mqtt_deduper.c | ||
CSRCS += jsmn/jsmn.c | ||
CSRCS += logging/logging.c | ||
CSRCS += mqtt/new_mqtt.c | ||
CSRCS += new_cfg.c | ||
CSRCS += new_common.c | ||
CSRCS += new_ping.c | ||
CSRCS += new_pins.c | ||
CSRCS += rgb2hsv.c | ||
CSRCS += tiny_crc8.c | ||
CSRCS += user_main.c | ||
#CSRCS += cmnds/cmd_send.c | ||
CSRCS += driver/drv_adcButton.c | ||
CSRCS += driver/drv_adcSmoother.c | ||
CSRCS += driver/drv_aht2x.c | ||
CSRCS += driver/drv_battery.c | ||
CSRCS += driver/drv_bl_shared.c | ||
CSRCS += driver/drv_bl0937.c | ||
CSRCS += driver/drv_bl0942.c | ||
#CSRCS += driver/drv_bmp280.c | ||
CSRCS += driver/drv_bmpi2c.c | ||
CSRCS += driver/drv_bp1658cj.c | ||
CSRCS += driver/drv_bp5758d.c | ||
CSRCS += driver/drv_bridge_driver.c | ||
CSRCS += driver/drv_chargingLimit.c | ||
CSRCS += driver/drv_charts.c | ||
CSRCS += driver/drv_cht8305.c | ||
CSRCS += driver/drv_cse7766.c | ||
CSRCS += driver/drv_ddp.c | ||
CSRCS += driver/drv_debouncer.c | ||
CSRCS += driver/drv_dht_internal.c | ||
CSRCS += driver/drv_dht.c | ||
CSRCS += driver/drv_doorSensorWithDeepSleep.c | ||
CSRCS += driver/drv_gn6932.c | ||
CSRCS += driver/drv_hd2015.c | ||
CSRCS += driver/drv_ht16k33.c | ||
CSRCS += driver/drv_httpButtons.c | ||
CSRCS += driver/drv_hue.c | ||
CSRCS += driver/drv_kp18058.c | ||
CSRCS += driver/drv_kp18068.c | ||
CSRCS += driver/drv_max72xx_clock.c | ||
CSRCS += driver/drv_max72xx_internal.c | ||
CSRCS += driver/drv_max72xx_single.c | ||
CSRCS += driver/drv_mcp9808.c | ||
CSRCS += driver/drv_ntp_events.c | ||
CSRCS += driver/drv_ntp.c | ||
CSRCS += driver/drv_pt6523.c | ||
CSRCS += driver/drv_pwm_groups.c | ||
CSRCS += driver/drv_pwmToggler.c | ||
CSRCS += driver/drv_pwrCal.c | ||
CSRCS += driver/drv_rn8209.c | ||
CSRCS += driver/drv_sgp.c | ||
CSRCS += driver/drv_shiftRegister.c | ||
CSRCS += driver/drv_sht3x.c | ||
#CSRCS += driver/drv_sm15155e.c | ||
#CSRCS += driver/drv_sm16703P.c | ||
CSRCS += driver/drv_sm2135.c | ||
CSRCS += driver/drv_sm2235.c | ||
CSRCS += driver/drv_soft_i2c.c | ||
#CSRCS += driver/drv_soft_spi.c | ||
#CSRCS += driver/drv_spi_flash.c | ||
#CSRCS += driver/drv_spi.c | ||
#CSRCS += driver/drv_spidma.c | ||
CSRCS += driver/drv_ssdp.c | ||
CSRCS += driver/drv_tasmotaDeviceGroups.c | ||
CSRCS += driver/drv_test_drivers.c | ||
CSRCS += driver/drv_textScroller.c | ||
CSRCS += driver/drv_tm_gn_display_shared.c | ||
CSRCS += driver/drv_tm1637.c | ||
CSRCS += driver/drv_tm1638.c | ||
CSRCS += driver/drv_tuyaMCU.c | ||
CSRCS += driver/drv_tuyaMCUSensor.c | ||
CSRCS += driver/drv_uart.c | ||
CSRCS += driver/drv_ucs1912.c | ||
CSRCS += driver/drv_wemo.c | ||
CSRCS += driver/drv_ds1820_simple.c | ||
#CSRCS += httpclient/http_client.c | ||
#CSRCS += httpclient/utils_net.c | ||
#CSRCS += httpclient/utils_timer.c | ||
CSRCS += i2c/drv_i2c_lcd_pcf8574t.c | ||
CSRCS += i2c/drv_i2c_main.c | ||
CSRCS += i2c/drv_i2c_mcp23017.c | ||
CSRCS += i2c/drv_i2c_tc74.c | ||
CSRCS += littlefs/lfs_util.c | ||
CSRCS += littlefs/lfs.c | ||
CSRCS += littlefs/our_lfs.c | ||
#CSRCS += memory/memtest.c | ||
#CSRCS += ota/ota.c | ||
#CSRCS += sim/sim_uart.c |
Submodule OpenTR6260
added at
9deb1e
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,15 @@ | ||
#ifdef PLATFORM_TR6260 | ||
|
||
#include "../hal_adc.h" | ||
|
||
void HAL_ADC_Init(int pinNumber) | ||
{ | ||
|
||
} | ||
|
||
int HAL_ADC_Read(int pinNumber) | ||
{ | ||
|
||
} | ||
|
||
#endif // PLATFORM_TR6260 |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,18 @@ | ||
#ifdef PLATFORM_TR6260 | ||
|
||
#include "../hal_flashConfig.h" | ||
#include <easyflash.h> | ||
|
||
int HAL_Configuration_ReadConfigMemory(void* target, int dataLen) | ||
{ | ||
return ef_get_env_blob("ObkCfg", target, dataLen, NULL); | ||
} | ||
|
||
int HAL_Configuration_SaveConfigMemory(void* src, int dataLen) | ||
{ | ||
//ef_del_env("ObkCfg"); | ||
ef_set_env_blob("ObkCfg", src, dataLen); | ||
return 1; | ||
} | ||
|
||
#endif // PLATFORM_TR6260 |
Oops, something went wrong.