]> granicus.if.org Git - esp-idf/log
esp-idf
8 years agocomponents/nvs: fix host build with GCC 4.9, add coverage report generation
Ivan Grokhotkov [Mon, 22 Aug 2016 06:16:21 +0000 (14:16 +0800)]
components/nvs: fix host build with GCC 4.9, add coverage report generation

8 years agocomponents/nvs: handle more cases where sudden power off may happen
Ivan Grokhotkov [Mon, 22 Aug 2016 04:11:32 +0000 (12:11 +0800)]
components/nvs: handle more cases where sudden power off may happen

This commit fixes several issues with state handling in nvs::Page. It also adds extra consistency checks in nvs::PageManger initialization.
These changes were verified with a new long-running test ("test recovery from sudden poweroff"). This test works by repeatedly performing same pseudorandom sequence of calls to nvs_ APIs. Each time it repeats the sequence, it introduces a failure into one of flash operations (write or erase). So if one iteration of this test needs, say, 25000 flash operations, then this test will run 25000 iterations, each time introducing the failure point at different location.

8 years agocomponents/nvs: clear handles list on init, fix returning *length in nvs_get_{str...
Ivan Grokhotkov [Mon, 22 Aug 2016 03:58:13 +0000 (11:58 +0800)]
components/nvs: clear handles list on init, fix returning *length in nvs_get_{str,blob}

8 years agocomponents/nvs: fix infinite loop when loading namespaces
Ivan Grokhotkov [Mon, 22 Aug 2016 03:50:31 +0000 (11:50 +0800)]
components/nvs: fix infinite loop when loading namespaces

8 years agocomponents/nvs: add debugging facilities and runtime checks
Ivan Grokhotkov [Mon, 22 Aug 2016 03:46:44 +0000 (11:46 +0800)]
components/nvs: add debugging facilities and runtime checks

Extra runtime sanity checks run when compiled for the host (i.e. with no ESP_PLATFORM define)

8 years agocomponents/nvs: make some methods const
Ivan Grokhotkov [Mon, 22 Aug 2016 02:30:35 +0000 (10:30 +0800)]
components/nvs: make some methods const

8 years agoMerge branch 'feature/esptoolpy_performance' into 'master'
Jeroen Domburg [Tue, 23 Aug 2016 03:52:03 +0000 (11:52 +0800)]
Merge branch 'feature/esptoolpy_performance' into 'master'

esptool.py performance

Restores esptool.py custom baud rate, and re-adds compressed upload into the Makefile default targets

See merge request !11

8 years agoMerge branch 'feature/docs_osx_gettingstarted' into 'master'
Ivan Grokhotkov [Tue, 23 Aug 2016 03:36:15 +0000 (11:36 +0800)]
Merge branch 'feature/docs_osx_gettingstarted' into 'master'

:blue_book: Setup guide for macOS

Initial version of getting started guide for macOS. Section on crosstool-NG may lack all the necessary steps, but usage of crosstool-NG on macOS is pretty well documented, so this shouldn't be a showstopper. We need to run these steps on a clean install of macOS, both with MacPorts and homebrew. I'll do this once i get a VM with macOS working.

See merge request !13

8 years agoMerge branch 'feature/gitlab-ci' into 'master'
Ivan Grokhotkov [Tue, 23 Aug 2016 03:22:15 +0000 (11:22 +0800)]
Merge branch 'feature/gitlab-ci' into 'master'

GitLab CI and sync with GitHub

This change adds GitLab CI support. Currently we pull latest version of esp-idf-template project from Github and try to compile it with esp-idf version in question.
Additional test steps will be added in the future.

This change also adds automatic push to GitHub for master branch only, if CI has passed.

To implement CI builds, I created a docker image, espressif/esp32-ci-env. I will make its Dockerfile available on Github as well.

See merge request !12

8 years agodocs: macOS update started guide
Ivan Grokhotkov [Tue, 23 Aug 2016 02:38:05 +0000 (10:38 +0800)]
docs: macOS update started guide

fix URL to use HTTPS
fix typo
mention that compiling toolchain is optional
mention how to find the serial port

8 years agodocs: add setup guide for macOS
Ivan Grokhotkov [Fri, 19 Aug 2016 06:47:25 +0000 (14:47 +0800)]
docs: add setup guide for macOS

8 years agogitlab-ci: push master to GitHub master on success
Ivan Grokhotkov [Mon, 22 Aug 2016 10:19:08 +0000 (18:19 +0800)]
gitlab-ci: push master to GitHub master on success

8 years agoesptool.py & Makefile: Fix compressed upload support (enabled by default)
Angus Gratton [Mon, 22 Aug 2016 10:43:47 +0000 (18:43 +0800)]
esptool.py & Makefile: Fix compressed upload support (enabled by default)

8 years agoesptool.py: Set higher baud rates on ESP32
Angus Gratton [Mon, 22 Aug 2016 10:31:44 +0000 (18:31 +0800)]
esptool.py: Set higher baud rates on ESP32

8 years agoMerge branch 'default_freq' into 'master'
Angus Gratton [Mon, 22 Aug 2016 09:38:00 +0000 (17:38 +0800)]
Merge branch 'default_freq' into 'master'

rtos: change XT_CLOCK_FREQ from 13MHz to 80MHz

Freq has been change to `80MHz` in system_init, otherwise system tick will not be accurate now.

Maybe we can config freq by menuconfig.

See merge request !8

8 years agogitlab-ci: initial version
Ivan Grokhotkov [Mon, 22 Aug 2016 07:02:22 +0000 (15:02 +0800)]
gitlab-ci: initial version

This change adds gitlab CI support. It tests if latest master of esp-idf-template can be built with the commit of ESP-IDF in question. Currently it's a bit lax because both SDK_PATH and IDF_PATH are defined.
This change also changes components/esp32/lib submodule to point to Github over HTTPS instead of SSH, because CI server might not have its SSH keys uploaded to Github.

8 years agoMerge branch 'bugfix/spurious_uninitialized_mux_notice' into 'master'
Jeroen Domburg [Mon, 22 Aug 2016 09:33:29 +0000 (17:33 +0800)]
Merge branch 'bugfix/spurious_uninitialized_mux_notice' into 'master'

Add static initializers for muxes, add mutex init to vPortCPUAcquireMutex

We still have some ERROR: vPortCPUAcquireMutex: mux 0x3ffc01cc is uninitialized (0x0)!  errors. I'd like to fix those by giving muxes as used in critical regions an initializer, so they can get initialized at program load. This is FreeRTOS core code, I'd like someone to review it before I commit it.

See merge request !10

8 years agoAdd C99-style named field in initialisation struct
Jeroen Domburg [Mon, 22 Aug 2016 09:45:46 +0000 (17:45 +0800)]
Add C99-style named field in initialisation struct

8 years agoOops, left in a debugging break.n. Removed.
Jeroen Domburg [Mon, 22 Aug 2016 09:41:55 +0000 (17:41 +0800)]
Oops, left in a debugging break.n. Removed.

8 years agoAdd static initializers for muxes, add mutex init to vPortCPUAcquireMutex
Jeroen Domburg [Mon, 22 Aug 2016 09:36:32 +0000 (17:36 +0800)]
Add static initializers for muxes, add mutex init to vPortCPUAcquireMutex

8 years agortos: change XT_CLOCK_FREQ from 13MHz to 80MHz
Wu Jian Gang [Mon, 22 Aug 2016 04:04:14 +0000 (12:04 +0800)]
rtos: change XT_CLOCK_FREQ from 13MHz to 80MHz

Freq has been change to 80MHz in system_init

8 years agoUse IDF_PATH instead of SDK_PATH for the environment variable pointing to esp-idf
Angus Gratton [Fri, 19 Aug 2016 06:32:35 +0000 (14:32 +0800)]
Use IDF_PATH instead of SDK_PATH for the environment variable pointing to esp-idf

This will require a matching change in all projects using ESP-IDF.

8 years agoStandardise remaining uses of SDK to ESP-IDF
Angus Gratton [Fri, 19 Aug 2016 06:30:39 +0000 (14:30 +0800)]
Standardise remaining uses of SDK to ESP-IDF

8 years agoMake: Add some "magic" to try and pull git submodules if missing
Angus Gratton [Fri, 19 Aug 2016 06:20:28 +0000 (14:20 +0800)]
Make: Add some "magic" to try and pull git submodules if missing

8 years agoWindows-setup: Remove direct download option as it doesn't work
Angus Gratton [Fri, 19 Aug 2016 06:08:11 +0000 (14:08 +0800)]
Windows-setup: Remove direct download option as it doesn't work

8 years agoMerge branch 'ag_make_fixes' into 'master'
Angus Gratton [Fri, 19 Aug 2016 06:29:06 +0000 (14:29 +0800)]
Merge branch 'ag_make_fixes' into 'master'

8 years agoMakefile: bootloader-clean shouldn't clean config or partition table
Angus Gratton [Fri, 19 Aug 2016 04:16:06 +0000 (12:16 +0800)]
Makefile: bootloader-clean shouldn't clean config or partition table

Also don't build config for 'make help', and remove some redundant
clearing of variables.

8 years agomake: 'make all' default target builds everything, 'make flash' flashes everything
Angus Gratton [Thu, 18 Aug 2016 09:11:27 +0000 (17:11 +0800)]
make: 'make all' default target builds everything, 'make flash' flashes everything

Also added 'make help' target which prints some useful usage summary.

8 years agoMove details about partition tables to their own ReST doc in docs/
Angus Gratton [Thu, 18 Aug 2016 09:46:34 +0000 (17:46 +0800)]
Move details about partition tables to their own ReST doc in docs/

8 years agoFix 'make bootloader' not printing instructions
Angus Gratton [Thu, 18 Aug 2016 08:59:38 +0000 (16:59 +0800)]
Fix 'make bootloader' not printing instructions

8 years agoFix documentation errors/typos
Angus Gratton [Thu, 18 Aug 2016 04:41:47 +0000 (12:41 +0800)]
Fix documentation errors/typos

8 years agoFix gen_esp32part.py locations & documentation (thanks @wujiangang\!)
Angus Gratton [Thu, 18 Aug 2016 04:38:51 +0000 (12:38 +0800)]
Fix gen_esp32part.py locations & documentation (thanks @wujiangang\!)

8 years agoMake: Fix make bootloader, make bootloader-flash, cleaning of bootloader
Angus Gratton [Thu, 18 Aug 2016 04:36:15 +0000 (12:36 +0800)]
Make: Fix make bootloader, make bootloader-flash, cleaning of bootloader

Should resolve TW6610

8 years agoInitial public version
Ivan Grokhotkov [Wed, 17 Aug 2016 15:08:22 +0000 (23:08 +0800)]
Initial public version