Skip to content
Snippets Groups Projects

Compare revisions

Changes are shown as if the source revision was being merged into the target revision. Learn more about comparing revisions.

Source

Select target project
No results found
Select Git revision
  • angel-swi
  • clang
  • cmake
  • cmake-old
  • compute-unit-v2
  • con-rig
  • ignition
  • master
  • parafoil-sensortile
  • processes_wip
  • sd-fix
  • shield_stackX
  • testing_ram_cu_v2
  • unstable
  • alderaan-v1
  • miosix-2.22
16 results

Target

Select target project
  • avn/swd/miosix-kernel
  • emilio.corigliano/miosix-kernel
2 results
Select Git revision
  • angel-swi
  • clang
  • cmake
  • cmake-old
  • compute-unit-v2
  • con-rig
  • ignition
  • master
  • parafoil-sensortile
  • processes_wip
  • sd-fix
  • shield_stackX
  • testing_ram_cu_v2
  • unstable
  • alderaan-v1
  • miosix-2.22
16 results
Show changes
Commits on Source (1)
...@@ -330,15 +330,14 @@ void IRQbspInit() ...@@ -330,15 +330,14 @@ void IRQbspInit()
ADS131::cs::mode(Mode::OUTPUT); ADS131::cs::mode(Mode::OUTPUT);
ADS131::cs::getPin().high(); ADS131::cs::getPin().high();
LPS28DFW_1::interrupt::mode(Mode::INPUT);
LPS28DFW_2::interrupt::mode(Mode::INPUT);
using namespace radio; using namespace radio;
cs::mode(Mode::OUTPUT); cs::mode(Mode::OUTPUT);
cs::getPin().high(); cs::getPin().high();
// dio0::mode(Mode::INPUT); // dio0::mode(Mode::INPUT);
dio1::mode(Mode::INPUT); dio1::mode(Mode::INPUT);
dio3::mode(Mode::INPUT); dio3::mode(Mode::INPUT);
tx_enable::mode(Mode::OUTPUT);
rx_enable::mode(Mode::OUTPUT);
using namespace gpios; using namespace gpios;
cut_trigger::mode(Mode::OUTPUT); cut_trigger::mode(Mode::OUTPUT);
......
...@@ -99,10 +99,10 @@ using rx = Gpio<GPIOA_BASE, 1>; ...@@ -99,10 +99,10 @@ using rx = Gpio<GPIOA_BASE, 1>;
namespace timers namespace timers
{ {
using tim3ch1 = Gpio<GPIOC_BASE, 6>; // Airbrakes servo using tim3ch1 = Gpio<GPIOC_BASE, 6>; // Airbrakes servo - Servo1 Payload
using tim3ch2 = Gpio<GPIOC_BASE, 7>; // Expulsion servo using tim3ch2 = Gpio<GPIOC_BASE, 7>; // Auxiliary - Servo2 Payload
using tim1ch1 = Gpio<GPIOA_BASE, 8>; // Buzzer using tim1ch1 = Gpio<GPIOA_BASE, 8>; // Buzzer
using tim1ch3 = Gpio<GPIOB_BASE, 15>; // Auxiliary using tim1ch3 = Gpio<GPIOB_BASE, 15>; // Expulsion
} // namespace timers } // namespace timers
} // namespace interfaces } // namespace interfaces
...@@ -179,14 +179,12 @@ namespace LPS28DFW_1 ...@@ -179,14 +179,12 @@ namespace LPS28DFW_1
{ {
using sda = interfaces::i2c1::sda; using sda = interfaces::i2c1::sda;
using scl = interfaces::i2c1::scl; using scl = interfaces::i2c1::scl;
using interrupt = Gpio<GPIOC_BASE, 1>;
} // namespace LPS28DFW_1 } // namespace LPS28DFW_1
namespace LPS28DFW_2 namespace LPS28DFW_2
{ {
using sda = interfaces::i2c1::sda; using sda = interfaces::i2c1::sda;
using scl = interfaces::i2c1::scl; using scl = interfaces::i2c1::scl;
using interrupt = Gpio<GPIOB_BASE, 0>;
} // namespace LPS28DFW_2 } // namespace LPS28DFW_2
} // namespace sensors } // namespace sensors
...@@ -200,13 +198,17 @@ using cs = Gpio<GPIOG_BASE, 11>; ...@@ -200,13 +198,17 @@ using cs = Gpio<GPIOG_BASE, 11>;
using dio0 = Gpio<GPIOA_BASE, 13>; using dio0 = Gpio<GPIOA_BASE, 13>;
using dio1 = Gpio<GPIOD_BASE, 4>; using dio1 = Gpio<GPIOD_BASE, 4>;
using dio3 = Gpio<GPIOC_BASE, 5>; using dio3 = Gpio<GPIOC_BASE, 5>;
using rx_enable = Gpio<GPIOB_BASE, 0>;
using tx_enable = Gpio<GPIOC_BASE, 1>;
} // namespace radio } // namespace radio
namespace actuators namespace actuators
{ {
using airbrakes = interfaces::timers::tim3ch1; using airbrakes = interfaces::timers::tim3ch1;
using expulsion = interfaces::timers::tim3ch2; using expulsion = interfaces::timers::tim1ch3;
using buzzer = interfaces::timers::tim1ch1; using buzzer = interfaces::timers::tim1ch1;
using parafoil_servo1 = interfaces::timers::tim3ch1;
using parafoil_servo2 = interfaces::timers::tim3ch2;
} // namespace actuators } // namespace actuators
namespace gpios namespace gpios
......