nodemcu-firmware/app/user
Johny Mattsson 30d354c290 Rework ADC mode setting approach (#1285)
- Stop fighting against the SDK in terms of owning/writing the init_data block.
  NodeMCU included a default init_data block because originally the SDK did
  not, but by now it's not needed.

- Expose a way to reconfigure the ADC mode from Lua land. With most people
  using the cloud builder and not able to change the #define for byte 107
  this has been a pain point.

- Less confusion about which init_data has been used. Lua code can now simply
  state what mode it wants the ADC to be in, and not worry about the rest of
  the init_data complexities such as the init_data changing location due to
  flashing with wrong flash_size setting, or doing/not doing a chip-erase
  before loading new NodeMCU firmware.
2016-05-18 21:45:15 +02:00
..
Makefile Enable -std=gnu11 for user dir 2016-03-24 00:06:09 +01:00
user_exceptions.c Sorted out linker scripts & options. 2015-10-12 13:26:04 +11:00
user_exceptions.h Enable -std=gnu11 for user dir 2016-03-24 00:06:09 +01:00
user_main.c Rework ADC mode setting approach (#1285) 2016-05-18 21:45:15 +02:00